X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/60c13e8b4c7ea3d595969c1e7c0a28b068a17ca6..HEAD:/Parameters.h?ds=inline diff --git a/Parameters.h b/Parameters.h index bf679fc..8d2fc8c 100644 --- a/Parameters.h +++ b/Parameters.h @@ -138,15 +138,14 @@ public : QString projectPath; QString projectName; QString projectFile; // equals to projectPath/projectName.xml - bool autoConnMainClk; // true if auto-connection to main clock (i.e. ext_clk) - QList clocks; // clocks[0] is the main clock. + bool autoConnMainClk; // true if auto-connection to main clock (i.e. ext_clk) + double mainClock; // main clock freq (reported in graph->clocks(0)) - Graph* createGraph(bool createTopGroupIfaces = true); + Graph* initGraph(bool createTopGroupIfaces = true); void destroyGraph(); inline Graph* getGraph() { return graph; } ReferenceBlock* getReferenceBlock(int idCategory, int idBlock); // get the reference block from its category and index - ReferenceBlock* getHiddenReferenceBlock(QString blockName); // get a hidden block by name, i.e. in category 100 - double getFeedingClockFrequency(AbstractInterface* iface); // determine at which freq. is synchronized iface + ReferenceBlock* getHiddenReferenceBlock(QString blockName); // get a hidden block by name, i.e. in category 100 void clear();