From: Clifford Wolf Date: Fri, 18 Oct 2013 11:24:44 +0000 (+0200) Subject: Bugfix in dffsr techmap rules X-Git-Tag: yosys-0.2.0~459 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0836a1f2ba3990fff81b353adfe93cfd35ae7246;p=yosys.git Bugfix in dffsr techmap rules --- diff --git a/techlibs/common/stdcells.v b/techlibs/common/stdcells.v index 0a7d10fb2..4bd1d39a9 100644 --- a/techlibs/common/stdcells.v +++ b/techlibs/common/stdcells.v @@ -1585,7 +1585,7 @@ generate if (CLK_POLARITY == 0 && SET_POLARITY == 0 && CLR_POLARITY == 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_NNN_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1595,7 +1595,7 @@ generate if (CLK_POLARITY == 0 && SET_POLARITY == 0 && CLR_POLARITY != 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_NNP_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1605,7 +1605,7 @@ generate if (CLK_POLARITY == 0 && SET_POLARITY != 0 && CLR_POLARITY == 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_NPN_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1615,7 +1615,7 @@ generate if (CLK_POLARITY == 0 && SET_POLARITY != 0 && CLR_POLARITY != 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_NPP_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1625,7 +1625,7 @@ generate if (CLK_POLARITY != 0 && SET_POLARITY == 0 && CLR_POLARITY == 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_PNN_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1635,7 +1635,7 @@ generate if (CLK_POLARITY != 0 && SET_POLARITY == 0 && CLR_POLARITY != 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_PNP_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1645,7 +1645,7 @@ generate if (CLK_POLARITY != 0 && SET_POLARITY != 0 && CLR_POLARITY == 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_PPN_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]), @@ -1655,7 +1655,7 @@ generate if (CLK_POLARITY != 0 && SET_POLARITY != 0 && CLR_POLARITY != 0) for (i = 0; i < WIDTH; i = i + 1) begin:V \$_DFFSR_PPP_ ff ( - .C(CLK[i]), + .C(CLK), .S(SET[i]), .R(CLR[i]), .D(D[i]),