请教下,SRIO例子代码,LSU_state_index_table 列表是什么含义?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这个索引表的含义,请参考下面附件文档第30页。
The LSU transfer completion is checked through LSU_STAT_REG registers. The transaction ID
read from LSU_REG6 is used to determine the index of the completion code in
LSU_STAT_REG registers; the context bit read from LSU_REG6 is used to determine the
validation of the completion code. The context bit toggles for each transaction, for example, for
the first transfer with transaction ID = 2, the context bit = 1; then, for the next transfer with
transaction ID = 2, the context bit = 0. So, only after the context bit in LSU_STAT_REG register
for transaction ID = 2 toggles from 1 to 0, it indicates the second transfer complete, and the
completion code is valid. Below is the example code for LSU completion checking.
2045.SRIO_Programming_Performance.pdf