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

[ipgen,pkg] Split generic objects out of the ipgen packages #25921

Open
matutem opened this issue Jan 17, 2025 · 0 comments
Open

[ipgen,pkg] Split generic objects out of the ipgen packages #25921

matutem opened this issue Jan 17, 2025 · 0 comments
Assignees

Comments

@matutem
Copy link
Contributor

matutem commented Jan 17, 2025

Description

There are a number of objects that are provided by ipgen IPs that are independent of any parameterization, and are used by generic IPs for ports types. This requires the generic IPs to use the virtual interface to ipgen IP packages, which is troublesome.

In otp_ctrl this was resolved by splitting all top specific items objects out of the otp_ctrl_pkg, and moved to a template otp_ctrl_top_specific_pkg. A solution of this sort can be used for other ipgen IPs as well.

It is equally sensible to move the declarations of the generic objects to the receiving IP's pkg, if there is a single receiver. A better solution could be to place these generic objects to a better location, perhaps under hw/common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants