From 353c20e8bf73323d82e32cc78afe49d3e15ad53d Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Tue, 30 Aug 2022 15:52:47 -0700 Subject: [PATCH] stdlib: Fix typos and remove unneeded import in Simulator Change-Id: I6faa63959d09444b8e931e14846fb1af98866ade Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62931 Tested-by: kokoro Maintainer: Bobby Bruce Reviewed-by: Bobby Bruce --- src/python/gem5/simulate/simulator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/python/gem5/simulate/simulator.py b/src/python/gem5/simulate/simulator.py index 0d2917d755..b32e54aaad 100644 --- a/src/python/gem5/simulate/simulator.py +++ b/src/python/gem5/simulate/simulator.py @@ -47,7 +47,6 @@ from .exit_event_generators import ( from .exit_event import ExitEvent from ..components.boards.abstract_board import AbstractBoard from ..components.processors.switchable_processor import SwitchableProcessor -from ..components.processors.cpu_types import CPUTypes class Simulator: @@ -284,7 +283,7 @@ class Simulator: if not self._instantiated: raise Exception( - "Cannot obtain simulation statistics prior to inialization." + "Cannot obtain simulation statistics prior to initialization." ) return m5.stats.gem5stats.get_simstat(self._root) @@ -440,7 +439,7 @@ class Simulator: :param max_ticks: The maximum number of ticks to execute per simulation run. If this max_ticks value is met, a MAX_TICK exit event is received, if another simulation exit event is met the tick count is - reset. This is the **maximum number of ticks per simululation run**. + reset. This is the **maximum number of ticks per simulation run**. """ # Check to ensure no banned module has been imported.