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

CPU clock doesn't get set right #50

Open
Cippo95 opened this issue Feb 15, 2023 · 1 comment
Open

CPU clock doesn't get set right #50

Cippo95 opened this issue Feb 15, 2023 · 1 comment

Comments

@Cippo95
Copy link

Cippo95 commented Feb 15, 2023

I have written about this in the gem5-aladdin group some time ago but configs/aladdin/aladdin_se.py needs some further configuration to set the CPU clock correctly or CPU will be set at system clock.

You need to add:

# All cpus belong to a common cpu_clk_domain, therefore running at a common     
# frequency.                                                           
for cpu in system.cpu:    
    cpu.clk_domain = system.cpu_clk_domain

I have put it at line 333 since gem5 puts it there, but I think is fine anywhere.

@xyzsam
Copy link
Member

xyzsam commented Feb 16, 2023

If you send us a PR, we can review it and get it merged.

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

No branches or pull requests

2 participants