From d2d7ee61bb31fc33e6dced66f68b680bb6e7b4d8 Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Wed, 15 Nov 2023 19:14:58 -0800 Subject: [PATCH] Define SIMULATION for VCS in VX_platform.vh --- hw/rtl/VX_platform.vh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/rtl/VX_platform.vh b/hw/rtl/VX_platform.vh index 508f9062..3bbf1c2c 100644 --- a/hw/rtl/VX_platform.vh +++ b/hw/rtl/VX_platform.vh @@ -115,6 +115,8 @@ // NOTE(hansung): define these macros to be the same as VERILATOR under VCS; // they will mostly be ignored `ifdef VCS +// VCS doesn't define SIMULATION by default +`define SIMULATION `define TRACING_ON /* verilator tracing_on */ `define TRACING_OFF /* verilator tracing_off */ `ifndef NDEBUG