Xilinx UG181 manual 30Addressable Status Fifo Interface 4-Channel Configuration

Models: UG181

1 136
Download 136 pages 34.17 Kb
Page 89
Image 89

Source Core

R

The Source Status Channel (SrcStatCh[7:0]) indicates which channel status was last updated on the SPI-4.2 Interface and is qualified by the Source Status Channel Valid signal (SrcStatChValid=1). SrcStatChValid enables SrcStatCh[7:0] to be encoded, and the valid signal is disabled when the core processes a received DIP-2 or framing word. Note that the SrcStatusCh[7:0] and SrcStatChValid use the SPI-4.2 Interface clock domain (TSClk_GP).

In this illustration, status is read for the 4-channel system. The calendar length is set to six and programmed to round-robin this sequence: Ch0, Ch1, Ch2, Ch3, Ch0, Ch1. Table 4-9

shows the status written into the SrcStat for each channel on every write clock cycle.

Table 4-9:Status Written into SrcStat per Channel per Clock Cycle

Read Cycle

Starving Status

Satisfied Status

 

 

 

0

CH 0-3

none

 

 

 

1

CH 0-3

none

 

 

 

2

CH 0-3

none

 

 

 

3

CH 0-3

none

 

 

 

4

CH 0-3

none

 

 

 

5

CH 0-3

none

 

 

 

6

CH 0-3

none

 

 

 

7

CH 1-3

CH 0

 

 

 

8

CH 2-3

CH 0-1

 

 

 

9

CH 3

CH 0-2

 

 

 

TSClk_GP

 

 

SrcStatValid

 

 

 

 

 

 

 

 

 

 

 

SrcStatCh[7:0]

DEC

 

0

1

2

3

0

1

0

1

2

 

 

 

 

 

Read 0

Read 1

Read 2

Read 3 Read 4 Read 5

Read 6

Read 7

Read 8 Read 9

SrcStatClk

 

 

 

 

 

 

 

 

 

 

 

SrcEn

 

 

 

 

 

 

 

 

 

 

SrcStatAddr[3:0

 

BIN

 

 

 

 

0000

 

 

 

 

 

]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SrcStat[31:0]

 

 

HEX

 

 

 

0x00000000

 

 

 

 

 

 

 

 

 

 

 

 

 

0x00000002

0x0000002A

Independent

 

 

 

 

 

 

 

 

 

0x0000000A

Clock

 

 

 

 

 

 

 

 

 

 

 

Domains

 

 

 

 

 

 

 

 

 

 

 

Figure 4-30:Addressable Status FIFO Interface: 4-Channel Configuration

Addressable Status FIFO Interface: Example 2

This example illustrates reading the Status FIFO Interface for a 256-channel Source core, shown in Figure 4-31. To read the status for 256 channels, address the following sixteen banks—depending on the channel status is being read.

Bank 0: SrcStatAddr[3:0]= 0000, for channels 15 to 0

SPI-4.2 Lite v4.3 User Guide

www.xilinx.com

89

UG181 June 27, 2008

Page 89
Image 89
Xilinx UG181 manual 30Addressable Status Fifo Interface 4-Channel Configuration