X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/bc5d59217a24b25c1b913bec4a41dd026d02720c..refs/heads/master:/DelayInputModifier.cpp?ds=inline diff --git a/DelayInputModifier.cpp b/DelayInputModifier.cpp index db89107..242547c 100644 --- a/DelayInputModifier.cpp +++ b/DelayInputModifier.cpp @@ -34,11 +34,12 @@ QString DelayInputModifier::toVHDL(int context, int flags) throw(Exception) { dm2.setNum(delayLength-2); dm3.setNum(delayLength-3); QString ret=""; - QString clkName = "clk"; - QString resetName = "reset"; + int idClock = toIface->getClockDomain(); + QString clkName = "ext_clk_"+QString::number(idClock); + QString resetName = "ext_reset_"+QString::number(idClock); if (toIface->getOwner()->getParent()->isTopGroupBlock()) { - clkName = "from_clkrstgen_clk"; - resetName ="from_clkrstgen_reset"; + clkName = "from_clkrstgen_"+QString::number(idClock)+"_clk"; + resetName ="from_clkrstgen_"+QString::number(idClock)+"_reset"; } if (context == Architecture) {