fixes SC_HAS_PROCESS handling to backwards compatible

This commit is contained in:
2026-03-15 10:13:44 +01:00
parent e76c0d03b0
commit f9c531e378

View File

@@ -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)