Forgot to commit
authorEddie Hung <eddie@fpgeh.com>
Tue, 16 Jul 2019 19:44:26 +0000 (12:44 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 16 Jul 2019 19:44:26 +0000 (12:44 -0700)
tests/lut/check_map_lut6.ys [new file with mode: 0644]

diff --git a/tests/lut/check_map_lut6.ys b/tests/lut/check_map_lut6.ys
new file mode 100644 (file)
index 0000000..8a32e4d
--- /dev/null
@@ -0,0 +1,7 @@
+chparam -set LUT_WIDTH 6 top
+simplemap
+equiv_opt -assert techmap -D LUT_WIDTH=6 -map +/cmp2lut.v
+design -load postopt
+equiv_opt -assert techmap -D LUT_WIDTH=6 -map +/gate2lut.v
+design -load postopt
+select -assert-count 0 t:* t:$lut %d