| Electronic Components Datasheet Search |
|
ORSPI4 Datasheet(PDF) 83 Page - Lattice Semiconductor |
|
|
|||||||||||||||||||||||||||||
ORSPI4 Datasheet(HTML) 83 Page - Lattice Semiconductor |
|
83 / 263 page ![]() Lattice Semiconductor ORCA ORSPI4 Data Sheet 83 Port Status Sequencer (PSS) Logic In addition to formatting received data and sending it to the FPGA logic, the receive block also sends status infor- mation to the SPI4 status interface. The Port Status Sequencer (PSS) block is responsible for providing port status to the SPI4 Receive Status Protocol block (RSP) according to a pre-configured calendar sequence. Status is derived from the fill-levels of the DPRAM FIFOs and/or from the FPGA status interface. When status is provided by FPGA logic, the FPGA application writes status information to a 256 word PSS memory in a random fashion. The PSS memory is addressed by an 8-bit port ID (SPIA_RX[32, 64 or 128]_PORT_ID[7:0]). The data written to the memory is the SPIA_RX[32, 64 or 128]_STAT and an external status enable (SPIA_RX[32, 64 or 128]_EXT_STAT_EN) for the selected port. A write is initiated by the FPGA by asserting SPIA_RX[32, 64 or 128]_PSS_WE high and providing a clock on SPIA_RX[32, 64 or 128]_PSS_CLK. The PSS block contains a main and shadow calendar table. Only one of these calendars is in use at a given time. Once a calendar is provisioned with a certain sequence, it is not desirable to change the sequence in that calendar during active device operation. To enable hitless switching of calendars, a shadow calendar is provided. The RX_CAL_SEL control bit (Address 30916 for SPIA and 30A16 for SPIB) in the memory map controls the choice. The choice to select a shadow calendar enables hitless bandwidth reprovisioning on the SPI4 link. While one cal- endar is being used (e.g. main), the other calendar (shadow) can be configured independently with the desired sequence. For more details, refer to the section on calendar programming. The Port Status Sequencer (PSS) block polls for port status. It uses the calendar address to decide which port should be polled for status. The status received from the polled port is then formatted into one of the SPI4 specified status encodings (STARVING, HUNGRY, SATISFIED). For every port, the status is polled either from the internal DPRAM FIFO flags or the user-provided status bits depending on the external status enable bit. When the external status enable bit for a given port is set to ‘1’, it indicates that the status encoding for that port on the SPI4 bus is decided by the external user. When set to ‘0’, the SPI4 status encoding is dictated by the status flags from the inter- nal DPRAM banks. The status bits sent to RSP from the PSS block is determined according to the truth table shown in Table 22. The first four columns are the bits of information looked up for the current port ID, and the last column is the status that is sent for that selected port to the RSP. Table 22. Port Status Encoding k = RX32 or RX64 or RX128 SPI4 Status Logic Blocks (RSP, RSO) The SPI4 Receive Status Protocol (RSP) is responsible for FIFO status encoding, calendar management, status pattern encoding (sync bits “11”), DIP-2 calculation and optional calendar selection word encoding (as proposed in Appendix G of SPI4-02.0 specification). The RSP block performs the following functions: • Status frame creation Virtual FIFO Virtual FIFO SPI[A,B]_k_EX T_STAT_EN SPI[A,B]_k_ST AT[1:0] SPI4 Status Encoding 1 x x x SATISFIED 0 x 1 “00” STARVING 0 x 1 “01” HUNGRY 0 x 1 “10” SATISFIED 0 0 0 x STARVING 0 1 0 x HUNGRY 0 x 1 “11” Disabled link fill 34 ⁄ ≥ fill 12 ⁄ ≥ |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |