Closed rodrigomelo9 closed 4 years ago
The problem is that dff with non-constant reset value is not supported by yosys.
So, maybe you'd prefer a better error message.
I see... Now that you said that, I realized that I reported an issue in Yosys, on the Verilog version (https://github.com/YosysHQ/yosys/issues/1809). It was synthesized using Yosys without complaints. The problem was present with ngdbuild
(ISE). I am not sure about what is better, easier, convenient...
In fact, there is support of dffsr. I will modify the code for it. Will push soon.
Thank you for the issue.
I was verifying GHDL
--synth
and theghdl-yosys-plugin
with examples from Xilinx. I found a problem with a file for ISE, called counters_3.vhd, which fails only with the plugin: