dm2.setNum(delayLength-2);\r
dm3.setNum(delayLength-3);\r
QString ret="";\r
- QString clkName = "clk";\r
- QString resetName = "reset";\r
+ int idClock = toIface->getClockDomain();\r
+ QString clkName = "ext_clk_"+QString::number(idClock);\r
+ QString resetName = "ext_reset_"+QString::number(idClock);\r
if (toIface->getOwner()->getParent()->isTopGroupBlock()) {\r
- clkName = "from_clkrstgen_clk";\r
- resetName ="from_clkrstgen_reset";\r
+ clkName = "from_clkrstgen_"+QString::number(idClock)+"_clk";\r
+ resetName ="from_clkrstgen_"+QString::number(idClock)+"_reset";\r
}\r
\r
if (context == Architecture) {\r