Skip to content
Snippets Groups Projects
Commit 098a8ba9 authored by Martin Högstedt's avatar Martin Högstedt
Browse files

more comment fixes

parent 3cbeb5a0
No related branches found
No related tags found
1 merge request!13We know have asm instructions, can step forward and backward between clock cycle and asm instructions
Pipeline #131575 passed
...@@ -88,12 +88,12 @@ class Processor: ...@@ -88,12 +88,12 @@ class Processor:
# new assembly instruction # new assembly instruction
if self.is_new_instruction(): if self.is_new_instruction():
self.new_instruction = True self.new_instruction = True
self.current_instruction = self.get_current_instrution() self.current_instruction = self.get_current_instruction()
self.assembly_cycles.append(self.get_clock()) self.assembly_cycles.append(self.get_clock())
else: else:
self.new_instruction = False self.new_instruction = False
def get_current_instrution(self) -> str: def get_current_instruction(self) -> str:
""" """
Return the current instruction. Useful for pipeline diagram. Return the current instruction. Useful for pipeline diagram.
""" """
......
...@@ -287,7 +287,7 @@ class MIA_CPU(Processor): ...@@ -287,7 +287,7 @@ class MIA_CPU(Processor):
def is_new_instruction(self) -> bool: def is_new_instruction(self) -> bool:
return self.get_module("uPC").value == 0 return self.get_module("uPC").value == 0
def get_current_instrution(self) -> str: def get_current_instruction(self) -> str:
""" """
Return a string containing the label for the current instruction. Return a string containing the label for the current instruction.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment