Add CVC simulator run scripts

This commit is contained in:
Nikolay Puzanov
2023-07-11 19:46:33 +03:00
parent a71258f7f6
commit 8b8f63105c
9 changed files with 82 additions and 0 deletions

13
test-cvc/testbench.patch Normal file
View File

@@ -0,0 +1,13 @@
diff --git a/source/testbench.sv b/source/testbench.sv
index 1872eed..6f27f84 100644
--- a/source/testbench.sv
+++ b/source/testbench.sv
@@ -32,7 +32,7 @@ module testbench #(parameter CPU_COUNT = 1024)
initial begin
reset = 1'b1;
- repeat($urandom % 5 + 2) @(posedge clock);
+ repeat($unsigned($random) % 5 + 2) @(posedge clock);
reset = 1'b0;
@(posedge clock);