summaryrefslogtreecommitdiff
path: root/nandgame
diff options
context:
space:
mode:
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