Replies: 2 comments
-
The problem is that without a call to While this is definitely surprising behaviour and I think could be improved, always running |
Beta Was this translation helpful? Give feedback.
-
I've encountered a similar bug as well, I've included my test case which does include the hierarchy pass being run. It put the memory writes into a Run make to regenerate the file. testcase.zip |
Beta Was this translation helpful? Give feedback.
-
The design "test3_3.v" attached below is correctly elaborated using "proc" but becomes logically incorrect after running "opt" using the latest version of Yosys. The same result was produced by a two-year-old version of Yosys:
yosys> design -reset
yosys> read_verilog test3_3.v
yosys> proc
yosys> write_verilog -noattr test3_3_proc.v
yosys> opt
yosys> write_verilog -noattr test3_3_proc_opt.v
yosys_bug.zip
Beta Was this translation helpful? Give feedback.
All reactions