diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-06 11:59:41 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-06 11:59:41 -0700 |
commit | 5d4eca5a298d2f98de220cfd0efe5452ab4052d8 (patch) | |
tree | 94cdb5dba62367d860917e42b9e4972c6837e2e8 /tests/various/muxpack.ys | |
parent | 3e76e3a6fa4355e7223b10bba394f986d6821551 (diff) | |
download | yosys-5d4eca5a298d2f98de220cfd0efe5452ab4052d8.tar.gz yosys-5d4eca5a298d2f98de220cfd0efe5452ab4052d8.tar.bz2 yosys-5d4eca5a298d2f98de220cfd0efe5452ab4052d8.zip |
Add a few more special case tests
Diffstat (limited to 'tests/various/muxpack.ys')
-rw-r--r-- | tests/various/muxpack.ys | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/various/muxpack.ys b/tests/various/muxpack.ys index 58c01cf05..174eea74b 100644 --- a/tests/various/muxpack.ys +++ b/tests/various/muxpack.ys @@ -40,3 +40,31 @@ 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 mux_if_unbal_5_3_width_mismatch +prep +design -save gold +muxpack +opt +stat +select -assert-count 2 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 + +design -load read +hierarchy -top mux_if_unbal_5_3_missing +prep +design -save gold +muxpack +opt +stat +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 |