Go to the documentation of this file.
71 new IdealSRAM(MEMORY_START, MEMORY_END, MAUSIZE,
false);
74 memory_, programCounter_, returnAddress_, 0);
98 for (
size_t i = 0; i < paths.size(); i++) {
151 for (
int i = 0; i < index.
moduleCount(path); i++) {
153 return index.
module(i, path);
174 const std::string& path,
175 const std::string& mod,
176 const std::string& oper) {
185 for (
int i = 0; i < root->
childCount(); i++) {
246 const std::string& name) {
250 for (
int i = 0; i < index.
pathCount(); i++) {
251 string path = index.
path(i);
252 for (
int j = 0; j < index.
moduleCount(path); j++) {
256 if (opName == name) {
static IdealSRAM * memory_
Memory used througout the execution of the program.
void addPath(const std::string &path)
static const std::string DELETE_FUNCTION
Operation behavior deletion function name.
UInt32 InstructionAddress
std::string stringAttribute(const std::string &name) const
static OperationContext & operationContext()
static const Word MEMORY_END
End point of the memory.
static OperationSerializer & operationSerializer()
virtual ~OperationContainer()
static OperationModule & module(const std::string &path, const std::string &mod)
static const std::string CREATE_FUNCTION
Creation function name for operation behavior.
static bool operationExists(const std::string &name)
#define assert(condition)
static OperationIndex * index_
Contains information of operations.
static OperationContext context_
Operation context used through the execution of the program.
virtual std::string propertiesModule() const
virtual void setBehavior(OperationBehavior &behavior)
static PluginTools tools_
PluginTools used by OperationContainer;.
virtual ObjectState * readState()
virtual void loadState(const ObjectState *state)
ObjectState * child(int index) const
static InstructionAddress programCounter_
Program counter.
void setSourceFile(const std::string &filename)
static std::vector< std::string > osalPaths()
static OperationSerializer * serializer_
Static instance of operation serializer.
static NullOperationBehavior & instance()
std::string path(int i) const
static const Word MEMORY_START
Starting point of the memory.
static Operation * operation(const std::string &path, const std::string &module, const std::string &oper)
virtual std::string name() const
static const Word MAUSIZE
MAU size of the memory.
static NullOperationModule & instance()
int operationCount(const OperationModule &om)
static OperationIndex & operationIndex()
static bool isEffective(OperationModule &module, const std::string &name)
OperationModule & module(int i)
std::string operationName(int i, const OperationModule &om)
static SimValue returnAddress_
Return address.
static Word memoryStart()