Closed goktug97 closed 4 years ago
Fixed in nmigen/nmigen@a14a572.
The stack error is gone. Unfortunately, I got this error when I try to use sby with generated verilog file,
SBY 18:59:45 [counter] base: ERROR: Module `\$initstate' referenced in module `\top' in cell `\U$$0' is not part of the design.
@goktug97 You should use the RTLIL backend with SymbiYosys rather than the Verilog one.
Using RTLIL backend solves the problem.
I am trying to use Initial() like https://github.com/m-labs/nmigen/blob/57d95b7f95dd37e2527db7b04be9ac8f324133e2/nmigen/test/test_lib_fifo.py#L213-L217 this. I run test_lib_fifo.py to make sure it works.
It didn't throw any error but my version throws this error.
I am using nmigen to formal verify verilog and VHDL files. https://github.com/m-labs/nmigen/issues/317