You get this when you try to execute a non-memry instruction as a memory
instruction.

You first need to figure out what type of instruction was being executed
and then go about figuring what isn't done properly.  Since you have a core
dump you could view the stack trace most likely to figure out which
instruction it was attempting to call initiateAcc() on.  This will then
give you some clue as to the name/type of instruction where this was
called.

Alternatively you could just run with "Exec"  and "Decoder" debug flags
turned on to see which instruction likely caused this (since it fails at
cycle 34000, pretty fast).

It may just be the case that its a memory instruction present in the ISA
that gem5 currently doesn't have support for.


On Tue, Apr 1, 2014 at 12:19 PM, Rahul Jain <[email protected]>wrote:

> I am seeing an issue while running gem.opt with a timing CPU.
> This works fine with gem.debug. Any idea?
>
> ./build/X86/gem5.opt configs/example/se.py -c rahul/test1/hello.x86
> --cpu-type=timing --caches --mem-size=500MB
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled Apr  1 2014 21:58:25
> gem5 started Apr  1 2014 22:34:26
> gem5 executing on rahul-ubuntu
> command line: ./build/X86/gem5.opt configs/example/se.py -c
> rahul/test1/hello.x86 --cpu-type=timing --caches --mem-size=500MB
> Global frequency set at 1000000000000 ticks per second
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> *panic: initiateAcc not defined!*
>  @ cycle 782887789926682368
> [initiateAcc:build/X86/cpu/static_inst_exec_sigs.hh, line 30]
> Memory Usage: 782887789926682368 KBytes
> Program aborted at cycle 34000
> Aborted (core dumped)
>
> _______________________________________________
> 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

Reply via email to