[gem5-users] NVM interface in full system

2021-09-01 Thread Shougang Yuan via gem5-users
Hi, All, The new gem5 can support NVM interface now. However, it seems that this nvm interface cannot work well with full system. Anyone in our community knows the status of this NVM with full system? Thanks and regards Yuan ___ gem5-users mailing list

[gem5-users] Re: GDB debug help

2020-10-02 Thread Shougang Yuan via gem5-users
ectly point the gem5 > function which is giving the error? > > On Fri, Oct 2, 2020 at 12:01 PM Shougang Yuan via gem5-users < > gem5-users@gem5.org> wrote: > >> Hi, Giacomo, >> >> Thanks for your help. I am currently suffering a new problem. I set the >

[gem5-users] Re: GDB debug help

2020-10-02 Thread Shougang Yuan via gem5-users
from: > > > > (gdb) p curTick > $1 = {Tick (void)} 0x562aea48 > > > > Could you try doing: > > > > (gdb) p curTick() > > > > It should display the current Tick time > > > > Giacomo > > > > *From:* Shougang Yuan via ge

[gem5-users] GDB debug help

2020-10-01 Thread Shougang Yuan via gem5-users
Hi, All, I am running simulation in se mode and trying to use gdb debug a segmentation fault. Through trace debug, I found that the simulation suffers a segmentation fault in tick 534558604750. To figure out the reason for this bug, I launched the gdb debugger. But I suffered some weird results.

[gem5-users] How to initialize the the Stats:Scalar value and convert it to unsigned value

2020-09-22 Thread Shougang Yuan via gem5-users
Hi, All, I am trying to use gem5 internal scalar data type(Stats:Scalar), I tried to initialize it to a fixed value and register it in the regStats() function, but after the simulation, I found the value dumped out is 0. And also, if I want to do some calculation based on this value and convert i

[gem5-users] tutorials about gem5-gpu

2020-09-07 Thread Shougang Yuan via gem5-users
Hi, All, I am trying to get started with gem5-gpu, are there any tutorials about it for beginners? Best regards. Shougang ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistin

[gem5-users] dump out the register value of each instruction

2020-07-09 Thread Shougang Yuan via gem5-users
Hi, All, I want to dump out the source register and destination register value of each instruction. Suppose I have one instruction MOV_R_M : ld rax, DS:[rdx + 0x20]. How can I dump out the value of register *rax* and *rdx*. >From the debug trace like Exec or ExecAll. I can see that the result o

[gem5-users] Re: Running a program on GEM5 for specific number of instructions

2020-07-08 Thread Shougang Yuan via gem5-users
If you are talking about the SE mode, you can use the se.py. The fast forward option and max instruction option will be helpful. On Wed, Jul 8, 2020 at 2:28 PM ABD ALRHMAN ABO ALKHEEL via gem5-users < gem5-users@gem5.org> wrote: > Hi All, > > I want to run a program for 100k instructions but I wa

[gem5-users] Re: How to track the register values of instructions.

2020-07-07 Thread Shougang Yuan via gem5-users
mit stage. I tried to check the static or >> dynamic instruction classes, but seems that these values are not >> carried/stored with each instruction? Am I correct? Could you please give >> more hints? >> >> Best regards. >> Yuan >> >> On Thu, Jul 2, 2

[gem5-users] Re: How to track the register values of instructions.

2020-07-07 Thread Shougang Yuan via gem5-users
bug flags useful. > > Cheers, > Jason > > On Thu, Jul 2, 2020 at 7:48 AM Shougang Yuan via gem5-users < > gem5-users@gem5.org> wrote: > >> Hi, All, >> >> I am trying to modify the gem5 code and suffer some memory corruption >> bugs. I want to look at mo

[gem5-users] What is miscellaneous register

2020-07-07 Thread Shougang Yuan via gem5-users
Hi, All, I have one question regarding the miscellaneous register. IN the O3 cpu model, it mentioned the miscellaneous register(or misc register) a lot of times. So what's the exact meaning of this register? Can anyone give some hints? Best regards. Yuan __

[gem5-users] gem5 functional mode simulation

2020-07-02 Thread Shougang Yuan via gem5-users
Hi, All, I want to use the functional simulator of gem5 to verify the results of some program. But I did not find a lot of information online about the functional mode. So how can we use functional mode in gem5? Best regards. Yuan ___ gem5-users mailin

[gem5-users] How to track the register values of instructions.

2020-07-02 Thread Shougang Yuan via gem5-users
Hi, All, I am trying to modify the gem5 code and suffer some memory corruption bugs. I want to look at more details of each instruction. So is there a way to dump out the register value of each instruction. Best regards. Yuan ___ gem5-users mailing list

