From 7a1fb3493197adcac3d285488d85fb9b494af2ed Mon Sep 17 00:00:00 2001 From: uvok Date: Sun, 11 Jan 2026 10:32:31 +0100 Subject: Dumpfile on VERILATOR get rid of VERILATE --- nandgame/Makefile | 4 ++-- nandgame/computer.sv | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nandgame') 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 -- cgit v1.2.3