-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improvements To AMBA AXI4 Adapters #2676
Conversation
29e5035
to
eb6fb17
Compare
@jackkoenig @mwachs5 can one of you approve this? |
{ | ||
private val axiDigits = String.valueOf(axi4.endId-1).length() | ||
private val tlDigits = String.valueOf(tl.endSourceId-1).length() | ||
val tlMasters = tlPort.masters.sortBy(_.sourceId).sortWith(TLToAXI4.sortByType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was a little confused at first why there are two sorts in a row. It may be worth adding another TLToAXI4.sortBy<something>
method to provide the desired behavior. Perhaps sortByType
should break ties with sourceId
? Just a thought.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Miscellaneous improvements to several AXI4 AMBA adapters:
TLtoAXI4IdMap
TLToAXI4.stripBits
other than 0 illegal and stop using it internally.Annotated.idMapping
and delete associated application and annotation class.Type of change:other enhancement
Impact: no API changes
Development Phase: implementation