+ QString clkName = "clk";\r
+ QString resetName = "reset";\r
+ if (toIface->getOwner()->getParent()->isTopGroupBlock()) {\r
+ clkName = "from_clkrstgen_clk";\r
+ resetName ="from_clkrstgen_reset";\r
+ }\r
+\r
ret += " "+toName+"_dly <= (others => (others => '0'));\n";\r
ret += " "+toCtlName+"_dly <= (others => '0');\n";\r
ret += " "+toName+"_mod <= (others => '0');\n";\r
ret += " "+toCtlName+"_mod <= '0';\n";\r
ret += " "+toName+"_dly <= (others => (others => '0'));\n";\r
ret += " "+toCtlName+"_dly <= (others => '0');\n";\r
ret += " "+toName+"_mod <= (others => '0');\n";\r
ret += " "+toCtlName+"_mod <= '0';\n";\r
ret += " "+toName+"_mod <= "+toName+"_dly("+dm1+");\n";\r
ret += " "+toCtlName+"_mod <= "+toCtlName+"_dly("+dm1+");\n";\r
ret += " "+toName+"_dly(0) <= "+fromIface->toVHDL(AbstractInterface::Instance,0)+";\n";\r
ret += " "+toCtlName+"_dly(0) <= "+fromCtlIface->toVHDL(AbstractInterface::Instance,0)+";\n";\r
ret += " "+toName+"_dly(1 to "+dm1+") <= "+toName+"_dly(0 to "+dm2+");\n";\r
ret += " "+toCtlName+"_dly(1 to "+dm1+") <= "+toCtlName+"_dly(0 to "+dm2+");\n";\r
ret += " "+toName+"_mod <= "+toName+"_dly("+dm1+");\n";\r
ret += " "+toCtlName+"_mod <= "+toCtlName+"_dly("+dm1+");\n";\r
ret += " "+toName+"_dly(0) <= "+fromIface->toVHDL(AbstractInterface::Instance,0)+";\n";\r
ret += " "+toCtlName+"_dly(0) <= "+fromCtlIface->toVHDL(AbstractInterface::Instance,0)+";\n";\r
ret += " "+toName+"_dly(1 to "+dm1+") <= "+toName+"_dly(0 to "+dm2+");\n";\r
ret += " "+toCtlName+"_dly(1 to "+dm1+") <= "+toCtlName+"_dly(0 to "+dm2+");\n";\r
}\r
else if (context == Signal) {\r
QString sig = toIface->toVHDL(AbstractInterface::Signal,0);\r
}\r
else if (context == Signal) {\r
QString sig = toIface->toVHDL(AbstractInterface::Signal,0);\r