Dataflow Software Stack  032db78
Master Thesis of Mathijs Saey at the VUB
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
core.memory.InstructionMemory Class Reference

The Instruction memory stores all of the instructions in the program. More...

Inherits object.

Public Member Functions

def __init__
 Initialize the memory. More...
 
def add
 Add an instruction to the memory. More...
 
def get
 Get an instruction from memory. More...
 

Public Attributes

 memory
 

Detailed Description

The Instruction memory stores all of the instructions in the program.

An instruction memory is divided into chunks. each of these chunks stores instructions with certain properties. The exact properties are determined by the outside world.

Constructor & Destructor Documentation

def core.memory.InstructionMemory.__init__ (   self,
  chunks 
)

Initialize the memory.

Parameters
chunksThe amount of chunks this memory contains.

Member Function Documentation

def core.memory.InstructionMemory.add (   self,
  inst 
)

Add an instruction to the memory.

def core.memory.InstructionMemory.get (   self,
  key 
)

Get an instruction from memory.

Member Data Documentation

core.memory.InstructionMemory.memory