updates SCC and quantum keeper testcase

This commit is contained in:
2025-11-08 19:16:10 +01:00
parent 8b5c062847
commit e20fbf0d28
3 changed files with 2 additions and 3 deletions

2
scc

Submodule scc updated: 7aa84b9561...f3961745af

View File

@@ -39,6 +39,7 @@ int sc_main(int argc, char* argv[]) {
top_module top_mod("top_module_inst");
// Start the simulation
sc_core::sc_start(20_us);
SCCINFO() << "Simulation finished";
} else {
SCCERR() << "Some error occured";
}

View File

@@ -45,9 +45,7 @@ private:
SCCDEBUG(SCMOD) << "initiating b_transport at local time " << quantum_keeper.get_local_absolute_time();
quantum_keeper.execute_on_sysc([this, &gp, &t]() {
SCCDEBUG(SCMOD) << "executing b_transport";
auto t0 = sc_core::sc_time_stamp();
this->isckt->b_transport(gp, t);
return t0 - sc_core::sc_time_stamp();
});
if(t.value()) {
SCCDEBUG(SCMOD) << "incrementing local time by b_transport delay of " << t;