Commit 5e3dfef0 authored by Anirudh's avatar Anirudh
Browse files

Function for GSauto

parent d439b174
......@@ -26,6 +26,10 @@ Model::Model(const Model & from)
_modules = from._modules;
}
void Model::addGSauto(vector<Transition*> gsauto) {
_gSauto = gsauto;
}
void Model::addModuleDecl(ModuleDecl * md)
{
_modules.insert(Model::modulePairType(md->getName(), md));
......@@ -110,6 +114,10 @@ Model::moduleMapType Model::getModuleDecl()
return _modules;
}
vector<Transition*> Model::getGSauto() {
return _gSauto;
}
Model::moduleInstanceMapType Model::getModuleInstanceMap() {
return _moduleInstanceMap;
}
......
......@@ -40,11 +40,13 @@ namespace scpar {
void addNetlist(FindNetlist &);
void addSCMain(FunctionDecl*);
void updateModuleDecl();
void addGSauto(vector<Transition*>);
moduleMapType getModuleDecl();
eventMapType getEventMapType();
moduleInstanceMapType getModuleInstanceMap();
unsigned int getNumEvents();
vector<Transition*> getGSauto();
void dump(raw_ostream &);
......@@ -61,6 +63,7 @@ namespace scpar {
FindNetlist::portSignalMapType _portSignalMap;
FindNetlist::instancePortSignalMapType _instancePortSignalMap;
FindNetlist::instanceListModuleMapType _instanceListModuleMap;
};
vector<Transition*> _gSauto;
};
}
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment