How to avoid Constant-0 drivers added to undriven nets #1089
Unanswered
cristianomodesti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning to everyone.
I am trying to synthesise a very simple HDL design composed by a LSFR which basically implements a shift register whose input bit is a linear function of the previous content of the register. I made this test just to debug some strange behaviour I got during the implementation of a bigger design.
A hint of this test design can be found in the following code snippet:
RTL simulation works fine and I get the expected output signals but when I simulate the generated FPGA netlist, I am getting the expected behaviour just for
data_o0 - data_o3
anddata_o10 - data_o12
, whereas the other outputs are seen as non-driven and thus yosys adds a constant-0 driver.The point is that I need those "copy" output signals having the same values (
r_lsfr[0]
) without having them treated like undriven nets.Has anybody ever had an issue like this? How can I tell yosys these are needed signals?
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions