The Completion Ring entry structure is shown in C2H Stream Engine.
When the user application sends the C2H data packet, it also sends the CMPT (completion) packet to the QDMA. The CMPT packet has two formats: Standard Format and User Format.
The following is the CMPT packet from the user application in the standard format, which is when the data format bit is 1’b0.
Name | Size | Index |
---|---|---|
User defined | 44 bits-236 bits | [255:20] |
rsvd | 8 | [19:12] |
Qid | 11 | [11:1] |
Data format | 1 | [0:0] |
The following is the CMPT packet from the user application in the user format, which is when the data format bit is 1’b1.
Name | Size | Index |
---|---|---|
User defined | 61 bits-253 bits | [255:3] |
rsvd | 2 | [2:1] |
Data format | 1 | [0:0] |
The CMPT packet has three types: 8B, 16B, or 32B. When it is 8B or 16B, it only needs one beat of the data. When it is 32B, it needs two beats of data. Each data beat is 128 bits.