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

Parametrization step 1 #1896

Merged

Conversation

cathales
Copy link
Contributor

@cathales cathales commented Mar 6, 2024

This PR splits the configuration structure so that the user configuration does not contain dummy values.

This is the first step for #1451

It partially replaces PR #1704

See also the announcement on Mattermost

cathales added 7 commits March 6, 2024 08:09
The build_config function is in a new package so that it will be able to
take values from other packages without circular dependency issues.
(Temporary solution to ease implementation)

The value is built by declaring a value then assigning its fields
because Vivado does not support return '{ ... };
It would be better if we could take CVA6Cfg as an argument but it is not
accessible everywhere the function is called.
core/cva6.sv Outdated Show resolved Hide resolved
core/include/config_pkg.sv Outdated Show resolved Hide resolved
core/include/config_pkg.sv Outdated Show resolved Hide resolved
core/include/config_pkg.sv Outdated Show resolved Hide resolved
core/include/config_pkg.sv Outdated Show resolved Hide resolved
core/include/cv32a6_imac_sv0_config_pkg.sv Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Mar 6, 2024

✔️ successful run, report available here.

@JeanRochCoulon JeanRochCoulon merged commit 13dfa74 into openhwgroup:master Mar 6, 2024
6 checks passed
@JeanRochCoulon JeanRochCoulon deleted the parametrization branch March 6, 2024 16:03
AngelaGonzalezMarino pushed a commit to planvtech/cva6 that referenced this pull request Mar 14, 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