Quartus® Prime Pro Edition User Guide: Platform Designer

ID 683609
Date 7/07/2025
Public
Document Table of Contents

6.9.3. Operation— Avalon® -ST Packets to Bytes Converter IP

The Avalon® -ST Packets to Bytes Converter IP receives packetized data and transforms the packets to bytestreams. The IP constructs outgoing bytestreams by inserting appropriate special characters in the following manner and sequence:
  • If the startofpacket signal on the IP's source interface is asserted, the IP inserts the following special characters:
    • Channel number indicator (0x7c).
    • Channel number, escaping it if required.
    • Start of packet (0x7a).
  • If the endofpacket signal on the IP's source interface is asserted, the IP inserts an end of packet (0x7b) before the last byte of data.
  • If the channel signal on the IP's source interface changes to a new value within a packet, the IP inserts a channel number indicator (0x7c) followed by the new channel number.
  • If a data byte is a special character, the IP inserts an escape (0x7d) followed by the data XORed with 0x20.