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 11000000 --cpu-type=Deriv03CPU --caches --l2cache --l1d_size=8kB --l1i_size=2kB -l2_size=1MB --l1d_assoc=1 --l1i_assoc=1 --l2_assoc=2 --cacheline_size=64 -c spec_bench_RISCV/401.bzip2_test/bzip2_base.riscv -o "spec_bench_RISCV/401.bzip2_test/input.program 5" gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 compiled Feb 14 2018 23:08:52 gem5 started Feb 15 2018 13:00:05 gem5 executing on server6304, pid 73808 command line: build/RISCV/gem5.opt ./configs/example/se.py -I 11000000 --cpu-type=Deriv03CPU --caches --l2cache --l1d_size=8kB --l1i_size=2kB -l2_size=1MB --l1d_assoc=1 --l1i_assoc=1 --l2_assoc=2 --cacheline_size=64 -c spec_bench_RISCV/401.bzip2_test/bzip2_base.riscv -o 'spec_bench_RISCV/401.bzip2_test/input.program 5' Usage: se.py [options] se.py: error: option --cpu-type: invalid choice: 'Deriv03CPU' (choose from 'TimingSimpleCPU', 'AtomicSimpleCPU', 'DerivO3CPU', 'TraceCPU') My compilation of "gem5.opt" didn't throw any error. :( Actually if I use the following command, I am getting different error message: mxm@server6304:gem5$ build/RISCV/gem5.opt ./configs/example/se.py -I 11000000 --cpu-type=TimingSimpleCPU --caches --l2cache --l1d_size=8kB --l1i_size=2kB -l2_size=1MB --l1d_assoc=1 --l1i_assoc=1 --l2_assoc=2 --cacheline_size=64 -c spec_bench_RISCV/401.bzip2_test/bzip2_base.riscv -o "spec_bench_RISCV/401.bzip2_test/input.program 5" gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 compiled Feb 14 2018 23:08:52 gem5 started Feb 15 2018 13:10:22 gem5 executing on server6304, pid 74348 command line: build/RISCV/gem5.opt ./configs/example/se.py -I 11000000 --cpu-type=TimingSimpleCPU --caches --l2cache --l1d_size=8kB --l1i_size=2kB -l2_size=1MB --l1d_assoc=1 --l1i_assoc=1 --l2_assoc=2 --cacheline_size=64 -c spec_bench_RISCV/401.bzip2_test/bzip2_base.riscv -o 'spec_bench_RISCV/401.bzip2_test/input.program 5' Usage: se.py [options] se.py: error: no such option: -2
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users