Altera_Forum
Honored Contributor
15 years agoVideo IP Cusom ST Block SOP, EOP
Hello,
I'm wondering if someone could help out in managing the packet signals for a custom Video-ST block. For example, if I want to add a custom user type packet before the control packet, I would hook up the stream to a FIFO in my block, enable the FIFO when the startofpacket and data is type 15. Then insert my packet at the output stream, but... then I've got to go back and re-generate the control packet, startofpacket and endofpacket signals for the video data. I'm not sure how to handle this... I did find the packets to bytes converter core, but I have some question how this core works with Video-ST vs standard Avalon-ST protocol. Further, it seems the encoded stream tries to protect the data by xor'ing the data with 0x20, but I can see this encoding scheme failing by, for example, the data being 0x5A -- resulting in an encoded data of 0x7A, the code for start of packet. Anyhow, this doesn't seem like it should be all that complicated as all of the video ip cores provided by Altera basically have to be doing the same thing. Any help would be appreciated. Thanks