OpenASIP
2.0
|
#include <CompiledSimulationPimpl.hh>
Public Member Functions | |
~CompiledSimulationPimpl () | |
Private Types | |
typedef std::map< std::string, SimValue * > | Symbols |
Type for symbol map: string = symbolname, SimValue* = value location. More... | |
Private Member Functions | |
CompiledSimulationPimpl () | |
CompiledSimulationPimpl (const CompiledSimulationPimpl &) | |
Copying not allowed. More... | |
CompiledSimulationPimpl & | operator= (const CompiledSimulationPimpl &) |
Assignment not allowed. More... | |
Private Attributes | |
MemorySystem * | memorySystem_ |
The memory system. More... | |
SimulatorFrontend * | frontend_ |
The simulator frontend. More... | |
CompiledSimController * | controller_ |
Simulation controller. More... | |
Symbols | symbols_ |
A Symbol map for easily getting the SimValues out of the simulation. More... | |
JumpTable | jumpTable_ |
The jump table. More... | |
std::set< InstructionAddress > | exitPoints_ |
Program exit points in a set. More... | |
CompiledSimCompiler | compiler_ |
The Compiled Simulation compiler. More... | |
PluginTools | pluginTools_ |
Plugintools used to load the compiled .so files. More... | |
Friends | |
class | CompiledSimulation |
Definition at line 53 of file CompiledSimulationPimpl.hh.
|
private |
Type for symbol map: string = symbolname, SimValue* = value location.
Definition at line 72 of file CompiledSimulationPimpl.hh.
CompiledSimulationPimpl::~CompiledSimulationPimpl | ( | ) |
|
private |
Default constructor
The simulation plugins must be loaded globally and lazily. Lazily because the plugins might not be loaded in a correct order (symbols referred from a plugin that are going to be imported from a latter plugin).
Definition at line 44 of file CompiledSimulationPimpl.cc.
|
private |
Copying not allowed.
|
private |
Assignment not allowed.
|
friend |
Definition at line 55 of file CompiledSimulationPimpl.hh.
|
private |
The Compiled Simulation compiler.
Definition at line 82 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::compileAndLoadFunction().
|
private |
Simulation controller.
Definition at line 69 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::basicBlockStart(), CompiledSimulation::compileAndLoadFunction(), CompiledSimulation::CompiledSimulation(), CompiledSimulation::FUPortValue(), CompiledSimulation::immediateUnitRegisterValue(), CompiledSimulation::moveExecutionCount(), and CompiledSimulation::registerFileValue().
|
private |
Program exit points in a set.
Definition at line 79 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::CompiledSimulation(), and CompiledSimulation::moveExecutionCount().
|
private |
The simulator frontend.
Definition at line 67 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::CompiledSimulation(), CompiledSimulation::cycleEnd(), and CompiledSimulation::frontend().
|
private |
The jump table.
Definition at line 76 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::getSimulateFunction(), CompiledSimulation::resizeJumpTable(), and CompiledSimulation::setJumpTargetFunction().
|
private |
The memory system.
Definition at line 65 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::CompiledSimulation(), and CompiledSimulation::memorySystem().
|
private |
Plugintools used to load the compiled .so files.
Definition at line 84 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::compileAndLoadFunction().
|
private |
A Symbol map for easily getting the SimValues out of the simulation.
Definition at line 74 of file CompiledSimulationPimpl.hh.
Referenced by CompiledSimulation::addSymbol(), CompiledSimulation::FUPortValue(), CompiledSimulation::getSymbolValue(), CompiledSimulation::immediateUnitRegisterValue(), and CompiledSimulation::registerFileValue().