-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bundle Bridge Tile MMIO Address Prefix #2533
Conversation
69170d4
to
938c633
Compare
938c633
to
7618777
Compare
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.
Fine with me, given the description suggests you already thought about/tested deduplication.
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.
Looks good. Might be nice to clarify how the "prefix" is applied, especially if it is actually OR-ed in similar to the hardID prefix
99b6fd8
to
d68e791
Compare
…o locate driver of tile.controlAddressPrefixNode
…kNodeOpt and use their .map(_.bundle) in TIM base address calculation
Co-authored-by: Megan Wachs <[email protected]>
d68e791
to
1cd3592
Compare
In some configurations we want to be able to relocate the apparent base address of MMIO devices inside the tile. This is problematic for the fast path that the RocketCore has to the ITIM and DTIM, which has to know what the overridden base address should be. To address this limitation this PR adds another (optional) tile input "constant" that is or'd with the base address used in the ITIM and DTIM hit calculations.
This PR also cleans up a few loose ends left over from #2521 and #2497
Type of change: other enhancement
Impact: API modification
Development Phase: implementation
Release Notes
BaseTile.mmioAddressPrefixNode
propagates a prefix or supplies a default0.U
TileCrossingParamsLike.controlBaseAddressPrefixWhere
to lookup prefix information location for tilesmmioAddressPrefixSinkNodeOpt
andhartIdSinkNodeOpt
inHellaCache
andICache
, defined iff the scratchpads areTLBusWrapper
subclasses will propagate theirprefix
information