Skip to content

Commit

Permalink
axi_intf.sv: import axi_pkg in AXI_LITE interface
Browse files Browse the repository at this point in the history
  • Loading branch information
niwis authored and zarubaf committed Sep 8, 2020
1 parent 1055ccd commit 5618dd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/axi_intf.sv
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ interface AXI_LITE #(
parameter AXI_DATA_WIDTH = -1
);

import axi_pkg::*;

localparam AXI_STRB_WIDTH = AXI_DATA_WIDTH / 8;

typedef logic [AXI_ADDR_WIDTH-1:0] addr_t;
Expand Down

0 comments on commit 5618dd8

Please sign in to comment.