aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5/arith_map.v
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-13 16:14:08 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-13 16:14:08 +0200
commit4a60bc83ab47b76632b38fcaec4cefffa152f507 (patch)
tree9fd81ba251e8acf29007a166ef701bdc9cae0d88 /techlibs/ecp5/arith_map.v
parentb0fea67cc66ceac64e2cb71874c36cde21aa34df (diff)
downloadyosys-4a60bc83ab47b76632b38fcaec4cefffa152f507.tar.gz
yosys-4a60bc83ab47b76632b38fcaec4cefffa152f507.tar.bz2
yosys-4a60bc83ab47b76632b38fcaec4cefffa152f507.zip
ecp5: Cells and mappings fixes
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'techlibs/ecp5/arith_map.v')
-rw-r--r--techlibs/ecp5/arith_map.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/techlibs/ecp5/arith_map.v b/techlibs/ecp5/arith_map.v
index cf21ee80e..05d44b9b4 100644
--- a/techlibs/ecp5/arith_map.v
+++ b/techlibs/ecp5/arith_map.v
@@ -58,12 +58,12 @@ module _80_ecp5_alu (A, B, CI, BI, X, Y, CO);
CCU2C #(
.INIT0(16'b0110011010101010),
.INIT1(16'b0110011010101010),
- .INJECT1_0(1'b0),
- .INJECT1_1(1'b0)
+ .INJECT1_0("NO"),
+ .INJECT1_1("NO")
) ccu2c_i (
.CIN(C[i]),
.A0(AA[i]), .B0(BB[i]), .C0(1'b0), .D0(1'b1),
- .A1(AA[i+1]), .B1(BB[i]), .C1(1'b0), .D1(1'b1),
+ .A1(AA[i+1]), .B1(BB[i+1]), .C1(1'b0), .D1(1'b1),
.S0(Y[i]), .S1(Y1[i]),
.COUT(FCO[i])
);