23.06.2013 Views

Avalon Interface Specifications (PDF) - Altera

Avalon Interface Specifications (PDF) - Altera

Avalon Interface Specifications (PDF) - Altera

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5–8 Chapter 5: <strong>Avalon</strong> Streaming <strong>Interface</strong>s<br />

Data Transfer with Backpressure<br />

When readyLatency >= 1, the sink asserts ready before the ready cycle itself. The<br />

source can respond during the appropriate cycle by asserting valid. It may not assert<br />

valid during a cycle that is not a ready cycle. Figure 5–6 illustrates an <strong>Avalon</strong>-ST<br />

interface where readyLatency = 4.<br />

Figure 5–6. <strong>Avalon</strong>-ST <strong>Interface</strong> with readyLatency = 4<br />

clock<br />

ready<br />

valid<br />

data[31:0]<br />

readyLatency = 4 readyLatency = 4<br />

source may not assert valid<br />

source may assert valid<br />

1 2 3 4<br />

Figure 5–7 illustrates a transfer with backpressure and readyLatency=0. The source<br />

provides data and asserts valid on cycle 1, even though the sink is not ready. The<br />

source waits until cycle two, when the sink does assert ready, before moving onto the<br />

next data cycle. In cycle 3, the source drives data on the same cycle and the sink is<br />

ready to receive it; the transfer happens immediately. In cycle 4, the sink asserts ready,<br />

but the source does not drive valid data.<br />

Figure 5–7. Transfer with Backpressure, readyLatency=0<br />

clk<br />

ready<br />

valid<br />

channel<br />

error<br />

data<br />

0 1 2 3 4 5 6 7 8<br />

D0 D1 D2 D3<br />

<strong>Avalon</strong> <strong>Interface</strong> <strong>Specifications</strong> May 2013 <strong>Altera</strong> Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!