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.
| Lines | Every 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 format | The image beat format: 2 x LANE_NUM 16-bit containers, MSB-justified at Pixel Bit |
| Line length | Each line is cut at Line Length: ceil(Line Length / (2 x LANE_NUM)) beats. The crop registers do not apply |
| Framing | m_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 image | Count 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 |
| Backpressure | Absorbed 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 status | VID_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.