[gem5-users] HeteroGarnet SE simulation - Suppressing functional read errors in Network.hh

2024-03-14 Thread Preet Derasari via gem5-users
Hi, I am currently experimenting with *HeteroGarnet* and the *Mesh_XY* topology with the *weight table-based* and *XY routing algorithms*. I discovered something interesting while running the simple *threads.cpp* program (in tests/test-progs/threads/src/threads.cpp) in *SE mode* with the following

[gem5-users] Re: Chiplet Simulation with Gem5

2024-02-28 Thread Preet Derasari via gem5-users
> > > On Fri, Feb 23, 2024 at 2:46 AM zhangcongwu--- via gem5-users < > gem5-users@gem5.org> wrote: > >> Hi Preet, >> >> There's a missing parameter in configs/ruby/Ruby.py:259 (maybe different, >> search makeTopology), you should add a `full_system`

[gem5-users] Re: Chiplet Simulation with Gem5

2024-02-23 Thread Preet Derasari via gem5-users
t; Best, > Congwu Zhang > > > *From:* Preet Derasari via gem5-users > *Date:* 2024-02-23 04:05 > *To:* Srikant Bharadwaj > *CC:* The gem5 Users mailing list ; Krishna, Tushar > ; Preet Derasari > *Subject:* [gem5-users] Re: Chiplet Simulation with Gem5 > Hi Srikant, &

[gem5-users] Re: Chiplet Simulation with Gem5

2024-02-22 Thread Preet Derasari via gem5-users
t standalone > simulations with HeteroGarnet. Let me know if you have any questions. > > Thanks, > Srikant > > > > On Wed, Feb 21, 2024 at 1:55 PM Preet Derasari via gem5-users < > gem5-users@gem5.org> wrote: > >> Dear Dr. Krishna, >> >> Thank you

[gem5-users] Re: Chiplet Simulation with Gem5

2024-02-21 Thread Preet Derasari via gem5-users
po is deprecated - and was > actually forked off an earlier version of HeteroGarnet].* > Here is its documentation on the gem5 wiki: > https://www.gem5.org/documentation/general_docs/ruby/heterogarnet/ > > Best, > Tushar > On Feb 21, 2024 at 11:17 AM -0500, Preet Derasari via gem5-

[gem5-users] Chiplet Simulation with Gem5

2024-02-21 Thread Preet Derasari via gem5-users
Hi, Does anyone know how to do a chiplet based simulation on the latest Gem5 version with garnet? My basic requirements are: running distributed C++ applications (using multi-threading) on the Gem5 O3CPYU type, having the ability to control the number of cores on individual chiplet dies (even one

[gem5-users] SPEC2k17 V1.1.9 with gem5 gives errors in SE mode

2023-11-10 Thread Preet Derasari via gem5-users
Hello, As the title says, I am trying to run the SPEC benchmarks (v1.1.9) on gem5 v23.0.1.0 on an Ubuntu 20.04 LTS host machine with SE mode of simulation on DerivO3CPU. Whenever I run the simulation, I keep getting a similar error for all Intrate benchmarks (base version) saying that unrecognized

[gem5-users] Re: gcc compilation with m5_dump_stats/reset_stats

2023-01-25 Thread Preet Derasari via gem5-users
Hi Ayan, Can you show how you have coded the m5_dump_stats and m5_reset_stats? I would also recommend using multiple m5_dump_reset_stats(0,0) commands if you just want to print the statistics for a specific code regions. Also did you correctly compile the m5utils as described here?: https://www.

[gem5-users] Re: gcc compilation with m5_dump_stats/reset_stats

2023-01-25 Thread Preet Derasari via gem5-users
Hi Ayan, Can you show how you have coded the m5_dump_stats and m5_reset_stats? I would also recommend using multiple m5_dump_reset_stats(0,0) commands if you just want to print the statistics for a specific code regions. Also did you correctly compile the m5utils as described here?: https://www.

[gem5-users] More system calls support in SE mode

2022-03-28 Thread Preet Derasari via gem5-users
Hi! I was wondering if there was a way to implement more syscalls for the X86 ISA. I am talking about modifying the *arch/x86/linux/syscall_tbl64.cc *to include functions for unimplemented syscalls like fork, kill, etc. or for ignored syscalls like access. I know that the emulation functions are

[gem5-users] Can I run a ".exe" executable on SE/FS mode in gem5?

2022-03-18 Thread Preet Derasari via gem5-users
Hi! I am working on a project that requires me to analyze a Windows executable (64-bit compiled using Mingw-w64). I know that I can use wine to run it on the host Linux (Ubuntu) system. But since I want to analyze this executable is there a way to execute it on gem5 (with or without wine)? P.S. I

[gem5-users] Re: Interactive build script

2021-09-16 Thread Preet Derasari via gem5-users
That’s amazing Ryan! Thank you for this! On Thu, Sep 16, 2021 at 2:10 PM Gambord, Ryan via gem5-users < gem5-users@gem5.org> wrote: > Hi all, > > Just wanted to share a little build script I wrote for gem5. It presents a > table with all the architectures and optimization levels. You can navigate

[gem5-users] How does gem5 handle application pointers? (X86 build)

2021-08-30 Thread Preet Derasari via gem5-users
Hi all! I have a very simple C code where I am initializing a char variable using malloc and storing a string inside it using strcpy. Then I am simply trying to change the first character of the string. Here is a snippet of what my code looks like: FILE *filp char *fname = (char*)malloc(strlen("W

[gem5-users] How to set data breakpoints/watchpoints in FS/SE modes

2021-07-24 Thread Preet Derasari via gem5-users
Hi! I am trying to figure out ways in which I can use gem5's pre-existing SimObjects to set data watchpoints/breakpoints. If there exist no SimObjects to do that I can also create my own but for that, I need to understand the concept of data watchpoints. Can anyone help me with either of these? F

[gem5-users] Help with a debug flag

2021-07-17 Thread Preet Derasari via gem5-users
Hi! I am trying to use a debug flag with gem5.opt (X86 isa) called Stack via the command build/X86/gem5.opt --debug-flag=Stack. The problem I am getting no output from this flag. The reason I wanted to use it is to print the user call stack when I run a binary using configs/example/se.py config fi