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

Bug with clock and node emit the same reference #468

Closed
wants to merge 5 commits into from

Conversation

da-steve101
Copy link
Contributor

If a clock is created without a reference val, it is given a name with emit ref which may give it the same name as another node and hence result in invalid verilog

Stephen Tridgell added 5 commits July 27, 2015 18:16
not created in with a val. Fixed testsuite forcing this behaviour
Conflicts:
	src/main/scala/Verilog.scala
fix multiple reset issue by ensuring unique def and correct clock names for unnamed clock
@da-steve101
Copy link
Contributor Author

I think perhaps i will rework this.
Emitting multiple declarations is a problem for earlier.
Instead i will put in an assertion and say something like "Internal error: invalid cpp code detected"

@da-steve101
Copy link
Contributor Author

Closing in favour of cleaner pull request #486 and #487

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

Successfully merging this pull request may close these issues.

1 participant