QString projectPath;\r
QString projectName;\r
QString projectFile; // equals to projectPath/projectName.xml\r
- bool autoConnMainClk; // true if auto-connection to main clock (i.e. ext_clk)\r
- QList<double> clocks; // clocks[0] is the main clock.\r
+ bool autoConnMainClk; // true if auto-connection to main clock (i.e. ext_clk) \r
+ double mainClock; // main clock freq (reported in graph->clocks(0))\r
\r
- Graph* createGraph(bool createTopGroupIfaces = true);\r
+ Graph* initGraph(bool createTopGroupIfaces = true);\r
void destroyGraph();\r
inline Graph* getGraph() { return graph; } \r
ReferenceBlock* getReferenceBlock(int idCategory, int idBlock); // get the reference block from its category and index\r
- ReferenceBlock* getHiddenReferenceBlock(QString blockName); // get a hidden block by name, i.e. in category 100 \r
- double getFeedingClockFrequency(AbstractInterface* iface); // determine at which freq. is synchronized iface\r
+ ReferenceBlock* getHiddenReferenceBlock(QString blockName); // get a hidden block by name, i.e. in category 100 \r
\r
void clear();\r
\r