You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will generate verilog containing: assign \$1 = + "";
which is valid verilog, which the quartus parser cannot parse:
Error (10170): Verilog HDL syntax error at top.v(19973) near text: """; expecting "(".
The text was updated successfully, but these errors were encountered:
hansfbaier
changed the title
empty signal slice generates verilog which Quartus cannot parse
empty signal slice generates verilog which can not be parsed by Quartus
Sep 28, 2021
Also the CSR register multiplexer from nmigen_soc seems to generate similar results,
but I have not been able to reduce that yet. I am not sure whether an empty signal slice has something to do with that.
This is actually an upstream issue; Yosys should not be generating empty strings in this context. I've fixed one instance of this bug in YosysHQ/yosys#1203 (in 2019!), but it turns out there was another one, which I've fixed just now in YosysHQ/yosys#3103.
Your testcase synthesizes fine on Quartus with Yosys 0.10, which is required as of the current main branch, so I'm going to close this issue. I'm not sure whether there are other inputs that will generate the RTLIL that causes the pathological Verilog output; please comment on this issue if you do have such a testcase.
This will generate verilog containing:
assign \$1 = + "";
which is valid verilog, which the quartus parser cannot parse:
The text was updated successfully, but these errors were encountered: