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

Avoid procedural wire assignment in test resource #979

Merged

Conversation

seldridge
Copy link
Member

Running the tests with Verilator 4.008 (which Ubuntu apparently updated for me) will fail with a PROCASSWIRE error due to an old Verilog test resource using this. Apparently the Verilog standard disallows procedural wire assignments and Verilator decided to hard align with this. This has odd implications as it effectively means that the always @ * construct is effectively disabled. It's weird, but whatever.

See: https://www.veripool.org/news/246-Verilator-Verilator-4-008-Released

Related issue:

Type of change: bug report

Impact: no functional change

Development Phase: implementation

Release Notes

This is a test-only fix, so no release notes.

Verilator 4.008 dropped the hammer on procedural wire assignment to
align with the IEEE standard (first I've heard of this, though). The
VerilogVendingMachine.v test resource will error in Verilator 4.008
with a PROCASSWIRE error if you try to compile it. This fixes that
example to only assign to a register.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
@seldridge seldridge requested a review from a team as a code owner January 9, 2019 23:30
@seldridge seldridge merged commit 1b2828f into chipsalliance:master Jan 9, 2019
@seldridge seldridge deleted the procedural-wire-assignment branch January 10, 2019 14:59
jackkoenig pushed a commit that referenced this pull request Feb 28, 2023
* Remove GhpagesPlugin. (#979)

* Restore old SCM reference (after removing ghpages)

* Remove reference to sbt-ghpages plugin.
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.

2 participants