-
Notifications
You must be signed in to change notification settings - Fork 812
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
[RACL] Add support for ranges and enable racl for sram_ctrl #26094
[RACL] Add support for ranges and enable racl for sram_ctrl #26094
Conversation
b4764e9
to
a9c676b
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.
Just a few comments after a quick skim
a53c3ff
to
f2f911a
Compare
a411754
to
bef16f8
Compare
66954c6
to
ed775a6
Compare
ed775a6
to
cc6da8f
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.
LGTM now, thx @davidschrammel!
Please rebase to resolve conflicts in |
Left a few more questions/suggestions, as I had apparently focused my previous review too much on code generation and not enough on regular RTL code changes -- apologies! |
44a70ee
to
ad12241
Compare
ad12241
to
f1522e1
Compare
@andreaskurth Is there anything else that needs to be changed before this is allowed to be merged? |
I don't understand why spi_device and spi_host rtl got racl info added and no other IP did. |
With the addition of ranges, we changed the interface of tlul_adapter_sram_racl. |
Signed-off-by: David Schrammel <[email protected]>
Signed-off-by: David Schrammel <[email protected]>
…ctrl And implement ranges for tlul_adapter_sram_racl and rewire parameters where it is already being used. Signed-off-by: David Schrammel <[email protected]>
f1522e1
to
c0d9953
Compare
(Rebased to solve conflict in util/topgen/merge.py) |
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
CHANGE AUTHORIZED: hw/ip/spi_device/rtl/spi_device.sv RACL ranges are getting added to those IPs. No functional change with default parameters (RACL disabled). |
CHANGE AUTHORIZED: hw/ip/spi_device/rtl/spi_device.sv No functional change as RACL is disabled when using the default parameters. |
This PR adds racl support for the
ram
tlul interface ofsram_ctrl
. (RACL for itsregs
interface was addded in #26047)However, for this it was necessary to add so-called RACL ranges.
Due to this new type, the format of the racl mapping hjson files changes.
Furthermore, this PR also allows non-
*
mappings now (as mentioned in #25986).I could not reasonably split the changes in
raclgen/lib.py
into separate commits. I hope this is still okay.Note: This PR is based on #26096 and should not be merged before #26096.I will rebase this PR and drop the first commit when that happens.