Skip to content

Commit

Permalink
Merge pull request #293 from pulp-platform/issue/axi_pkg_typedef
Browse files Browse the repository at this point in the history
axi_pkg: keep hardcoded value in typedef for vivado ip packager
  • Loading branch information
thommythomaso committed May 8, 2023
2 parents 86241ca + 7b0db8e commit 413f7c1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/axi_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,25 @@ package axi_pkg;
parameter int unsigned NsaidWidth = 32'd4;

/// AXI Transaction Burst Width.
typedef logic [BurstWidth-1:0] burst_t;
typedef logic [1:0] burst_t;
/// AXI Transaction Response Type.
typedef logic [RespWidth-1:0] resp_t;
typedef logic [1:0] resp_t;
/// AXI Transaction Cacheability Type.
typedef logic [CacheWidth-1:0] cache_t;
typedef logic [3:0] cache_t;
/// AXI Transaction Protection Type.
typedef logic [ProtWidth-1:0] prot_t;
typedef logic [2:0] prot_t;
/// AXI Transaction Quality of Service Type.
typedef logic [QosWidth-1:0] qos_t;
typedef logic [3:0] qos_t;
/// AXI Transaction Region Type.
typedef logic [RegionWidth-1:0] region_t;
typedef logic [3:0] region_t;
/// AXI Transaction Length Type.
typedef logic [LenWidth-1:0] len_t;
typedef logic [7:0] len_t;
/// AXI Transaction Size Type.
typedef logic [SizeWidth-1:0] size_t;
typedef logic [2:0] size_t;
/// AXI5 Atomic Operation Type.
typedef logic [AtopWidth-1:0] atop_t; // atomic operations
typedef logic [5:0] atop_t; // atomic operations
/// AXI5 Non-Secure Address Identifier.
typedef logic [NsaidWidth-1:0] nsaid_t;
typedef logic [3:0] nsaid_t;

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

0 comments on commit 413f7c1

Please sign in to comment.