Hello All,
I wanted to try running gem5-riscv with detailed CPU. I did compile gem5.opt
with the RISCV ISA. But when I tried to run the simulation, it is complaining
the following:
mxm@sever6304:gem5$ build/RISCV/gem5.opt ./configs/example/se.py -I 1100
--cpu-type=Deriv03CPU --caches --l2ca
e).
Cheers
Serhat Gesoglu
From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Zaman, Monir
[monir.za...@utdallas.edu]
Sent: 15 February 2018 19:12
To: gem5-users@gem5.org
Subject: [gem5-users] Unable to run GEM5-RISCV
Hello All,
I wanted to try run
Hello,
Thanks for the reply. I fixed that and rebuilt GEM5. I made some
micro-architectural modification in the "O3BaseCPU.py", so needed to rebuild
anyways. Still getting error:
mxm@server6304:gem5$ build/RISCV/gem5.opt ./configs/example/se.py -I 1100
--cpu-type=DerivO3CPU --caches --l2cac
Even more weird. I am trying to run with "TimingSimpleCPU", but getting error
saying I am trying to run "AtomicSimpleCPU"!!
mxm@server:gem5$ build/RISCV/gem5.opt ./configs/example/se.py -I 1100
--cpu-type=TimingSimpleCPU --caches --l2cache --l1d_size=8kB --l1i_size=2kB
--l2_size=1MB --l1d_a
I re-installed everything from scratch (git and then build the gem5.opt for
riscv with the modified O3CPU.py, FUPool.py etc in the o3 folder). But now,
when I run a random test simulation with the "DerivO3CPU", in the
m5out/confing.ini file, I see the CPU type as AtomicSimpleCPU.
**
Turns out the problem was using "-cpu-type" instead of using "-cpu-type".
But now this creates another problem. I am getting following error (see below).
mxm@ce6304:gem5$ ./build/RISCV/gem5.opt ./configs/example/se.py -I 1100
--cpu-type=DerivO3CPU --caches -c "spec_riscv/401_bzip2/bzip2_base.