projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55dece5
)
Define simulation time as a parameter
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 14:22:09 +0000
(16:22 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 14:22:09 +0000
(16:22 +0200)
gram/simulation/simsoctb.v
patch
|
blob
|
history
diff --git
a/gram/simulation/simsoctb.v
b/gram/simulation/simsoctb.v
index 0dbe61be01ca40149b61645ed379f3638033038f..4eef976c996c08a077989fdd8377e6d4ef7ec1a4 100644
(file)
--- a/
gram/simulation/simsoctb.v
+++ b/
gram/simulation/simsoctb.v
@@
-3,6
+3,8
@@
`timescale 1 ns / 1 ps
module simsoctb;
+ parameter simticks = 700000;
+
// GSR & PUR init requires for Lattice models
GSR GSR_INST (
.GSR(1'b1)
@@
-103,10
+105,6
@@
module simsoctb;
$dumpvars(0, uart_tx);
$dumpvars(0, simsoctop);
- // Wait for power-on reset
- //#700000; // 700us
- #70000;
-
- $finish;
+ #simticks $finish;
end
endmodule