Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double assign on wires #640

Open
Pasca133 opened this issue Jun 27, 2022 · 0 comments
Open

Double assign on wires #640

Pasca133 opened this issue Jun 27, 2022 · 0 comments

Comments

@Pasca133
Copy link

Hey,
I am currently using icestudio for "writing" verilog code but I need the design unoptimized by the synthesis. So I exported the verilog file and the constraint file and imported them into icecube2, added " /* synthesis syn_keep=1 */" to all the wires so nothing gets optimized in the synthesis but then the synthesis failed.
I recognized that icestudio makes double assign on wires, which is fine if the synthesis is run normally but its, in my mind, certainly not what you want ideally.
For example I had following lines:
assign w10 = w9;
assign w11 = w9;
assign w11 = w10;

the synthesis fails because of double input to a single input wire. Took me a few minutes to find it.
Also it would be great if there were any settings to check a box for a non optimized synthesis so it wouldn't be so much work to edit all these lines in the verilog file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants