@Andreas, I agree with what you said. I didn't word my previous email very carefully. I meant, that if you want to model the *specific coherence protocol* of the T1, then you probably want to use Ruby (and would likely need to write a new protocol).
@Monir: Sounds like you got it working finally! Now... it seems that the MinorCPU doesn't support SPARC :(. There's a couple of things you can do here. The easiest thing you can do is to not use SPARC. There aren't many active gem5 users that use SPARC (there are a few!), so the support is not as well maintained as the support for x86 and ARM. Second, you could try to fix the MinorCPU so it supports SPARC. I don't really know where you would start other than turning on debug flags (--debug-flag=...) and to start digging into the MinorCPU and SPARC ISA code. Good luck! Jason On Thu, Aug 11, 2016 at 2:59 PM Zaman, Monir <[email protected]> wrote: > Hello all, > > I think the “minor” CPU got compiled for SPARC. But now, when I run the > hello world for SPARC using “minor” CPU, I get a error: > > > > {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 11 2016 14:46:02 > > gem5 started Aug 11 2016 14:54:06 > > 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=8192MB -c > /home/gem5/gem5-stable/tests/test-progs//hello/bin/sparc/linux/hello > > > > Global frequency set at 1000000000000 ticks per second > > 0: system.remote_gdb.listener: listening for remote gdb on port 7000 > > **** REAL SIMULATION **** > > info: Entering event queue @ 0. Starting simulation... > > panic: fault (illegal_instruction) detected @ PC > (0x10b998=>0x10b99c=>0x10b9a0).(0=>1) > > @ tick 324037 > > [invoke:build/SPARC/sim/faults.cc, line 47] > > Memory Usage: 8664216 KBytes > > Program aborted at cycle 324037 > > ./run_script.sh: line 16: 37877 Aborted > $GEM5_EXE_LOC_sparc/gem5.perf $RUN_MODE_LOC/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="8192MB" -c $TEST_LOC/hello/bin/sparc/linux/hello > > > > > > > > Any idea? > > > > /Monir Zaman > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
