Skip to content

Why "mismatched input" with variable shift amounts for << or >>? #245

Closed Answered by burgholzer
Geremia asked this question in Q&A
Discussion options

You must be logged in to vote

Essentially because your code is not a valid SyReC expression according to the SyReC EBNF grammar (see Section 2).
Shift statements expect numbers for the shift amount, not (input) signals.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Geremia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants