OpenASIP
2.0
|
#include <SimulatorToolbox.hh>
Static Public Member Functions | |
static OperationPool & | operationPool () |
static SimulatorTextGenerator & | textGenerator () |
static boost::regex | fuPortRegex () |
Protected Member Functions | |
SimulatorToolbox () | |
Instantiation not allowed. More... | |
Private Member Functions | |
SimulatorToolbox (const SimulatorToolbox &) | |
Copying not allowed. More... | |
SimulatorToolbox & | operator= (const SimulatorToolbox &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static OperationPool * | pool_ |
Global instance of OperationPool. More... | |
static SimulatorTextGenerator | textGenerator_ |
Global instance of SimulatorTextGenerator. More... | |
Class that offers global services to Simulator classes.
Services provided by this utility class are provided as singleton instances. None of the returned data are simulation specific, thus the instances can be shared by multiple parallel simulations.
Definition at line 56 of file SimulatorToolbox.hh.
|
protected |
|
private |
Copying not allowed.
|
static |
Returns a regular expression to parse a FU port string.
Definition at line 85 of file SimulatorToolbox.cc.
Referenced by SimulatorFrontend::state().
|
static |
Returns the instance of OperationPool.
Definition at line 62 of file SimulatorToolbox.cc.
References pool_.
Referenced by MachineStateBuilder::addVirtualOpcodeSettingPortsToFU(), MachineStateBuilder::bindPortsToOperands(), and MachineStateBuilder::buildMachineState().
|
private |
Assignment not allowed.
|
static |
Returns the instance of SimulatorTextGenerator.
Definition at line 75 of file SimulatorToolbox.cc.
References textGenerator_.
Referenced by SimControlLanguageCommand::askConditionFromUser(), SimControlLanguageCommand::askExpressionFromUser(), MachineStateBuilder::bindPortsToOperands(), MachineStateBuilder::buildMachineState(), SimControlLanguageCommand::checkProgramLoaded(), SimControlLanguageCommand::checkSimulationEnded(), SimControlLanguageCommand::checkSimulationInitialized(), SimControlLanguageCommand::checkSimulationNotAlreadyRunning(), SimControlLanguageCommand::checkSimulationStopped(), CompiledSimSettingCommand::CompiledSimSettingCommand(), HelpCommand::execute(), ProgCommand::execute(), ConfCommand::execute(), KillCommand::execute(), MachCommand::execute(), DeleteBPCommand::execute(), MemDumpCommand::execute(), ConditionCommand::execute(), IgnoreCommand::execute(), MemWriteCommand::execute(), InfoCommand::execute(), SettingCommand::execute(), InfoRegistersCommand::execute(), InfoImmediatesCommand::execute(), InfoBussesCommand::execute(), InfoPortsCommand::execute(), InfoSegmentsCommand::execute(), InfoProcCommand::execute(), InfoStatsCommand::execute(), InfoProgramCommand::execute(), ProgCommand::helpText(), QuitCommand::helpText(), KillCommand::helpText(), HelpCommand::helpText(), MachCommand::helpText(), ConfCommand::helpText(), IgnoreCommand::helpText(), MemDumpCommand::helpText(), CommandsCommand::helpText(), DeleteBPCommand::helpText(), UntilCommand::helpText(), NextiCommand::helpText(), DisableBPCommand::helpText(), ResumeCommand::helpText(), ConditionCommand::helpText(), EnableBPCommand::helpText(), StepiCommand::helpText(), TBPCommand::helpText(), BPCommand::helpText(), WatchCommand::helpText(), RunCommand::helpText(), MemWriteCommand::helpText(), DisassembleCommand::helpText(), InfoCommand::helpText(), SettingCommand::helpText(), SimulatorFrontend::initializeDataMemories(), SimulatorFrontend::loadMachine(), SimulatorFrontend::loadProcessorConfiguration(), SimulatorFrontend::loadProgram(), main(), SimControlLanguageCommand::parseBreakpoint(), SimControlLanguageCommand::parseDataAddressExpression(), SimControlLanguageCommand::parseInstructionAddressExpression(), SimControlLanguageCommand::printBreakpointInfo(), SimulatorCmdLineOptions::printHelp(), SimControlLanguageCommand::printStopReasons(), SimProgramBuilder::processBidirTerminal(), SimProgramBuilder::processInstruction(), SimProgramBuilder::processMove(), SimProgramBuilder::processSourceTerminal(), SimControlLanguageCommand::setMemoryPointer(), SettingCommand::SettingCommand(), SimulatorFrontend::SimulatorFrontend(), and SimControlLanguageCommand::verifyBreakpointHandles().
|
staticprivate |
Global instance of OperationPool.
Definition at line 75 of file SimulatorToolbox.hh.
Referenced by operationPool().
|
staticprivate |
Global instance of SimulatorTextGenerator.
Definition at line 77 of file SimulatorToolbox.hh.
Referenced by textGenerator().