-
Notifications
You must be signed in to change notification settings - Fork 804
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
[top_darjeeling] Instantiate AC Range checks #25862
base: master
Are you sure you want to change the base?
Conversation
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.
Crikey, these patches are enormous! (I understand that the code is autogenerated, but it's still an awful lot!)
Am I right in thinking these commits are orthogonal? If so, maybe it makes sense to split up the PR?
I don't think splitting up makes sense. The one big commit instantiates the ac ranges on the HJSON (5 lines or so) and this triggers ipgen to copy over the IP. If we split it up, there would be inconsistent IPs |
4066f22
to
112e519
Compare
@rswarbrick @vogelpi Since #25894 is merged, this now correctly maps the AC ranges. Can you take another look? |
6825009
to
63305a4
Compare
Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
This adds a base address translation (BAT) on the muxed host TLUL port before exiting to the AC ranges. This BAT removes the 1-2GB offset and downlifsts the address to 0-1GB when exiting. Signed-off-by: Robert Schilling <rschilling@rivosinc.com>
17c5cb1
to
c9e2994
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.
A thought for the future: Perhaps we'll want to formally introduce a TL-UL to TL-UL bus bridge with base address translation in hw/ip/tlul at some point. Then we can extend topgen / tlgen and do traversals to understand reachability.
This PR instantiates the AC ranges for a single egress port. All Egress ports are muxed to a single egress port before leaving Darjeeling. An additional external miscellaneous port is added to the system that is coming from the external uncore but muxed with same mux and going through the AC ranges.