aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/csmith/testbench.v
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/csmith/testbench.v')
-rw-r--r--scripts/csmith/testbench.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/csmith/testbench.v b/scripts/csmith/testbench.v
index 748308a..43444cd 100644
--- a/scripts/csmith/testbench.v
+++ b/scripts/csmith/testbench.v
@@ -40,7 +40,7 @@ module testbench;
.mem_rdata (mem_rdata )
);
- reg [7:0] memory [0:4*1024*1024];
+ reg [7:0] memory [0:4*1024*1024-1];
initial $readmemh("test.hex", memory);
assign mem_ready = 1;