aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/ice40_carry.v
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-12-05 09:02:13 -0800
committerGitHub <noreply@github.com>2018-12-05 09:02:13 -0800
commit50a94ce4fc64ef4b95dba4119e82df01680b0617 (patch)
treec5dff0100358efc89b90995603b9b4365777e4bb /tests/opt/ice40_carry.v
parent11323665aff4c4af612f12fb3dda5096ace26a7d (diff)
parent45cb6200af13469724de42656f2c1f0f61c8766a (diff)
downloadyosys-50a94ce4fc64ef4b95dba4119e82df01680b0617.tar.gz
yosys-50a94ce4fc64ef4b95dba4119e82df01680b0617.tar.bz2
yosys-50a94ce4fc64ef4b95dba4119e82df01680b0617.zip
Merge pull request #717 from whitequark/opt_lut
Add a new opt_lut pass, which combines inefficiently packed LUTs
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