aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/cells_box.v
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/ice40/cells_box.v')
-rw-r--r--techlibs/ice40/cells_box.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/techlibs/ice40/cells_box.v b/techlibs/ice40/cells_box.v
new file mode 100644
index 000000000..cca88f9aa
--- /dev/null
+++ b/techlibs/ice40/cells_box.v
@@ -0,0 +1,5 @@
+(* abc_box_id = 1 *)
+module SB_CARRY (output CO, input CI, I0, I1);
+ assign CO = (I0 && I1) || ((I0 || I1) && CI);
+endmodule
+