adds quantum_keeper_mt test
Some checks failed
SCC Test/pipeline/head There was a failure building this commit

This commit is contained in:
2025-11-25 06:53:11 +01:00
parent bd032c08ce
commit 3082b3c98b
5 changed files with 29 additions and 10 deletions

View File

@@ -7,6 +7,7 @@
#include <scc/report.h>
#include <scc/trace.h>
#include <scc/tracer.h>
#include <sysc/kernel/sc_simcontext.h>
#include <sysc/utils/sc_report.h>
#include <sysc/utils/sc_report_handler.h>
#include <tlm_utils/tlm_quantumkeeper.h>
@@ -38,6 +39,8 @@ int sc_main(int argc, char* argv[]) {
top_module top_mod("top_module_inst");
// Start the simulation
sc_core::sc_start(20_us);
if(sc_core::sc_is_running())
sc_core::sc_stop();
SCCINFO() << "Simulation finished";
} else {
SCCERR() << "Some error occured";