updates dbt-rise-core

This commit is contained in:
eyck committed 2025-10-07 19:13:36 +02:00
1 parent 5dfe2285e5
commit 6d968ce9d6
4 files changed
+25 -2

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ int sc_main(int argc, char* argv[]) {
sc_core::sc_start(scc::parse_from_string(parser.get<std::string>("max_time")));
} else
sc_core::sc_start();
if(!sc_core::sc_end_of_simulation_invoked())
if(sc_core::sc_start_of_simulation_invoked() && !sc_core::sc_end_of_simulation_invoked())
sc_core::sc_stop();
} catch(sc_core::sc_report& rep) {
sc_core::sc_report_handler::get_handler()(rep, sc_core::SC_DISPLAY | sc_core::SC_STOP);