summaryrefslogtreecommitdiff
path: root/util/systemc/sc_gem5_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/systemc/sc_gem5_control.cc')
-rw-r--r--util/systemc/sc_gem5_control.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/systemc/sc_gem5_control.cc b/util/systemc/sc_gem5_control.cc
index ec46a7dc9..5dd3b1ed5 100644
--- a/util/systemc/sc_gem5_control.cc
+++ b/util/systemc/sc_gem5_control.cc
@@ -228,8 +228,11 @@ Gem5TopLevelModule::Gem5TopLevelModule(sc_core::sc_module_name name,
* sole top level gem5 EventQueue */
Gem5SystemC::Module::setupEventQueues(*this);
- if (sc_core::sc_get_time_resolution() != sc_core::sc_time(1, sc_core::SC_PS))
+ if (sc_core::sc_get_time_resolution() !=
+ sc_core::sc_time(1, sc_core::SC_PS))
+ {
fatal("Time resolution must be set to 1 ps for gem5 to work");
+ }
/* Enable keyboard interrupt, async I/O etc. */
initSignals();