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

Change WireBundle::Ctrl to WireBundle::Control. Decouple WireBundle and StrmSwPortType. #2009

Closed
wants to merge 4 commits into from

Conversation

fifield
Copy link
Collaborator

@fifield fifield commented Jan 8, 2025

This changes replaces the abbreviated WireBundle::Ctrl with WireBundle::Control and removes an implicit coupling between the WireBundle enum names and the aie-rt StrmSwPortType enum names.

Previously the xaie target (e.g. aie-translate --aie-generate-xaie) used the TableGen'd wireBundleStringify functions to emit StrmSwPortType enums directly as C++ source code. This PR replaces uses of wireBundleStringify in AIETargetXAIEV2 with a new utility function. This corrects a potential bug related to the PL port and allows the renaming of the control port.

@fifield fifield closed this Jan 8, 2025
@fifield
Copy link
Collaborator Author

fifield commented Jan 8, 2025

replaced by #2010

Copy link
Collaborator

@stephenneuendorffer stephenneuendorffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I'm normally very much in favor of avoiding abbreviations, I'm not 100% on board with this. The WireBundle names come from the architecture and at some point it's not good to have that inconsistency. But I guess there has to be some friction somewhere, the only question is where is the least confusing place for it to be?

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.

2 participants