X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/756baf5c8eaf003e8271dab9c395de2b0e704857..e9f53048b4a0192d95382277e8f40e850998b256:/BlockImplementation.cpp diff --git a/BlockImplementation.cpp b/BlockImplementation.cpp index 46c9722..1553ebb 100644 --- a/BlockImplementation.cpp +++ b/BlockImplementation.cpp @@ -182,7 +182,7 @@ void BlockImplementation::generateVHDL(FunctionalBlock* _block, const QString &p } // This function generates the comments part of the VHDL document -void BlockImplementation::generateComments(QDomElement &elt, QString coreFile, QTextStream& out) throw(Exception) { +void BlockImplementation::generateComments(QTextStream& out, QDomElement &elt, QString coreFile) throw(Exception) { for(int i = 0; i < 50; i++) { out << "--"; @@ -222,7 +222,7 @@ void BlockImplementation::generateComments(QDomElement &elt, QString coreFile, Q } // This function generates the library part of the VHDL document -void BlockImplementation::generateLibraries(QDomElement &elt, QTextStream& out) throw(Exception) { +void BlockImplementation::generateLibraries(QTextStream& out, QDomElement &elt) throw(Exception) { QDomNodeList listLib = elt.elementsByTagName("library"); for(int i = 0; i < listLib.length(); i++) { @@ -370,7 +370,7 @@ void BlockImplementation::generateEntity(QTextStream& out, bool hasController) t } // This function generates the architecture part of the VHDL document -void BlockImplementation::generateArchitecture(QDomElement &elt, QTextStream& out) throw(Exception) { +void BlockImplementation::generateArchitecture(QTextStream& out, QDomElement &elt) throw(Exception) { QString expr; QString code = elt.text();