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

Support default connection via hasCustomConnect #4068

Open
sequencer opened this issue May 15, 2024 · 0 comments
Open

Support default connection via hasCustomConnect #4068

sequencer opened this issue May 15, 2024 · 0 comments

Comments

@sequencer
Copy link
Member

Type of issue: Feature Request

Is your feature request related to a problem? Please describe.
Add default connection feature support to Connectable.

Describe the solution you'd like
I'm not sure should we use Bundle.Lit here, but we need to programming decide if connect a field via default or connect the field.
e.g. A full AXI bundle, parametrized not supporting AxProt or AxCache field, when bulking connect, the field at master side should be ignored, and connect a Const value defined by specification.

Describe alternatives you've considered
Exposing this feature to user maybe dangerous? In general, for those unconnected signals, users always connect to DontCare, which is more dangerous, since the behavior of DC is 0.U in compiler.

Additional context
RocketChip provides this feature via BundleMap

What is the use case for implementing this feature?

  • Interconnect automation.
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

No branches or pull requests

1 participant