tests/simple to also do LUT synth
authorEddie Hung <eddieh@ece.ubc.ca>
Thu, 21 Feb 2019 19:16:57 +0000 (11:16 -0800)
committerEddie Hung <eddieh@ece.ubc.ca>
Thu, 21 Feb 2019 19:16:57 +0000 (11:16 -0800)
tests/tools/autotest.sh

index 65fd4cb1f40a931d5fe33d8e62f2a4b3c9c5d138..34007b6890bc20f2b2879e6a2f960e49047789ce 100755 (executable)
@@ -180,6 +180,7 @@ do
                else
                        test_passes -f "$frontend $include_opts" -p "hierarchy; proc; opt; memory; opt; fsm; opt -full -fine" ${bn}_ref.v
                        test_passes -f "$frontend $include_opts" -p "hierarchy; synth -run coarse; techmap; opt; abc -dff" ${bn}_ref.v
+                       test_passes -f "$frontend $include_opts" -p "hierarchy; synth -run coarse; techmap; opt; abc -lut 4" ${bn}_ref.v
                        if [ -n "$firrtl2verilog" ]; then
                            if test -z "$xfirrtl" || ! grep "$fn" "$xfirrtl" ; then
                                "$toolsdir"/../../yosys -b "firrtl" -o ${bn}_ref.fir -f "$frontend $include_opts" -p "prep -nordff; proc; opt; memory; opt; fsm; opt -full -fine; pmuxtree" ${bn}_ref.v