Skip to content

Commit 413f7c1

Browse files
Merge pull request #293 from pulp-platform/issue/axi_pkg_typedef
axi_pkg: keep hardcoded value in typedef for vivado ip packager
2 parents 86241ca + 7b0db8e commit 413f7c1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/axi_pkg.sv

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,25 @@ package axi_pkg;
4343
parameter int unsigned NsaidWidth = 32'd4;
4444

4545
/// AXI Transaction Burst Width.
46-
typedef logic [BurstWidth-1:0] burst_t;
46+
typedef logic [1:0] burst_t;
4747
/// AXI Transaction Response Type.
48-
typedef logic [RespWidth-1:0] resp_t;
48+
typedef logic [1:0] resp_t;
4949
/// AXI Transaction Cacheability Type.
50-
typedef logic [CacheWidth-1:0] cache_t;
50+
typedef logic [3:0] cache_t;
5151
/// AXI Transaction Protection Type.
52-
typedef logic [ProtWidth-1:0] prot_t;
52+
typedef logic [2:0] prot_t;
5353
/// AXI Transaction Quality of Service Type.
54-
typedef logic [QosWidth-1:0] qos_t;
54+
typedef logic [3:0] qos_t;
5555
/// AXI Transaction Region Type.
56-
typedef logic [RegionWidth-1:0] region_t;
56+
typedef logic [3:0] region_t;
5757
/// AXI Transaction Length Type.
58-
typedef logic [LenWidth-1:0] len_t;
58+
typedef logic [7:0] len_t;
5959
/// AXI Transaction Size Type.
60-
typedef logic [SizeWidth-1:0] size_t;
60+
typedef logic [2:0] size_t;
6161
/// AXI5 Atomic Operation Type.
62-
typedef logic [AtopWidth-1:0] atop_t; // atomic operations
62+
typedef logic [5:0] atop_t; // atomic operations
6363
/// AXI5 Non-Secure Address Identifier.
64-
typedef logic [NsaidWidth-1:0] nsaid_t;
64+
typedef logic [3:0] nsaid_t;
6565

6666
/// In a fixed burst:
6767
/// - The address is the same for every transfer in the burst.

0 commit comments

Comments
 (0)