Skip to content

Conversation

gamzeisl
Copy link
Contributor

@gamzeisl gamzeisl commented Dec 2, 2024

This PR introduces the constant REGFILE_N_MAX_CONTEXT and sets its value to 8. This change enables N_CONTEXT to be passed freely (up to 8) to hwpe_ctrl_regfile, which now defaults to N_CONTEXT=REGFILE_N_DEFAULT_CONTEXT.

Previously, the definition of flags_regfile_t in the package caused issues because the pointer_context and running_context fields were assigned bit widths of $clog2(REGFILE_N_CONTEXT=2).

@FrancescoConti FrancescoConti self-assigned this Dec 2, 2024
@FrancescoConti
Copy link
Member

LGTM! 👍

@FrancescoConti FrancescoConti merged commit 7ba707d into pulp-platform:master Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants