mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
fix fsm test with proper clock enable polarity
This commit is contained in:
parent
ec3faa7b96
commit
ab8c521030
2 changed files with 15 additions and 4 deletions
11
tests/arch/gowin/fsm.ys
Normal file
11
tests/arch/gowin/fsm.ys
Normal file
|
@ -0,0 +1,11 @@
|
|||
read_verilog ../common/fsm.v
|
||||
hierarchy -top fsm
|
||||
proc
|
||||
flatten
|
||||
|
||||
equiv_opt -run :prove -map +/gowin/cells_sim.v synth_gowin # equivalency check
|
||||
miter -equiv -make_assert -flatten gold gate miter
|
||||
sat -verify -show-all -dump_vcd x.vcd -prove-asserts -set-at 1 in_reset 1 -seq 20 -prove-skip 1 miter
|
||||
|
||||
#design -load postopt
|
||||
#shell
|
Loading…
Add table
Add a link
Reference in a new issue