mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Disable equiv check for ice40 latches
This commit is contained in:
parent
7a6dec1cef
commit
bd5889640b
|
@ -1,14 +1,11 @@
|
||||||
read_verilog latches.v
|
read_verilog latches.v
|
||||||
design -save read
|
|
||||||
|
|
||||||
proc
|
proc
|
||||||
async2sync # converts latches to a 'sync' variant clocked by a 'super'-clock
|
|
||||||
flatten
|
flatten
|
||||||
synth_ice40
|
# Can't run any sort of equivalence check because latches are blown to LUTs
|
||||||
equiv_opt -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check
|
#equiv_opt -async2sync -assert -map +/ice40/cells_sim.v synth_ice40 # equivalency check
|
||||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
|
||||||
|
|
||||||
design -load read
|
#design -load preopt
|
||||||
synth_ice40
|
synth_ice40
|
||||||
cd top
|
cd top
|
||||||
select -assert-count 4 t:SB_LUT4
|
select -assert-count 4 t:SB_LUT4
|
||||||
|
|
Loading…
Reference in a new issue