Fix some syntax errors #45
Open
+29
−29
Conversation
The current Yosys only accepts the order: rand const The other way round results in: ERROR: syntax error, unexpected TOK_RAND And "rand const" is also the way they show it in their README: https://github.com/YosysHQ/yosys/blob/master/README.md#non-standard-or-systemverilog-features-for-formal-verification
So it matches the new order of the modifiers
`csrget(`RISCV_FORMAL_CSRW_NAME, rmask) Got expanded into: rvfi.csr_mcycle_ rmask Because of the extra space, this resulted in: [csrw_mcycle_ch0] base: rvfi_csrw_check.sv:56: ERROR: syntax error, unexpected TOK_ID
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
I tried to follow the Quick Start Guide, but I ran into some syntax errors with the current version of yosys (8eaeaa84346):
After these patches I'm still left with the same
PREUNSATerrors as #36.