-
Hope you are inside gem5 folder with any of suggested setup methods mentioned earlier.
-
created a configs/src/simple.py or any filename with this content
-
build/X86/gem5.opt configs/src/simple.py
- It should work similarly as it works ./tests/test-progs/hello/bin/X86/linux/hello and give output as "Hello World"
-
I got caught up with an error
- NameError: name 'DDR3_1600_x64' is not defined.
- this helped me out.
- Code in repo is modified accordingly
- NameError: name 'DDR3_1600_x64' is not defined.
-
Specially If you are using docker, I would suggest to play with mounting a volume, such that it eases you to work on your favourite editor.