Class ProgramImage
- java.lang.Object
-
- ru.ispras.microtesk.tools.simulator.ProgramImage
-
public class ProgramImage extends java.lang.Object
TheProgramImage
class contains all information about the program to be simulated.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BIT_VECTOR_SIZE_64
static int
DEFAULT_ACTIVE_PE
static int
DEFAULT_PE_NUMBER
-
Constructor Summary
Constructors Constructor Description ProgramImage(Model model, IrProgram simulatorProgram, IrMemory simulatorMemory, SimulatorParameters simulatorParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActivePE()
ProcessingElement
getCurrentPe()
int
getExecutionLimit()
java.lang.String
getFinalInstruction()
java.lang.String
getFrameIndexRegister()
InstructionCall
getInstructionCall(IsaPrimitive isaPrimitive)
java.util.List<IsaPrimitive>
getInstructions()
int
getMainEndAddress()
int
getMainStartAddress()
java.lang.String
getPathForFiles()
long
getPcValue()
java.lang.String
getProgramName()
RecordFormatType
getTracerType()
-
-
-
Field Detail
-
DEFAULT_PE_NUMBER
public static final int DEFAULT_PE_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_ACTIVE_PE
public static final int DEFAULT_ACTIVE_PE
- See Also:
- Constant Field Values
-
BIT_VECTOR_SIZE_64
public static final int BIT_VECTOR_SIZE_64
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProgramImage
public ProgramImage(Model model, IrProgram simulatorProgram, IrMemory simulatorMemory, SimulatorParameters simulatorParameters)
-
-
Method Detail
-
getPcValue
public long getPcValue()
-
getInstructions
public java.util.List<IsaPrimitive> getInstructions()
-
getPathForFiles
public java.lang.String getPathForFiles()
-
getProgramName
public java.lang.String getProgramName()
-
getExecutionLimit
public int getExecutionLimit()
-
getFinalInstruction
public java.lang.String getFinalInstruction()
-
getMainStartAddress
public int getMainStartAddress()
-
getMainEndAddress
public int getMainEndAddress()
-
getFrameIndexRegister
public java.lang.String getFrameIndexRegister()
-
getCurrentPe
public ProcessingElement getCurrentPe()
-
getActivePE
public int getActivePE()
-
getInstructionCall
public InstructionCall getInstructionCall(IsaPrimitive isaPrimitive)
-
getTracerType
public RecordFormatType getTracerType()
-
-