Skip to content

Commit fd1277e

Browse files
committed
axi_to_detailed_mem: VCS crashes with parameters equal to zero
1 parent abcec9d commit fd1277e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/axi_to_detailed_mem.sv

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ module axi_to_detailed_mem #(
2424
/// Address width, has to be less or equal than the width off the AXI address field.
2525
/// Determines the width of `mem_addr_o`. Has to be wide enough to emit the memory region
2626
/// which should be accessible.
27-
parameter int unsigned AddrWidth = 0,
27+
parameter int unsigned AddrWidth = 1,
2828
/// AXI4+ATOP data width.
29-
parameter int unsigned DataWidth = 0,
29+
parameter int unsigned DataWidth = 1,
3030
/// AXI4+ATOP ID width.
31-
parameter int unsigned IdWidth = 0,
31+
parameter int unsigned IdWidth = 1,
3232
/// AXI4+ATOP user width.
33-
parameter int unsigned UserWidth = 0,
33+
parameter int unsigned UserWidth = 1,
3434
/// Number of banks at output, must evenly divide `DataWidth`.
35-
parameter int unsigned NumBanks = 0,
35+
parameter int unsigned NumBanks = 1,
3636
/// Depth of memory response buffer. This should be equal to the memory response latency.
3737
parameter int unsigned BufDepth = 1,
3838
/// Hide write requests if the strb == '0

0 commit comments

Comments
 (0)