esl-epfl / gem5-x Goto Github PK
View Code? Open in Web Editor NEWThe gem5-X open source framework (based on the gem5 simulator)
License: BSD 3-Clause "New" or "Revised" License
The gem5-X open source framework (based on the gem5 simulator)
License: BSD 3-Clause "New" or "Revised" License
First, I compile the ARM_MOESI_hammer with the command line
scons build/ARM_MOESI_hammer/gem5.opt -j 7
Then I configure the full system according to the Manual.
Next I run the command line as following:
build/ARM_MOESI_hammer/gem5.opt --remote-gdb-port=0 configs/example/fs.py
--cpu-clock=1GHz --kernel=vmlinux --machine-type=VExpress_GEM5_V1
--dtb-file=/home/gem5/gem5/system/arm/dt/armv8_gem5_v1_1cpu.dtb
--disk-image=gem5_ubuntu16.img --caches --l2cache --l1i_size=32kB
--l1d_size=32kB --l2_size=1MB --l2_assoc=2 --mem-type=DDR4_2400_4x16
--mem-ranks=4 --mem-size=4GB --sys-clock=1600MHz
--ruby --network=garnet2.0 --cpu-type=O3CPU
But I encounter some strange issues:
Traceback (most recent call last):
File "", line 1, in
File "build/ARM_MESI_Three_Level/python/m5/main.py", line 457, in main
exec(filecode, scope)
File "configs/example/fs.py", line 308, in
(options, args) = parser.parse_args()
File "/usr/lib/python2.7/optparse.py", line 1384, in parse_args
values = self.get_default_values()
File "/usr/lib/python2.7/optparse.py", line 1329, in get_default_values
defaults[option.dest] = option.check_value(opt_str, default)
File "/usr/lib/python2.7/optparse.py", line 770, in check_value
return checker(self, opt, value)
File "/usr/lib/python2.7/optparse.py", line 439, in check_choice
% (opt, value, choices))
optparse.OptionValueError: option --cpu-type: invalid choice: 'AtomicSimpleCPU' (choose from 'O3_ARM_v7a_3', 'TimingSimpleCPU', 'ex5_big', 'DerivO3CPU', 'TraceCPU')
I find in the build_opts folder, the ARM_MOESI_hammer specifies the CPU_MODELLS=
'TimingSimpleCPU, O3CPU', so in the command line I specify the cpu-type=O3CPU
And I also try to change the cpu-type parameter as the options in the error information, but it seems that my operation does not work.
To be honest, I did not understand what to happen and why. Or the gem5-X did not support using ruby and garnet2.0 .
And how can I solve this problem?
If I use the ARM to replace the ARM_MOESI_hammer, the full system can work normally.
But I need to add the ruby and network?
Are there any suggestions?
Thanks a lot!
Hi, I am highly interested in the architectural extensions for in-cache computing in gem-x.
I noticed that the manual does not mention the extensions for cache computing,
so I was wondering if gem-x currently supports in-cache computing simulation.
Thanks a lot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.