AXI4 Channel signals

AW 和AR channel的 signal field 基本是相同的。

Signal

Description

AxID[x:0]

Each transaction channel has its own transaction ID

每个transaction的唯一标识,AW /AR / B / R channel 都有 ID signal

对于一个read request,产生read data的模块,其产生的R ID 需要跟 收到的AR ID一致。Write request类似。

AxADDR[x:0]

A burst must not cross a 4KB address boundary.

AxLEN[7:0]

The AXI protocol is burst-based. 也就是说 一个transaction的长度可以远大于 数据位宽,传输 全部的数据 需要多拍完成。比如 transaction length = 128byte,数据位宽为32byte,则 需要传4拍,则AxLEN = 3. (因为一个transaction至少需要1拍,AXI协议中 AxLEN = 0代表 实际 Burst Length = 1)

AXI3 支持的 AxLEN 有4bit ,也就是transaction的 Burst length 取值范围为[1- 16]。AXI4 支持 8bit,transaction的 Burst length 取值范围为[1- 256]

For wrapping bursts, the burst length must be 2, 4, 8, or 16.

A burst must not cross a 4KB address boundary.

AxSIZE[2:0]

The maximum number of bytes to transfer in each data transfer, or beat, in a burst

一般情况下,都等于 接口的数据位宽,1拍可以传输的 数据的 最大量

位宽 = 2 ^ AxSIZE byte。因为 AxSIZE有3bit,故 最大支持的 位宽为 2^7 = 128byte

AxBURST[1:0]

Burst type, indicates how address changes between each transfer

可配置为FIXED、INCR、WRAP,详细的 解释如下

AxLOCK[0:0]

AXI3 AxLOCK有两bit,AXI4 只保留了1bit。AXI4 删除了 对lock request的支持。

AXI3 :00 normal request, 01 exclusive request ; 10  locked request

AXI4 : 0  normal request   1 exclusive request。

The AxLOCK signals select exclusive access, and the RRESP and BRESP signals indicate the success or failure of the exclusive access read or write respectively.

AxCACHE[3:0]

Memory type (write through / write back / allocate / cacheable / bufferable) encoding, 对于每一个transaction,其在cache、memory中的行为都可以通过AxCACHE来进行区别处理。

AxPROT[2:0]

Protection attributes of transaction: privilege, security level, and access type (instruction or data).

AxQoS

AXI4 add。Quality of Service identifier for a transaction

AxREGION

AXI4 add。

AxUSER

AXI4 add。User-defined extension,可以添加一些自定义的field

 

 

W channel signal

Signal

Description

WID[x:0]

Each transaction channel has its own transaction ID

WDATA[x:0]

Write data

WSTRB[x:0]

Write strobes, indicate which byte lanes hold valid data

WLAST[0:0]

Indicates whether this is the last data transfer in a write transaction

WUSER[x:0]

AXI4 add。User-defined extension for the write data channel.

B channel signal

Signal

Description

BID[x:0]

Each transaction channel has its own transaction ID

BRESP[1:0]

Write response, indicates the status of a write transaction.

Manager和Subordinate 等同于 分别为 master 和slave模块

OKAY: Normal access success. Indicates that a normal access has been successful. Can also indicate that an exclusive access has failed.

EXOKAY : Exclusive access okay. Indicates that either the read or write portion of an exclusive access has been successful.

SLVERR: Subordinate error. Used when the access has reached the Subordinate successfully, but the Subordinate wishes to return an error condition to the originating Manager.

DECERR :  Decode error. Generated, typically by an interconnect component, to indicate that there is no Subordinate at the transaction address

BUSER

AXI4 add。User-defined extension.

R channel signal

Signal

Description

RID[x:0]

Each transaction channel has its own transaction ID

RDATA[x:0]

Read data

RRESP[1:0]

read response, indicates the status of a write transaction.

类似 BRESP

RLAST[0:0]

类似WLAST。Indicates whether this is the last data transfer in a read transaction

BUSER

AXI4 add。User-defined extension.

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

123axj

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值