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

Attaching a packed array port to an unpacked array port of a submodule generates bad SV #549

Open
mkorbel1 opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mkorbel1
Copy link
Contributor

Describe the bug

The generated SV for assigning an unpacked array port to a packed array port in the parent module causes a direct connection. For example:

module top(
input logic [2:0][3:0] a
);

// this is not ok, can't assign unpacked port to a packed port
submod sub(.a(a));

endmodule : top

module submod(
input logic [3:0] a [2:0]
);

endmodule : submod

To Reproduce

Construct a hierarchy like described above

Expected behavior

No response

Actual behavior

No response

Additional: Dart SDK info

No response

Additional: pubspec.yaml

Additional: Context

No response

@mkorbel1 mkorbel1 added the bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant