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

Add checking to detect multiple identical assignments/multiple assignments to the same signal. #127

Open
dmlockhart opened this issue Feb 20, 2015 · 0 comments

Comments

@dmlockhart
Copy link
Contributor

If there are multiple assignments to the same signal, the following code is generated:

  assign val_regs$002$en          = resp_rdy;
  assign val_regs$002$en          = resp_rdy;

This appears to be valid Verilog (it translates and simulates fine in Verilator), but throws an error when we try to push the design through the ASIC flow.

Note that there could also be a problem having code like this

  assign val_regs$002$en          = source1;
  assign val_regs$002$en          = source2;

This is trickier to catch because of slices and such.

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

1 participant