}\r
\r
// This function generates the comments part of the VHDL document\r
-void BlockImplementation::generateComments(QDomElement &elt, QString coreFile, QTextStream& out) throw(Exception) {\r
+void BlockImplementation::generateComments(QTextStream& out, QDomElement &elt, QString coreFile) throw(Exception) {\r
\r
for(int i = 0; i < 50; i++) {\r
out << "--";\r
}\r
\r
// This function generates the library part of the VHDL document\r
-void BlockImplementation::generateLibraries(QDomElement &elt, QTextStream& out) throw(Exception) {\r
+void BlockImplementation::generateLibraries(QTextStream& out, QDomElement &elt) throw(Exception) {\r
\r
QDomNodeList listLib = elt.elementsByTagName("library");\r
for(int i = 0; i < listLib.length(); i++) {\r
}\r
\r
// This function generates the architecture part of the VHDL document\r
-void BlockImplementation::generateArchitecture(QDomElement &elt, QTextStream& out) throw(Exception) {\r
+void BlockImplementation::generateArchitecture(QTextStream& out, QDomElement &elt) throw(Exception) {\r
\r
QString expr;\r
QString code = elt.text();\r