Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

alex96295
Copy link
Collaborator

@alex96295 alex96295 commented Apr 12, 2024

Bump AXI-REALM to latest version. Fixes functional bug.

Depends on: https://iis-git.ee.ethz.ch/pulp-restricted/cheshire-nonfree/-/merge_requests/16

@alex96295 alex96295 added bug Something isn't working enhancement New feature or request labels Apr 12, 2024
@alex96295 alex96295 self-assigned this Apr 12, 2024
Aquaticfuller pushed a commit that referenced this pull request Jul 16, 2024
Bender: Bump `axi_rt` AXI real-time unit
* Fix functional bug
@alex96295 alex96295 force-pushed the aottaviano/realm-eval branch 2 times, most recently from 321dcd6 to e465b87 Compare October 8, 2024 13:42
@alex96295 alex96295 force-pushed the aottaviano/realm-eval branch 3 times, most recently from 4e3a22a to 1fd8e20 Compare October 22, 2024 08:49
* 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
@alex96295
Copy link
Collaborator Author

@paulsc96 @thommythomaso rfc

@alex96295 alex96295 marked this pull request as ready for review October 22, 2024 11:07
@alex96295 alex96295 changed the title Bender: Bump AXI-REALM Bender: Bump AXI-REALM and fix AXI-REALM functional tests Oct 22, 2024
Copy link
Collaborator

@paulsc96 paulsc96 left a 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.

Comment on lines +54 to +62

// 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
};
Copy link
Collaborator

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.

Copy link
Collaborator Author

@alex96295 alex96295 Oct 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants