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

2.7Embedded data output

Sony sensors can send lines of metadata with each frame: register settings, frame counters, exposure and similar information. The video outputs carry image lines only. With Embedded data output on in the IP GUI (EBD_OUT = 1), the embedded data lines leave the core on an AXI4-Stream of their own, M_AXIS_EBD, with its own clock and its own FIFO. It is available with either video output, and the image stream does not change at all when it is built. Off, the default, builds none of it.

frame N frame N+1 aclk m_axis_ebd_tvalid m_axis_ebd_tdata E0 E1 E2 E0 E1 E2 E0 E1 E2 m_axis_ebd_tuser m_axis_ebd_tlast m_axis_tvalid m_axis_tdata B0 B1 B2 B3 B0 B1 B2 B3 B0 B1 B2 B3 m_axis_tuser m_axis_tlast EBD line 0 EBD line 1 image line 0 image line 1 frame N+1
Figure 2-6.The embedded data stream next to an AXI4S image stream: two embedded data lines and the first image lines of a frame, then the next frame. Drawn on one clock with both sinks ready; in a design the two streams can run on separate clocks.
Table 2-7.Embedded data output at a glance.
LinesEvery packet with the embedded data line bit set, inside the frame or on the Frame End packet, from the first Frame Start after reset
Beat formatThe image beat format: 2 x LANE_NUM 16-bit containers, MSB-justified at Pixel Bit
Line lengthEach line is cut at Line Length: ceil(Line Length / (2 x LANE_NUM)) beats. The crop registers do not apply
Framingm_axis_ebd_tuser on the first embedded data beat after each Frame Start, m_axis_ebd_tlast on the last beat of each line. Frames without embedded data send nothing
Pairing with the imageCount tuser on both streams: the n-th tuser on M_AXIS_EBD belongs to the frame that opened with the n-th tuser on the image stream, for a sensor that sends embedded data in every frame
BackpressureAbsorbed by the EBD FIFO. On overflow the line in progress ends with tlast, the rest of that frame’s embedded data is dropped, and the stream restarts at the next Frame Start. The image stream never stalls for it
Control and statusVID_CTRL.EBD_OFF turns it off at run time; EBD_FRAME_INFO counts frames and lines; EBD_OVF_CNT reports overflows

A design that does not use the metadata builds without the output. A design that builds it but does not always read it ties m_axis_ebd_tready high or sets VID_CTRL.EBD_OFF. The content of the embedded data lines is defined by the sensor’s datasheet.