inline void setReference(ReferenceBlock* _reference) { reference = _reference; }\r
\r
void loadPatterns(QDomElement &root) throw(Exception);\r
- bool checkPatterns();\r
- void generateVHDL(FunctionalBlock* _block, const QString& path) throw(Exception); // main entry to generate the VHDL code\r
+ bool checkPatterns(); \r
\r
\r
private: \r
QHash<QString,QString> productionPattern; // key = reference interface name, value = pattern expression\r
QString productionCounter;\r
\r
- void generateComments(QTextStream& out, QDomElement &elt, QString coreFile) throw(Exception); // generates comments from <comments> element\r
- void generateLibraries(QTextStream& out, QDomElement &elt) throw(Exception); // generates libraries from <libraries> element\r
- void generateEntity(QTextStream& out, bool hasController=false) throw(Exception); // generate the entity using reference\r
- void generateArchitecture(QTextStream& out, QDomElement &elt ) throw(Exception); // generate the architecture using <architecture> element\r
- void generateController(QTextStream& out) throw(Exception); // generate the wishbone controller of the block\r
-\r
QString getIfaceUserName(AbstractInterface* refIface); // get the name of an interface given by the user, from the reference interface\r
\r
friend QDataStream &operator<<(QDataStream &out, const BlockImplementation &impl);\r