Document ID
APT-DS-SLVS-RX-0001
Revision
2.1
IP version
3.4.1
Release date
November 2026
Chapter 2: Functional Description

2.9FIFO sizing

The core has one FIFO between the link and the video output, sized with Output FIFO depth (words) in the IP GUI: 128 to 16,384 words, default 2,048. One word is one output beat of 2 x LANE_NUM pixels. The embedded data output, when built, has a second FIFO of its own.

2.9.1NATIVE: the longest line

Native video replays each line in one burst once it has arrived, so the buffer must hold a whole line. 32 words are reserved for flow control.

beats per line = Line Length / (2 x LANE_NUM) (after VID_WIDTH) requirement : beats per line <= depth - 32 longest line = (depth - 32) x 2 x LANE_NUM pixels
Table 2-9.NATIVE output: longest line in pixels for each Output FIFO depth (words) and lane count, (depth - 32) x 2 x LANE_NUM.
Depth1 lane2 lanes4 lanes6 lanes8 lanes
1281923847681,1521,536
2564488961,7922,6883,584
5129601,9203,8405,7607,680
1,0241,9843,9687,93611,90415,872
2,048 (default)4,0328,06416,12824,19232,256
4,0968,12816,25632,51248,76865,024
8,19216,32032,64065,28097,920130,560
16,38432,70465,408130,816196,224261,632

A full-width IMX530 line (5328 pixels) needs 1,332 beats on 2 lanes, so 2,048 words; on 8 lanes it needs 333 beats and 512 words are enough. 1920-pixel lines on 2 lanes fit exactly in 512 words; 1,024 leaves room for other modes.

2.9.2AXI4S: how long the sink may stall

The AXI4-Stream FIFO never has to hold a line. It sets how long m_axis_tready may stay low before a frame is cut. The lane count drops out: more lanes deliver more pixels per clock, but each word holds more pixels too.

stall budget = (depth - 8) x Pixel Bit / (8 x f_lane_clock)
Table 2-10.AXI4S output: longest m_axis_tready stall in microseconds before a frame is cut, at a 237.6 MHz lane clock (4.752 Gb/s lanes). Independent of the lane count. Scale by 237.6 MHz / your lane clock.
DepthRAW8RAW10RAW12RAW14RAW16
1280.510.630.760.881.0
2561.01.31.61.82.1
5122.12.73.23.74.2
1,0244.35.36.47.58.6
2,048 (default)8.610.712.915.017.2
4,09617.221.525.830.134.4
8,19234.443.151.760.368.9
16,38468.986.2103121138

A VDMA or a pipeline that is always ready needs little buffering: 512 to 2,048 words is comfortable. A sink that stalls for a known time, such as a frame buffer writer behind a busy memory controller, gets that time plus margin. A deeper FIFO costs block RAM only; it is first-word fall-through and adds no latency while tready is high. The stream clock only has to carry the average beat rate of the video; within a line the FIFO smooths the difference.

2.9.3Embedded data FIFO

Sized with EBD FIFO depth (words): 32 to 16,384 words, default 1,024. It holds the embedded data lines of one frame while the sink is busy. A sink that reads them only in the frame blanking needs

EBD FIFO depth >= E x ceil(Line Length / (2 x LANE_NUM)) E = embedded data lines per frame

Two embedded data lines of 3,840 pixels on 4 lanes are 960 words, so 1,024. A sink that keeps up while the lines arrive needs only the minimum of 32.