aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/ice40_carry.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/opt/ice40_carry.v')
-rw-r--r--tests/opt/ice40_carry.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/opt/ice40_carry.v b/tests/opt/ice40_carry.v
new file mode 100644
index 000000000..ed938932a
--- /dev/null
+++ b/tests/opt/ice40_carry.v
@@ -0,0 +1,3 @@
+module SB_CARRY (output CO, input I0, I1, CI);
+ assign CO = (I0 && I1) || ((I0 || I1) && CI);
+endmodule