summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/systemc/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/systemc/main.cc b/util/systemc/main.cc
index 19482d069..c9fbd48a0 100644
--- a/util/systemc/main.cc
+++ b/util/systemc/main.cc
@@ -292,7 +292,7 @@ void SimControl::run()
std::cerr << "Waiting for " << wait_period << "ps for"
" SystemC to catch up to gem5\n";
- wait(sc_core::sc_time(wait_period, sc_core::SC_PS));
+ wait(sc_core::sc_time::from_value(wait_period));
}
config_manager->loadState(*checkpoint);