interconnect/axi: Add AXSIZE dict definition.

This commit is contained in:
Florent Kermarrec 2022-04-11 19:20:22 +02:00
parent 1989d85b91
commit 7187ac22e4
1 changed files with 10 additions and 0 deletions

View File

@ -28,6 +28,16 @@ RESP_EXOKAY = 0b01
RESP_SLVERR = 0b10 RESP_SLVERR = 0b10
RESP_DECERR = 0b11 RESP_DECERR = 0b11
AXSIZE = {
1 : 0b000,
2 : 0b001,
4 : 0b010,
8 : 0b011,
16 : 0b100,
32 : 0b110,
64 : 0b111,
}
def ax_description(address_width, id_width): def ax_description(address_width, id_width):
return [ return [
("addr", address_width), ("addr", address_width),