mirror of https://github.com/YosysHQ/yosys.git
43 lines
956 B
Plaintext
43 lines
956 B
Plaintext
|
read_verilog muxpack.v
|
||
|
design -save read
|
||
|
hierarchy -top mux_if_unbal_4_1
|
||
|
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
|
||
|
|
||
|
design -load read
|
||
|
hierarchy -top mux_if_unbal_5_3
|
||
|
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
|
||
|
|
||
|
design -load read
|
||
|
hierarchy -top mux_if_unbal_5_3_invert
|
||
|
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
|