-
Notifications
You must be signed in to change notification settings - Fork 47
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
Bender: Bump AXI-REALM and fix AXI-REALM functional tests #118
base: main
Are you sure you want to change the base?
Conversation
65d53fd
to
6f78017
Compare
Bender: Bump `axi_rt` AXI real-time unit
* Fix functional bug
321dcd6
to
e465b87
Compare
4e3a22a
to
1fd8e20
Compare
* Fix expected left budget (W/R) calculation * Extend to support multiple CVA6 cores
* Check successful manager isolation after running out of budget
Add `axirt_budget_isolate` test to CI
1fd8e20
to
82b64c4
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.
I can't speak on the tests, it's best to talk that over with @thommythomaso.
The nonfree change is fine and has been merged.
I just have one small comment below.
|
||
// IDs for AXI-REALM managers | ||
// Adjust if more CVA6 cores, default to 1 | ||
enum axirealm_mngr_id { | ||
AXIREALM_MNGR_ID_CVA60 = 0, | ||
AXIREALM_MNGR_ID_DBG = 1, | ||
AXIREALM_MNGR_ID_DMA = 2, | ||
AXIREALM_MNGR_ID_SL = 3 | ||
}; |
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.
We shouldn't hardcode things we know are parameterization-specific here.
Instead, you can read the num_int_harts
register to know how many internal harts there are and hw_features
to know which hardware features are available.
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.
Makes sense, I already use the num_int_harts
in the test. Will fix this ASAP.
Bump AXI-REALM to latest version. Fixes functional bug.
Depends on: https://iis-git.ee.ethz.ch/pulp-restricted/cheshire-nonfree/-/merge_requests/16