]> AND Private Git Repository - blast.git/blobdiff - BlockImplementation.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
moved generate vhdl methods
[blast.git] / BlockImplementation.h
index 4866e859559c5c8dabe55e705f2cad47d5ebdc6c..8bbc29752c21d440e5bf4c6bdd1b27a22c5cb6ff 100644 (file)
@@ -37,6 +37,10 @@ public:
   inline QHash<QString,QString> getProductionPattern() { return productionPattern; }\r
   inline QString getProductionCounter() { return productionCounter; }\r
   // setters\r
   inline QHash<QString,QString> getProductionPattern() { return productionPattern; }\r
   inline QString getProductionCounter() { return productionCounter; }\r
   // setters\r
+  inline void setDelta(QString _delta) { delta = _delta; }\r
+  inline void setConsumptionPattern(QHash<QString,QString> pattern) { consumptionPattern = pattern; }\r
+  inline void setProductionPattern(QHash<QString,QString> pattern) { productionPattern = pattern; }\r
+  inline void setProductionCounter(QString pattern) { productionCounter = pattern; }\r
   \r
   QString eval(QString line, QTextStream& out);\r
   QString evalComplex(QString line, int num);\r
   \r
   QString eval(QString line, QTextStream& out);\r
   QString evalComplex(QString line, int num);\r
@@ -66,10 +70,10 @@ private:
   QHash<QString,QString> productionPattern; // key = reference interface name, value = pattern expression\r
   QString productionCounter;\r
 \r
   QHash<QString,QString> productionPattern; // key = reference interface name, value = pattern expression\r
   QString productionCounter;\r
 \r
-  void generateComments(QDomElement &elt,QString coreFile, QTextStream& out) throw(Exception); // generates comments from <comments> element\r
-  void generateLibraries(QDomElement &elt, QTextStream& out) throw(Exception); // generates libraries from <libraries> element\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 generateEntity(QTextStream& out, bool hasController=false) throw(Exception); // generate the entity using reference\r
-  void generateArchitecture(QDomElement &elt, QTextStream& out) throw(Exception); // generate the architecture using <architecture> element\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
   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