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

Make SYSINFO CLK writable #966

Merged
merged 10 commits into from
Jul 29, 2024
Merged

Make SYSINFO CLK writable #966

merged 10 commits into from
Jul 29, 2024

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jul 28, 2024

Implementing #951 (option 3).

NEORV32_SYSINFO.CLK is now a real register that can be overridden by application software (e.g. to take into account any dynamic frequency scaling of the processor clock). Upon reset, CLK is initialized from the CLOCK_FREQUENCY generic.

@stnolting stnolting added the enhancement New feature or request label Jul 28, 2024
@stnolting stnolting self-assigned this Jul 28, 2024
@stnolting stnolting linked an issue Jul 28, 2024 that may be closed by this pull request
@stnolting stnolting marked this pull request as ready for review July 28, 2024 18:42
@stnolting stnolting merged commit 20704f1 into main Jul 29, 2024
10 checks passed
@stnolting stnolting deleted the sysinfo_clk_register branch July 29, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support variable clock frequency in SYSINFO
1 participant