[gem5-users] Re: How to modify the simulator to load shared libs

2020-06-14 Thread Shougang Yuan via gem5-users
then redirect /lib64 or that directory. > >> >> I'm pretty sure this should work. > >> >> > >> >> I'm not sure why LD_LIBRARY_PATH does not work. I would dig dieeper > >> >> and try to understand that, theoretically it feels li

[gem5-users] Re: How to modify the simulator to load shared libs

2020-06-09 Thread Shougang Yuan via gem5-users
pretty sure this should work. > >> > >> I'm not sure why LD_LIBRARY_PATH does not work. I would dig dieeper > >> and try to understand that, theoretically it feels like it should > >> work. > >> > >> > >> On Mon, Jun 8, 2020 at 6:05

[gem5-users] Re: How to modify the simulator to load shared libs

2020-06-09 Thread Shougang Yuan via gem5-users
; and try to understand that, theoretically it feels like it should > work. > > > On Mon, Jun 8, 2020 at 6:05 PM Shougang Yuan via gem5-users > wrote: > > > > Hi, All, > > > > I am currently trying to run some benchmarks that need some shared libs. > If I run these

[gem5-users] Re: benchmark exits with last active thread context

2020-06-08 Thread Shougang Yuan via gem5-users
benchmarks used (and where they may be obtained, if possible). > - The exact output, including error, you received. > > Kind regards, > Bobby > -- > Dr. Bobby R. Bruce > Room 2235, > Kemper Hall, UC Davis > Davis, > CA, 95616 > > web: https://www.bobbybruce.net

[gem5-users] How to modify the simulator to load shared libs

2020-06-08 Thread Shougang Yuan via gem5-users
Hi, All, I am currently trying to run some benchmarks that need some shared libs. If I run these benchmarks on physical machines, I need to reset LD_LIBRARY_PATH to load these libs. But when I run the benchmarks with gem5, I tried to use --env options and --redirects options to set LD_LIBRARY_PAT

[gem5-users] Re: How to add shared libs that used by benchmarks to the simulator

2020-06-08 Thread Shougang Yuan via gem5-users
31 PM Shougang Yuan wrote: > > > > In syscall emulation mode. I tried to use --env option with myse.py, but > it still shows the same error. > > > > On Mon, Jun 8, 2020 at 3:39 AM Ciro Santilli > wrote: > >> > >> Syscall emulation or full syst

[gem5-users] Re: How to add shared libs that used by benchmarks to the simulator

2020-06-08 Thread Shougang Yuan via gem5-users
In syscall emulation mode. I tried to use --env option with myse.py, but it still shows the same error. On Mon, Jun 8, 2020 at 3:39 AM Ciro Santilli wrote: > Syscall emulation or full system? > > On Sun, Jun 7, 2020 at 10:01 PM Shougang Yuan via gem5-users > wrote: > > >

[gem5-users] How to add shared libs that used by benchmarks to the simulator

2020-06-07 Thread Shougang Yuan via gem5-users
HI, All, I am trying to run some benchmarks that need some shared libs, and these shared libs are imported by setting the environment variables "LD_LIBRARY_PATH" if I run it on physical machines. But if I run the benchmarks with gem5, the error message is "error while loading shared libraries: lib

[gem5-users] benchmark exits with last active thread context

2020-06-07 Thread Shougang Yuan via gem5-users
Hi, All, I am trying to run some benchmarks with gem5, and it always exits with the last active thread context. But actually, the program has never been executed. Any hints about this? THanks a lot. Best regards. Shougang ___ gem5-users mailing list --

[gem5-users] Question about environment variables

2020-06-07 Thread Shougang Yuan via gem5-users
Hi, All, I have c++ code that originally runs on physical machines with the ubuntu system, and to run these code on physical machines, I need to set some environment variables through export command or by modifying the bashrc files. Now I want to run the same code with gem5. So how can I add these

[gem5-users] Re: Protobuf error on different ubuntu version

2020-05-22 Thread Shougang Yuan via gem5-users
sion which is not breaking with Wundef. > > I’ve found that protobuf 3.6.1 is gem5 compatible > > > > Giacomo > > > > > > *From:* Shougang Yuan via gem5-users > *Sent:* 22 May 2020 20:57 > *To:* gem5 users mailing list > *Cc:* Shougang Yuan &g

[gem5-users] Protobuf error on different ubuntu version

2020-05-22 Thread Shougang Yuan via gem5-users
Hi, All, I developed some code based on gem5 and ran it on ubuntu16 before. Recently I have installed a newer version of ubuntu18 and tried to re-run my code. I pulled the cold to my private github repo on ubuntu16 and clone it again to the ubuntu18, but I suffered the error as shown in the follow