diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-07 12:12:11 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-07 12:12:11 -0700 |
commit | 1da12c5071a738504d22e68d66cab7c5c5afb07e (patch) | |
tree | 07f7190f8c76d4edda9e4caf569d23c300e96b53 /tests/various/muxpack.ys | |
parent | e263bc249b905195120fbc074c6f80d03fb21cf8 (diff) | |
download | yosys-1da12c5071a738504d22e68d66cab7c5c5afb07e.tar.gz yosys-1da12c5071a738504d22e68d66cab7c5c5afb07e.tar.bz2 yosys-1da12c5071a738504d22e68d66cab7c5c5afb07e.zip |
Add @cliffordwolf freduce testcase
Diffstat (limited to 'tests/various/muxpack.ys')
-rw-r--r-- | tests/various/muxpack.ys | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/various/muxpack.ys b/tests/various/muxpack.ys index 7c3fe5070..afdacdf30 100644 --- a/tests/various/muxpack.ys +++ b/tests/various/muxpack.ys @@ -178,3 +178,20 @@ design -import gold -as gold design -import gate -as gate miter -equiv -flatten -make_assert -make_outputs gold gate miter sat -verify -prove-asserts -show-ports miter + +design -load read +hierarchy -top cliffordwolf_freduce +prep +design -save gold +proc; opt; freduce; opt +write_verilog -noexpr -norename +muxpack +opt +stat +select -assert-count 0 t:$mux +select -assert-count 1 t:$pmux +design -stash gate +design -import gold -as gold +design -import gate -as gate +miter -equiv -flatten -make_assert -make_outputs gold gate miter +sat -verify -prove-asserts -show-ports miter |