We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In SystemVerilog, it is not legal to use bit slicing on an expression. For example, this is invalid:
assign expression_bit_select = ({a_b_joined,a_shrunk,a_range,a_rsliced,a_plus_b})[3:0];
ROHD currently generates code like this, which is illegal.
Perform a slice on an inlineable expression and then generate SystemVerilog of it.
slice
Valid SystemVerilog is generated. One solution is an intermediate signal for the expression which is then sliced.
Illegal SystemVerilog is generated.
Found as part of debug on #158
The text was updated successfully, but these errors were encountered:
fix intel#163
51bc9de
fix #163 (#164)
bb8732f
Combinational
mkorbel1
Successfully merging a pull request may close this issue.
Describe the bug
In SystemVerilog, it is not legal to use bit slicing on an expression. For example, this is invalid:
ROHD currently generates code like this, which is illegal.
To Reproduce
Perform a
slice
on an inlineable expression and then generate SystemVerilog of it.Expected behavior
Valid SystemVerilog is generated. One solution is an intermediate signal for the expression which is then sliced.
Actual behavior
Illegal SystemVerilog is generated.
Additional details
Found as part of debug on #158
The text was updated successfully, but these errors were encountered: