summaryrefslogtreecommitdiff
path: root/nandgame
diff options
context:
space:
mode:
authoruvok2026-01-11 10:32:31 +0100
committeruvok2026-01-11 10:32:31 +0100
commit7a1fb3493197adcac3d285488d85fb9b494af2ed (patch)
tree967905ca8a32273be486bdd30a76dc4d7cbac3e8 /nandgame
parenta23d4c2aca8df7057b13abd8eab4b0f0b84a2b70 (diff)
Dumpfile on VERILATOR
get rid of VERILATE
Diffstat (limited to 'nandgame')
-rw-r--r--nandgame/Makefile4
-rw-r--r--nandgame/computer.sv2
2 files changed, 3 insertions, 3 deletions
diff --git a/nandgame/Makefile b/nandgame/Makefile
index 8bdb828..c82de16 100644
--- a/nandgame/Makefile
+++ b/nandgame/Makefile
@@ -16,5 +16,5 @@ simpc/Vcomputer: computer.sv cpp/Vcomputer__main.cpp cpp/disas.cpp
--Mdir simpc \
--cc --exe \
-CFLAGS "-I${PWD}/cpp" -LDFLAGS "-lncurses" \
- -DVERILATE --trace \
- $^ \ No newline at end of file
+ --trace \
+ $^
diff --git a/nandgame/computer.sv b/nandgame/computer.sv
index 7f42c05..ebfd0da 100644
--- a/nandgame/computer.sv
+++ b/nandgame/computer.sv
@@ -81,7 +81,7 @@ counter PC (
.st_store_X_in(cpu_do_jump_int)
);
-`ifdef VERILATE
+`ifdef VERILATOR
initial begin
$dumpfile("simpc.vvp"); $dumpvars();
end