updates SCC and quantum keeper testcase
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user