yosys/examples/smtbmc/glift/too_large.ys

42 lines
739 B
Plaintext
Raw Permalink Normal View History

read_verilog too_large.v
techmap
flatten
select too_large_lev2
glift -create-instrumented-model
techmap
opt
rename too_large_lev2 uut
cd ..
delete [AIONX][NVXR]2
read_verilog too_large.v
techmap
flatten
select too_large_lev2
glift -create-precise-model
techmap
opt
rename too_large_lev2 spec
cd ..
delete [AIONX][NVXR]2
design -push-copy
miter -equiv spec uut miter
flatten
delete uut spec
techmap
opt
stat miter
qbfsat -O2 -write-solution too_large.soln -solver yices -timeout 3600 -nocleanup -assume-outputs -assume-negative-polarity miter
design -pop
stat
copy uut solved
qbfsat -specialize-from-file too_large.soln solved
opt solved
miter -equiv spec solved satmiter
flatten
sat -prove trigger 0 satmiter
delete satmiter
stat
shell