From ef211fc9e0b0fd6a01d4c27c3162fa3d2366ac5c Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 11 Apr 2020 10:33:40 -0400 Subject: [PATCH] Make sure SystemC always included in -sc mode to prevent ordering issues. --- include/verilated.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/verilated.h b/include/verilated.h index 8fff5a4d0..7636eb71f 100644 --- a/include/verilated.h +++ b/include/verilated.h @@ -24,6 +24,9 @@ #define _VERILATED_H_ 1 ///< Header Guard #include "verilatedos.h" +#if VM_SC +# include "verilated_sc.h" // Get SYSTEMC_VERSION and time declarations +#endif #include #include