[gem5-users] Re: TLB statistics riscv

2023-10-18 Thread Harshil Patel via gem5-users
Hi Micro, This could be a potential bug in the code. I have opened an issue on the gem5 github based on the above email. The link to the issue is the following: https://github.com/gem5/gem5/issues/484 Regards, Harshil Patel On Wed, Oct 18, 2023 at 1:40 AM Mirco Mannino via gem5-users < gem5-users

[gem5-users] Re: About using gem5 with RISCV arch.

2023-10-18 Thread bbruce--- via gem5-users
You’re trying to run a full-system simulation there and that requires specifying a disk image. The \`src/base/loader/image_file_data.cc:110: fatal: fatal condition fd < 0 occurred: Failed to open file None.\` error you are receiving is because you didn’t specify this. I’d recommend using the ge

[gem5-users] Re: Simulating NoC and collecting packet traces

2023-10-18 Thread gabriel.busnot--- via gem5-users
Hi Vijay, 1. *build/X86_MI_example/gem5.opt* is built with the MI protocol by default while *configs/learning_gem5/part3/simple_ruby1.py* requires the MSI protocol. I guess your simulation fails before it starts. You should see network related stats in a well configured ruby-based simulation.

[gem5-users] Re: Multiple debug files

2023-10-18 Thread gabriel.busnot--- via gem5-users
Hi Arth, You can only have a single debug log destination. However, You can take advantage of the FmtFlag special debug flag that will prepend the corresponding debug flag to every logged line. You can then use grep to filter down the lines of interest. If using bash, you can pipe the standard

[gem5-users] TLB statistics riscv

2023-10-18 Thread Mirco Mannino via gem5-users
Hi all, I am looking at how the TLB is implemented (riscv ISA). In particular, I am interested in TLB statistics. I noticed that, in the TLB::lokup method (https://github.com/gem5/gem5/blob/stable/src/arch/riscv/tlb.cc#L109), there is an input argument (i.e., hidden) which determines whether