mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 19:51:23 +00:00
support repeat loops with constant repeat counts outside of constant functions
This commit is contained in:
parent
22035c20ff
commit
5855024ccc
3 changed files with 68 additions and 1 deletions
10
tests/sat/counters-repeat.ys
Normal file
10
tests/sat/counters-repeat.ys
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
read_verilog counters-repeat.v
|
||||
proc; opt
|
||||
|
||||
expose -shared counter1 counter2
|
||||
miter -equiv -make_assert -make_outputs counter1 counter2 miter
|
||||
|
||||
cd miter; flatten; opt
|
||||
sat -verify -prove-asserts -tempinduct -set-at 1 in_rst 1 -seq 1 -show-inputs -show-outputs
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue