aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-16 15:56:57 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-16 15:56:57 -0700
commit1c57b1e7ea0128aebef8e78bcf4de9aaf9e42c6a (patch)
tree0679a8bb92d581250c88b3b541f0bb18e56628a0 /techlibs/ice40
parent4fe307f1bc02e32ae70f7ef9495f3418303e43e9 (diff)
downloadyosys-1c57b1e7ea0128aebef8e78bcf4de9aaf9e42c6a.tar.gz
yosys-1c57b1e7ea0128aebef8e78bcf4de9aaf9e42c6a.tar.bz2
yosys-1c57b1e7ea0128aebef8e78bcf4de9aaf9e42c6a.zip
Update abc_* attr in ecp5 and ice40
Diffstat (limited to 'techlibs/ice40')
-rw-r--r--techlibs/ice40/cells_sim.v10
1 files changed, 8 insertions, 2 deletions
diff --git a/techlibs/ice40/cells_sim.v b/techlibs/ice40/cells_sim.v
index 2205be27d..5b18fec27 100644
--- a/techlibs/ice40/cells_sim.v
+++ b/techlibs/ice40/cells_sim.v
@@ -141,8 +141,14 @@ module SB_CARRY (output CO, input I0, I1, CI);
assign CO = (I0 && I1) || ((I0 || I1) && CI);
endmodule
-(* abc_box_id = 1, abc_carry="CI,CO", lib_whitebox *)
-module \$__ICE40_FULL_ADDER (output CO, O, input A, B, CI);
+(* abc_box_id = 1, lib_whitebox *)
+module \$__ICE40_FULL_ADDER (
+ (* abc_carry_out *) output CO,
+ output O,
+ input A,
+ input B,
+ (* abc_carry_in *) input CI
+);
SB_CARRY carry (
.I0(A),
.I1(B),