diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arm/fastmodel/arm_fast_model.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm/fastmodel/arm_fast_model.py b/src/arch/arm/fastmodel/arm_fast_model.py index d666b7feb..2c19fe5bc 100644 --- a/src/arch/arm/fastmodel/arm_fast_model.py +++ b/src/arch/arm/fastmodel/arm_fast_model.py @@ -128,3 +128,9 @@ def scx_get_min_sync_latency(arg=None): return _m5.arm_fast_model.scx_get_min_sync_latency(arg) else: return _m5.arm_fast_model.scx_get_min_sync_latency() + +# This should be called once per simulation +def setup_simulation(sim_name, min_sync_latency=100.0 / 100000000): + set_armlmd_license_file() + scx_initialize(sim_name) + scx_set_min_sync_latency(min_sync_latency) |