aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/opt_lut_elim.ys
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2018-12-31 23:53:23 +0000
committerwhitequark <whitequark@whitequark.org>2018-12-31 23:55:40 +0000
commit42c356c49c04a735fe27e672ff31452170f84b40 (patch)
treec794e925cb1c97324c6a0be573fc1b916ad4ddb2 /tests/opt/opt_lut_elim.ys
parent0a840dd88334c382314db3aafc2f1da2a1969df2 (diff)
downloadyosys-42c356c49c04a735fe27e672ff31452170f84b40.tar.gz
yosys-42c356c49c04a735fe27e672ff31452170f84b40.tar.bz2
yosys-42c356c49c04a735fe27e672ff31452170f84b40.zip
opt_lut: eliminate LUTs evaluating to constants or inputs.
Diffstat (limited to 'tests/opt/opt_lut_elim.ys')
-rw-r--r--tests/opt/opt_lut_elim.ys3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/opt/opt_lut_elim.ys b/tests/opt/opt_lut_elim.ys
new file mode 100644
index 000000000..8e5e23aea
--- /dev/null
+++ b/tests/opt/opt_lut_elim.ys
@@ -0,0 +1,3 @@
+read_ilang opt_lut_elim.il
+opt_lut
+select -assert-count 0 t:$lut