SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
This module provides a trace output of all operations so that the traffic can be viewed at a later time. The trace uses a simple write-only 32-bit VBUSP bus, with a defined packet header. The msgtype field defines the type of operation, and the message data is simply the data involved in the operation. It is likely the trace output will be read slower than new operations could provide data, so there will be a trace buffer able to hold two complete messages plus trace headers. If a new operation starts while the trace buffer does not have enough space, then that trace message will not be sent. And RINGACC_TRACE_CTL register controls whether to enable the trace output, whether to trace a single queue or all queues, and whether to include the message data in the trace output.
Table 10-410 shows the trace message for a push.
Word | Bits | Data | Comment |
---|---|---|---|
1 | 31:16 | 0x0 | Time to be replaced by trace hardware |
1 | 15:9 | 0x1 | Msgtype for push |
1 | 8:0 | 0x009 | Standard Trace Header |
2 | 31 | push_to_head | Push to head flag, 0 = to tail, 1 = to head |
2 | 30:16 | 0x0 | Unused |
2 | 15:0 | queue | Queue for push |
3-N | 31:0 | message data | Optional message data for push, length dependent on message size |
Table 10-411 shows the trace message for a pop.
Word | Bits | Data | Comment |
---|---|---|---|
1 | 31:16 | 0x0 | Time to be replaced by trace hardware |
1 | 15:9 | 0x2 | Msgtype for pop |
1 | 8:0 | 0x009 | Standard Trace Header |
2 | 31 | empty | empty pop, 0 = valid message, 1 = empty |
2 | 30:16 | 0x0 | unused |
2 | 15:0 | queue | queue for pop |
3-N | 31:0 | message data | Optional message Data for pop, length dependent on message size |
Table 10-412 shows the trace message for a peek.
Word | Bits | Data | Comment |
---|---|---|---|
1 | 31:16 | 0x0 | Time to be replaced by trace hardware |
1 | 15:9 | 0x3 | Msgtype for peek |
1 | 8:0 | 0x009 | Standard Trace Header |
2 | 31 | empty | empty peek, 0 = valid message, 1 = empty |
2 | 30:16 | 0x0 | unused |
2 | 15:0 | queue | queue for peek |
3-N | 31:0 | message data | Optional message Data for peek, length dependent on message size |