From: Clifford Wolf Date: Sat, 17 Aug 2019 12:05:10 +0000 (+0200) Subject: Add test for pmtest_test "reduce" demo pattern X-Git-Tag: working-ls180~1124^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f20be90436b32e853d68c7e102a65d43f3843d91;p=yosys.git Add test for pmtest_test "reduce" demo pattern Signed-off-by: Clifford Wolf --- diff --git a/tests/various/pmgen_reduce.ys b/tests/various/pmgen_reduce.ys new file mode 100644 index 000000000..c214d3f25 --- /dev/null +++ b/tests/various/pmgen_reduce.ys @@ -0,0 +1,21 @@ +test_pmgen -generate reduce +hierarchy -top pmtest_test_pmgen_pm_reduce +flatten; opt_clean + +design -save gold +test_pmgen -reduce_chain +design -stash gate + +design -copy-from gold -as gold pmtest_test_pmgen_pm_reduce +design -copy-from gate -as gate pmtest_test_pmgen_pm_reduce +miter -equiv -flatten -make_assert gold gate miter +sat -verify -prove-asserts miter + +design -load gold +test_pmgen -reduce_tree +design -stash gate + +design -copy-from gold -as gold pmtest_test_pmgen_pm_reduce +design -copy-from gate -as gate pmtest_test_pmgen_pm_reduce +miter -equiv -flatten -make_assert gold gate miter +sat -verify -prove-asserts miter