Skip to content

Commit fa6f6a0

Browse files
joeldushouyudpretet
authored andcommitted
specific wire size on parameteR
1 parent 804806c commit fa6f6a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtl/rptr_empty.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module rptr_empty
88

99
#(
1010
parameter ADDRSIZE = 4,
11-
parameter AREMPTYSIZE = 1
11+
parameter [ADDRSIZE:0]AREMPTYSIZE = 1
1212
)(
1313
input wire rclk,
1414
input wire rrst_n,

rtl/wptr_full.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module wptr_full
88

99
#(
1010
parameter ADDRSIZE = 4,
11-
parameter AWFULLSIZE = 1
11+
parameter [ADDRSIZE:0]AWFULLSIZE = 1
1212
)(
1313
input wire wclk,
1414
input wire wrst_n,

0 commit comments

Comments
 (0)