Elements
#425
Replies: 1 comment
-
Hi @eulere28, thanks for the question! You cannot use a Effectively, when you do an index operation like that in SystemVerilog, there's hardware implied to do the selection operation. ROHD currently requires you to be more explicit. Soon, the resolution of this issue will make this type of thing easier to implement: #116 Does that answer your question? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all.
I have one question on the elements,
For example, I initialized the addR as 1 first as the elements['int'] only accept integer.
If I didn't do so, it will get error like this:
So, It is possible to not to initialize the value for addR (hence the elements accept an unknown variable) and the generated verilog code will be (readData < memory[addR]) but not (readData < memory[1(initialized value)]).
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions