functionalBlock->addInterface(ctlIface);
}
}
+ // connect clk and rst to group clk/rst or to clkrstgen
+ if ((name != "clkrstgen") && (parentGroupBlock != NULL)) {
+ try {
+ functionalBlock->connectClkReset();
+ }
+ catch(Exception e) {
+ AbstractBlock* source = (AbstractBlock *)(e.getSource());
+ cerr << qPrintable(source->getName()) << ":" << qPrintable(e.getMessage()) << endl;
+ throw(e);
+ }
+ }
// creating InterfaceItem
initInterfaceItems();