WIP for equivalency checking memories

This commit is contained in:
Eddie Hung 2019-08-22 15:50:45 -07:00
parent 43e7c4917a
commit 698a0e3aaf
1 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,17 @@
read_verilog memory.v
synth_ice40
hierarchy -top top
proc
memory -nomap
equiv_opt -run :prove -map +/ice40/cells_sim.v synth_ice40
memory
opt -full
# TODO
#equiv_opt -run prove: -assert null
miter -equiv -flatten -make_assert -make_outputs gold gate miter
#sat -verify -prove-asserts -tempinduct -show-inputs -show-outputs miter
design -load postopt
cd top
select -assert-count 1 t:SB_RAM40_4K
select -assert-none t:SB_RAM40_4K %% t:* %D