mirror of https://github.com/YosysHQ/yosys.git
16 lines
420 B
Plaintext
16 lines
420 B
Plaintext
read_verilog ../common/lutram.v
|
|
hierarchy -top lutram_1w1r
|
|
proc
|
|
memory -nomap
|
|
equiv_opt -run :prove -map +/ice40/cells_sim.v synth_ice40
|
|
memory
|
|
opt -full
|
|
|
|
miter -equiv -flatten -make_assert -make_outputs gold gate miter
|
|
sat -verify -prove-asserts -seq 5 -set-init-zero -show-inputs -show-outputs miter
|
|
|
|
design -load postopt
|
|
cd lutram_1w1r
|
|
select -assert-count 1 t:SB_RAM40_4K
|
|
select -assert-none t:SB_RAM40_4K %% t:* %D
|