OpenASIP
2.0
|
Public Member Functions | |
InfoSegmentsCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~InfoSegmentsCommand () |
virtual bool | execute (const std::vector< DataObject > &arguments) |
Public Member Functions inherited from SimControlLanguageSubCommand | |
SimControlLanguageSubCommand (SimControlLanguageCommand &parentCommand) | |
virtual | ~SimControlLanguageSubCommand () |
virtual SimControlLanguageCommand & | parent () |
Implementation of "info segments".
Definition at line 595 of file InfoCommand.cc.
|
inline |
Constructor.
Definition at line 600 of file InfoCommand.cc.
|
inlinevirtual |
|
inlinevirtual |
Executes the "info segments" command.
Prints the values of segments in the given bus.
arguments | No arguments should be given. |
Implements SimControlLanguageSubCommand.
Definition at line 618 of file InfoCommand.cc.
References assert, TTAMachine::Machine::busNavigator(), MachineState::busState(), TTAMachine::Machine::Navigator< ComponentType >::hasItem(), CustomCommand::interpreter(), SimValue::intValue(), TTAMachine::Machine::Navigator< ComponentType >::item(), SimulatorFrontend::machine(), SimulatorFrontend::machineState(), SimControlLanguageSubCommand::parent(), ScriptInterpreter::setError(), ScriptInterpreter::setResult(), SimControlLanguageCommand::simulatorFrontend(), SimulatorToolbox::textGenerator(), Texts::TXT_BUS_NOT_FOUND, and RegisterState::value().