Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
DVM instruction memory. More...
Classes | |
class | InstructionMemory |
The Instruction memory stores all of the instructions in the program. More... | |
Functions | |
def | memory |
Get a reference to the instruction memory. More... | |
def | reset |
Delete all the contents of the instruction memory. More... | |
def | get |
Get an instruction from the main memory. More... | |
def | add |
Add an instruction to the main memory. More... | |
def | needsMatcher |
See if an instruction needs to pass the matcher Instructions that require a context manager are stored in a separate part of the memory, so checking the key suffices. More... | |
Variables | |
tuple | __MEMORY__ = InstructionMemory(2) |
Main instance of the instruction memory. More... | |
DVM instruction memory.
This module defines the instruction memory the instruction memory stores all the instructions in the program.
def core.memory.memory | ( | ) |
Get a reference to the instruction memory.
def core.memory.reset | ( | ) |
Delete all the contents of the instruction memory.
def core.memory.get | ( | key | ) |
Get an instruction from the main memory.
def core.memory.add | ( | inst | ) |
Add an instruction to the main memory.
def core.memory.needsMatcher | ( | key | ) |
See if an instruction needs to pass the matcher Instructions that require a context manager are stored in a separate part of the memory, so checking the key suffices.
key | The key of the instruction |
tuple core.memory.__MEMORY__ = InstructionMemory(2) |
Main instance of the instruction memory.