mirror of
https://github.com/Minres/RISCV-VP.git
synced 2026-03-17 14:13:23 +00:00
fixes SC_HAS_PROCESS handling to backwards compatible
This commit is contained in:
@@ -32,6 +32,10 @@ enum {
|
|||||||
MDIO1_IRQ = 27
|
MDIO1_IRQ = 27
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if SC_VERSION_MAJOR < 3
|
||||||
|
SC_HAS_PROCESS(system); // NOLINT
|
||||||
|
#endif
|
||||||
|
|
||||||
system::system(sc_core::sc_module_name nm)
|
system::system(sc_core::sc_module_name nm)
|
||||||
: sc_core::sc_module(nm)
|
: sc_core::sc_module(nm)
|
||||||
, NAMED(main_bus, 7, 2)
|
, NAMED(main_bus, 7, 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user