-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Assign same length vector with different offsets #873
Comments
Does this work? mask := std_logic_vector'(data'length-1 downto 0 => en); (Not able to test it at the moment.) |
Yes it works! Both in the reproducer and in the original code I first had this issue |
Should be fixed in the latest master branch. |
As always thanks a lot for the fix !
I'll probably debug and try to find a reproducer/more information sometime next week and then open a new issue when I have something. Let me know if you prefer to keep using this issue instead. |
Hello,
The code below gives me this error during simulation:
As a note the code runs fine if I modify the declaration of mask into
variable mask : std_logic_vector(data'length-1 downto 0);
or if I change the assignment to match the indexesmask := (data'range => en);
.I don't know if it is important, just thought to mention this
Command:
nvc --std=08 --work=work -L./ -a ent.vhd --relaxed && nvc --std=08 --work =work -L./ -e ent && nvc --std=08 --work=work -L./ -r ent --stop-time=5ns
The text was updated successfully, but these errors were encountered: