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 <noreply+kokoro@google.com>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
diff --git a/src/python/gem5/simulate/simulator.py b/src/python/gem5/simulate/simulator.py
index 0d2917d..b32e54a 100644
--- a/src/python/gem5/simulate/simulator.py
+++ b/src/python/gem5/simulate/simulator.py
@@ -47,7 +47,6 @@
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 @@
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 @@
: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.