Integration of a custom CPU model on gem5 #758
Unanswered
fluctlights
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI all:
I am new on gem5 and I know little about compiling. I followed gem5's tutorials on building ARM and everything went fine. So I decided to go further.
After reading this: https://pierreay.github.io/reproduce-spectre-gem5
And its paper: https://github.com/pierreay/reproduce-spectre-gem5/blob/main/docs/master_thesis.pdf
I wanted to replicate the steps explained there to use a custom CPU model into gem5.
The paper basically consists on simulate Spectre attacks using a variation and more realistic version of the O3CPU model, called ARMv8A_Cortex_A72. This is in a Python script with the same name. In order to try it, it has another script called RPIv4.py, that initializes a full system emulation. This last file is like the file on <gem5_root>/configs/example/arm/starter_fs.py.
The thing is I am not able to do that since when I try the command as shown in the web:
$ gem5.opt RPI4.py --help
Because it says:
My first thought was that I needed to recompile and create SimObjects but that stuff is not shown on the webpage nor on the paper. But as it does not show any .cc or .hh so I guess that is not the way to go.
Thank you for your patience. Non native speaker here.
Beta Was this translation helpful? Give feedback.
All reactions