1. AXI4中trans相关的特殊信号
Signal | source | Description |
AxLOCK | Master | Lock type. This changes between AXI3 and AXI4. |
AxCACHE | Master | Memory type.This changes between AXI3 and AXI4. |
AxPROT | Master | Protection type. |
AxQOS | Master | Quality of Service, QoS.Implemented only in AXI4 |
AxREGION | Master | Region identifier. Permits a single physical interface on a slave to be used for multiple logical interfaces. Implemented only in AXI4. |
AxUSER/XUSER | Master/Slave | User signal. Optional User-defined signal in the write data channel. |
Supported only in AXI4 | ||
xresp | Slave | This signal indicates the status of the write/read transaction |
AxDOMAIN | Master | This signal indicates the shareability domain of a read/write transaction. 该信号属于ACE接口,容易被误解,所以这里提出来做对比 |
上表给出了AXI4的一些特殊信号,有些是之前AXI协议没有的。有些是和之前协议定义不一致的。下面会分节介绍。
1.1 AxLOCK
1.1.1 原子操作(atomic access)
AxLOCK信号是和原子访问有关的信号。原子访问是在没有另一个请求者干扰的情况下执行的读-修改-写序列,或者说允许请求者修改内存的特定区域的数据,同时确保其他请求者的写入不会破坏数据。
AxLOCK在AXI3和AXI4中有不同的定义。AXI3中是2bit,AXI4是1bit。AXI3支持Locked和Exclusive操作,而AXI4只支持Exclusive操作。
对比上表可以发现AXI4只有Normal access和Exclusive ac