[gem5-users] O3 Pipeline Viewer

2013-02-05 Thread ali bagherian
Hi, When I run pipeline Viewer by following command, trace.out has data. .build/POWER/gem5.opt --debug-flags=O3PipeView --trace-file=trace.out --trace-start=0 configs/example/se.py --cpu-type detailed --caches -c ppctest/hello1 -m 1000 But when I run following command, the pipeview.out

[gem5-users] help with Gem5

2013-02-05 Thread ridwan madarbux
Dear Sir,          My name is Ridwan and I am a PhD student at University College London. I am quite new at using Gem5 and I am finding it quite difficult for the time being to modify what I want. I am currently investigating the sequence of data and control messages that each core sends to one

Re: [gem5-users] C library for python 2.7

2013-02-05 Thread Ranga, L Udaya
Hi Ali, I have tried this approach and it didn't work. This is the code in SConstruct that looks for Python libs: -- for lib in py_libs: if not conf.CheckLib(lib): print "Error: can't find library %s required by pyt

[gem5-users] The problem with running interconnct network simulation

2013-02-05 Thread abbas dehghani
hi all, I am trying to run the interconnect network by gem5 I downloaded the gem5 simulator at this link : http://repo.gem5.org/ in this part : gem5 source code -- development repository My Os is Linux mint 64bit. I tested the version of the softwares.the result is g++ (Ubuntu/Linaro 4.7.2-2ubun

[gem5-users] Memory Initialization

2013-02-05 Thread Yinchong Feng
Hi All, I'm new at using gem5, and I'm trying to run benchmarks on gem5 in SE mode. I feel confused about the momory initialization in SE mode. When I ran the bianries with debug-flags MemoryAccess, MemDepUnit and MemTest, I saw that the memory was initialized before the real simulation starting.

Re: [gem5-users] The problem with running interconnct network simulation

2013-02-05 Thread Tushar Krishna
Hi Dehghani, Sorry I am super swamped with work so can't help out too much on this. Anyone else seen this error earlier and know what the problem is? A few quick suggestions from the top of my head: - check if you have python-dev installed - am surprised why it would run without garnet, but break

Re: [gem5-users] Memory Initialization

2013-02-05 Thread Tao Zhang
do you mean cache or main memory? -Tao On 02/05/2013 11:46 AM, Yinchong Feng wrote: Hi All, I'm new at using gem5, and I'm trying to run benchmarks on gem5 in SE mode. I feel confused about the momory initialization in SE mode. When I ran the bianries with debug-flags MemoryAccess, MemDepUni

Re: [gem5-users] help with Gem5

2013-02-05 Thread Tao Zhang
Hi Madarbux, If you are using the classic memory model, then you can get the memory address from the packet by using getAddr(). You can refer to packet.hh and abstract_mem.hh for the detail. -Tao On 02/05/2013 05:54 AM, ridwan madarbux wrote: Dear Sir, My name is Ridwan and I am a

Re: [gem5-users] Memory Initialization

2013-02-05 Thread Yinchong Feng
I think that it's Main Memory. It shows like below: 0: 0: system.physmem: Write of size 4096 on address 0x0 0: system.physmem: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00ELF 0: system.physmem: 0010 02 00 28 00 01 00 00 00 34 9c 00 00 34 00 00 00 (

Re: [gem5-users] Memory Initialization

2013-02-05 Thread Tao Zhang
Hi Yinchong, I am not quite sure the exact meaning of "memory initialization" you mentioned (DRAM initialization steps? or Data initialization). If you care about how data is accessed by the gem5, I may give you some clue. In SE mode, your host machine first allocates a large memory space for you

Re: [gem5-users] Access to PC

2013-02-05 Thread Tao Zhang
Hi Rodrigo, please try "pkt->req->getPC()". There is a request point in packet.hh. see request.hh for the function information. -Tao On 02/05/2013 01:11 PM, Rodrigo Reynolds Ramírez wrote: Hello everyone, I am working in some cache replacement policies, for some of them I need the PC value