Make sure SystemC always included in -sc mode to prevent ordering issues.

This commit is contained in:
Wilson Snyder 2020-04-11 10:33:40 -04:00
parent 1a6c2fc55d
commit ef211fc9e0

View File

@ -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 <cassert>
#include <cmath>