[gem5-users] Maybe pipeview script has some version compatibility issues?

2021-04-12 Thread weiwei Zhao via gem5-users
cmd:./util/o3-pipeview.py -c 1000 -o DP1d_corr/pipeview.out --color DP1d_corr/trace.out Processing trace... Traceback (most recent call last): File "./util/o3-pipeview.py", line 379, in main() File "./util/o3-pipeview.py", line 371, in main *(tick_range + inst_range)) File "./util

[gem5-users] Re: Maybe pipeview script has some version compatibility issues?

2021-04-12 Thread Gabe Black via gem5-users
Maybe a python 2 vs 3 issue? I haven't used this script myself. Gabe On Mon, Apr 12, 2021 at 2:02 AM weiwei Zhao via gem5-users < gem5-users@gem5.org> wrote: > cmd:./util/o3-pipeview.py -c 1000 -o DP1d_corr/pipeview.out --color > DP1d_corr/trace.out > > Processing trace... Traceback (most recen

[gem5-users] Re: Maybe pipeview script has some version compatibility issues?

2021-04-12 Thread Hoa Nguyen via gem5-users
Hi, Thanks for reporting this bug. It is indeed a python3 compatibility issue, which is is addressed here https://gem5-review.googlesource.com/c/public/gem5/+/7 and will be merged to the develop branch soon. Regards, Hoa Nguyen On 4/12/21, Gabe Black via gem5-users wrote: > Maybe a python 2

[gem5-users] Re: Question about multi-socket simulation for x86

2021-04-12 Thread Jason Lowe-Power via gem5-users
Hi Chris, Using Garnet or SimpleNetwork with Ruby will allow you to set the latency of each link to anything you'd like and create any topology you'd like. You should be able to configure this to model a multi-socket system. That said, it's unclear if any of the current protocols will model a mode

[gem5-users] Re: can't reset stats.txt when using KVM CPU

2021-04-12 Thread Hoa Nguyen via gem5-users
Hi, final_tick and sim_insts are RootStats (they are in src/sim/root.cc) and they won't be reset by calling reset stats. Regards, Hoa Nguyen On 4/11/21, kong han via gem5-users wrote: > Hi all, > Now I using the KVM CPU to run fs mode, and I try two ways to reset the > m5out/stats.txt but all c

[gem5-users] Re: About links on learing gem5

2021-04-12 Thread Hoa Nguyen via gem5-users
Hi, Thank you for reporting this bug. The links have been updated! Regards, Hoa Nguyen On 4/6/21, Ahmad SB via gem5-users wrote: > Hi > Links on https://www.gem5.org/documentation/learning_gem5 are not valid > anymore (e.g. > gem5.org/dist/current/gem5/cpu_tests/benchmarks/bin/arm/Bubblesort )

[gem5-users] Re: Maybe pipeview script has some version compatibility issues?

2021-04-12 Thread weiwei Zhao via gem5-users
OK ^.^ Hoa Nguyen wrote: > Hi, > > Thanks for reporting this bug. It is indeed a python3 compatibility > issue, which is is addressed here > https://gem5-review.googlesource.com/c/public/gem5/+/7 and will be > merged to the develop branch soon. > > Regards, > Hoa Nguyen > > On 4/12/21, Gabe

[gem5-users] Re: The sim_insts in stats.txt under O3 type seems to be wrong

2021-04-12 Thread Bobby Bruce via gem5-users
Hey Charlie, I don't think there's any bug here. The debug out file is not one instruction per line. Certain operations may be over two lines, for example. We don't expect the number of lines in this file to equal the number of simulated instructions so you can't compare these side-by-side. Kind

[gem5-users] Re: Converting KVM-taken checkpoint to atomic-needed checkpoint

2021-04-12 Thread Bobby Bruce via gem5-users
Hey Majid, The short answer is yes, this use-case should be supported. You can use the `--restore-with-cpu` option to restore to the Atomic CPU. Kind regards, Bobby -- Dr. Bobby R. Bruce Room 2235, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Fri, Apr 9, 2021 at 2

[gem5-users] Re: FS RISCV PCI

2021-04-12 Thread Ayaz Akram via gem5-users
Hi Nikolaos, Thanks for bringing this to our attention. We are looking at this problem here at Davis and will try to respond soon. -Ayaz On Sat, Apr 10, 2021 at 4:42 AM Νικόλαος Ταμπουρατζής via gem5-users < gem5-users@gem5.org> wrote: > > Dear Gem5 community, > > I try to add PCI interface in

[gem5-users] Re: Copying/Writing data from one packet to another packet in gem5

2021-04-12 Thread Ayaz Akram via gem5-users
Hi Aritra, As you might have already noticed that there is a ptr to the data being transferred (PacketDataPtr data) in the packet class: http://doxygen.gem5.org/release/current/classPacket.html I think you should be able to use methods like setData(), writeData() from the same class to copy data