This commit is contained in:
Eddie Hung 2019-10-02 18:12:25 -07:00
parent c6a55d948a
commit e4bd5aaebf
1 changed files with 12 additions and 2 deletions

View File

@ -188,8 +188,18 @@ endmodule
EOT EOT
proc proc
equiv_opt -assert peepopt #equiv_opt -assert peepopt
design -load postopt
design -save gold
peepopt
wreduce
design -stash gate
design -import gold -as gold
design -import gate -as gate
miter -equiv -flatten -make_assert -make_outputs gold gate miter
sat -seq 1 -verify -prove-asserts -show-ports miter
design -load gate
select -assert-count 1 t:$dff r:WIDTH=4 %i select -assert-count 1 t:$dff r:WIDTH=4 %i
select -assert-count 2 t:$mux select -assert-count 2 t:$mux
select -assert-count 2 t:$mux r:WIDTH=4 %i select -assert-count 2 t:$mux r:WIDTH=4 %i