module ponyo
class Simulator
ISA Simulator
method __init__
__init__(mem, decode, execr, imem: list, dmem: list = [])
Initializes simulator
Args:
mem
(ISA.mem): mem class for the chosen ISAdecode
(ISA.decode): decode function for the chosen ISAexecr
(ISA.execr): execute function for the chosen ISAimem
(list): Instruction memory as a list, split on newlinesdmem
(list, optional): Initial data memory. Defaults to [].
method run
run()
Step through the code until it reaches the end
method step
step()
Execute a single instruction
This file was automatically generated via lazydocs.