mirror of
https://github.com/Minres/RISCV-VP.git
synced 2026-10-16 04:51:40 +01:00
fixes SC_HAS_PROCESS handling to backwards compatible
This commit is contained in:
1 parent
e76c0d03b0
commit
f9c531e378
1 file changed
+4
@@ -32,6 +32,10 @@ enum {
|
||||
MDIO1_IRQ = 27
|
||||
};
|
||||
|
||||
#if SC_VERSION_MAJOR < 3
|
||||
SC_HAS_PROCESS(system); // NOLINT
|
||||
#endif
|
||||
|
||||
system::system(sc_core::sc_module_name nm)
|
||||
: sc_core::sc_module(nm)
|
||||
, NAMED(main_bus, 7, 2)
|
||||
|
||||
Reference in new issue
Block a user