Hi all,
I want to get the PC address for each request packet in simple_dram.cc.
I tried the following code:
*uint64_t myPC_index = pkt->req->getPC() ;*
However, during the execution, an error occurs :
*gem5.opt: build/ALPHA/mem/request.hh:514: Addr Request::getPC() const:
Assertion `privateFlag
Hi Shuchang,
Not all requests come from a CPU (and have a PC). Check with hasPC before you
try to access it.
Good luck.
Andreas
From: 锟斤拷锟介畅 mailto:shanshuch...@gmail.com>>
Reply-To: gem5 users mailing list
mailto:gem5-users@gem5.org>>
Date: Monday, 8 April 2013 06:44
To: "gem5-users@gem5.org
Thanks for your reply, Andreas. It is very helpful.
Shuchang
2013/4/8 Andreas Hansson
> Hi Shuchang,
>
> Not all requests come from a CPU (and have a PC). Check with hasPC
> before you try to access it.
>
> Good luck.
>
> Andreas
>
> From: 锟斤拷锟介畅
> Reply-To: gem5 users mailing list
>
Hi
I am having a problem with the --script option.
I put --script=mypathtoRcsFile in my Gem5 command line. However, in the
system.terminal file, I got errors :
loading script...
Script from M5 readfile is empty, starting bash shell...
I have checked that the path I gave is correct. Does anyone
Hi everyone!
I'm using Benchmark Ocean to build the x86 system.But I always get this *
ERROR:Could not find factors for subblocking.*
*
*
*with command lined:*
* build/X86/gem5.debug configs/example/se.py --l1d_size=32kB
--l1i_size=32kB --l2_size=256kB --num-l2caches=2 -c
tests/test-p