X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/14cd6d834ab531525a51c6a6992583b3e9143e02..3fb762e7042d9b4a1cf78556ad9ed7f117cc53ba:/Parameters.h diff --git a/Parameters.h b/Parameters.h index 9b4ee1b..e14b3fe 100644 --- a/Parameters.h +++ b/Parameters.h @@ -138,14 +138,15 @@ 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) + double mainClock; // main clock freq (reported in graph->clocks(0)) - Graph* createGraph(); + 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 - FunctionalBlock* duplicateFunctionalBlock(FunctionalBlock* block); // adding a copy of a functional block to current group - + 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 void clear();