adds quantum_keeper_mt test
Some checks failed
SCC Test/pipeline/head There was a failure building this commit
Some checks failed
SCC Test/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user