2019-10-18 05:19:59 -05:00
|
|
|
read_verilog ../common/fsm.v
|
2019-10-04 03:57:47 -05:00
|
|
|
hierarchy -top fsm
|
2019-09-23 04:12:02 -05:00
|
|
|
proc
|
2019-11-11 08:41:33 -06:00
|
|
|
flatten
|
|
|
|
|
|
|
|
equiv_opt -run :prove -map +/anlogic/cells_sim.v synth_anlogic
|
|
|
|
miter -equiv -make_assert -flatten gold gate miter
|
|
|
|
sat -verify -prove-asserts -show-public -set-at 1 in_reset 1 -seq 20 -prove-skip 1 miter
|
|
|
|
|
2019-09-23 04:12:02 -05:00
|
|
|
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
2019-10-04 03:57:47 -05:00
|
|
|
cd fsm # Constrain all select calls below inside the top module
|
2019-11-11 08:41:33 -06:00
|
|
|
|
2019-09-23 04:12:02 -05:00
|
|
|
select -assert-count 6 t:AL_MAP_SEQ
|
2019-10-04 04:09:59 -05:00
|
|
|
|
2020-03-20 13:25:17 -05:00
|
|
|
select -assert-none t:AL_MAP_LUT* t:AL_MAP_SEQ %% t:* %D
|