change to Verilog2001

This commit is contained in:
WangXuan95 2023-06-09 16:12:15 +08:00
parent 2c6c3843a8
commit d3d1de4fb3

View File

@ -536,7 +536,7 @@ generate if(READ_BUFFER) begin
valid <= 1'b1;
end
reg [DWIDTH-1:0] mem [(1<<AWIDTH)];
reg [DWIDTH-1:0] mem [((1<<AWIDTH)-1) : 0];
always @ (posedge clk)
if(i_v_e)