Skip to content
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

vvp: Don't schedule initial value propagation for net array ports #1057

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

larsclausen
Copy link
Collaborator

An initial value propagation should only be scheduled for variable array ports, but not for net array port since those do not contain any values.

This got accidentally broken when fixing support for 2-state variable array ports.

Add a check that only does the initial value propagation if the port is for a variable array.

Test case in #1014.

An initial value propagation should only be scheduled for variable array
ports, but not for net array port since those do not contain any values.

This got accidentally broken when fixing support for 2-state variable
array ports.

Add a check that only does the initial value propagation if the port is for
a variable array.

Fixes: 0eb01ff ("vvp: Fix initial value propagation for 2-state non-automatic arrays")
Signed-off-by: Lars-Peter Clausen <[email protected]>
@larsclausen larsclausen merged commit 9a0ce04 into steveicarus:master Dec 29, 2023
4 checks passed
@larsclausen larsclausen deleted the fix-net-array branch December 29, 2023 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant