Hello Jason,
So I recompiled the SPARC configuration (now with the MinorCPU option in 
‘build_options’ folder). Once that was done, I tried to run the hello world on 
SPARC config using the “minor” CPU. Below is the error message I received. (I 
tried running the same thing on “x86” architecture in GEM5 (after compiling for 
X86) and it worked just fine with the MinorCPU).

{ce_abc:gem5-stable} ./run_script.sh
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Aug  4 2016 16:33:38
gem5 started Aug  8 2016 12:49:43
gem5 executing on ce_abc.utdallas.edu
command line: /home/gem5/gem5-stable/build/SPARC/gem5.perf 
/home/gem5/gem5-stable/configs/example/se_editted.py -n 1 --cpu-type=minor 
--caches --l1d_size=8kB --l1i_size=16kB --l2cache --l2_size=3MB --l2_assoc=12 
--cpu-clock=1.2GHz --sys-voltage=1.2V --mem-size=1024MB -c /home 
/gem5/gem5-stable/tests/test-progs//hello/bin/sparc/linux/hello

Usage: se_editted.py [options]

se_editted.py: error: option --cpu-type: invalid choice: 'minor' (choose from 
'arm_detailed', 'AtomicSimpleCPU', 'DerivO3CPU', 'TimingSimpleCPU', 'timing', 
'detailed', 'atomic')


One more question is, when I tried to run 2 “Hello_world” program on the SPARC 
CPU using the “O3” model, it ran the program only on 1 CPU and just 1 workload 
copy. The second CPU is present in the config.ini file, but it’s all 0 in the 
stats.txt file for the second CPU. Below is the command I used for the 
Multithreading option:

{ce_abc:gem5-stable} ./run_script.sh
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Aug  4 2016 16:33:38
gem5 started Aug  8 2016 13:08:47
gem5 executing on ce_abc.utdallas.edu
command line: /home/gem5/gem5-stable/build/SPARC/gem5.perf 
/home/gem5/gem5-stable/configs/example/se.py -n 2 --cpu-type=detailed --caches 
--l1d_size=8kB --l1i_size=16kB --l2cache --l2_size=3MB --l2_assoc=12 
--cpu-clock=1.2GHz --sys-voltage=1.2V --mem-size=1024MB -c 
/home/gem5/gem5-stable/tests/test-progs/hello/bin/sparc/linux/hello -c 
/home/gem5-stable/tests/test-progs/hello/bin/sparc/linux/hello

Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (1024 Mbytes)
0: system.remote_gdb.listener: listening for remote gdb on port 7000
0: system.remote_gdb.listener: listening for remote gdb on port 7001
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
Hello World!Exiting @ tick 32173792 because target called exit()


Thanks in advance
Monir
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to