[gem5-users] how to run program on gem5 across different number of cycles

2020-06-22 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I want to run a program on GEM5 se mode across a different number of cycles, for example, 1K cycles, 10K, 100K...etc. How I can do that? Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le.

[gem5-users] dump the data in text file in gem5

2020-06-26 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I made some changes on gem5 source code to collect the performance counters on a text file and I built the gem5 without any error. but I am not able to see the text file in the gem5 directory? Does anyone know how to dump the text file in gem5? any help would be appreciated. Thanks __

[gem5-users] Re: dump the data in text file in gem5

2020-06-26 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
*path="/home/abdkhail/gem5/output/output.txt"; ofstream file(path); file << input; file.close(); Does anyone know how to dump the text file in gem5? any help would be appreciated. Thanks ________ From: ABD ALRHMAN ABO ALKHEEL via

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

2020-07-08 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I want to run a program for 100k instructions but I want to skip the first 50k instructions? How can i do this? Any help would be appreciated. Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-

[gem5-users] Memory -Address -Gem5-O3

2020-07-12 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I am currently working on Gem5 with CPU O3 and I want to collect each instruction and it’s memory address , I can do that by using - -debug-file=Exec. But I want to know where can I find those address and print them on txt file. Which file does do that in Gem5? Any help would be appreci

[gem5-users] Re: Memory -Address -Gem5-O3

2020-07-13 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, Which file in gem5 prints the following output? I want to find the memory address for each instruction. Any help would be appreciated. [cid:eb12e102-62a0-40c1-90a3-38629a58b9fc] From: ABD ALRHMAN ABO ALKHEEL Sent: Sunday, July 12, 2020 7:46 PM To: gem5-u

[gem5-users] Re: Memory -Address -Gem5-O3

2020-07-13 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
. -- Francisco Carlos Silva Junior Phd Student at University of Brasilia De: ABD ALRHMAN ABO ALKHEEL via gem5-users Enviado: segunda-feira, 13 de julho de 2020 13:02 Para: gem5-users ; gem5 users mailing list Cc: ABD

[gem5-users] Re: Memory -Address -Gem5-O3

2020-07-13 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
state machine, say L1cache state machine. More specifically you can modify the mandatory_queue_in code for your requirement. The sequencer puts the CPU request into mandatory queue. Revert incase of any query. Regards, Vipin On Mon, 13 Jul, 2020, 01:18 ABD ALRHMAN ABO ALKHEEL via gem5-users

[gem5-users] Load forwarding to other instructions-O3CPU

2020-07-15 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I want to find the memory address that the LD instruction loads data from and track the instruction that consumes the data obtained by the load.(i.e. the load loads data from a given address into a register X, then the AND instruction consumes that X register). The load forwarding may

[gem5-users] Load forwarding to other instructions-O3CPU

2020-07-15 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I want to find the memory address that the LD instruction loads data from and track the instruction that consumes the data obtained by the load.(i.e. the load loads data from a given address into a register X, then the AND instruction consumes that X register). The load forwarding may

[gem5-users] Re: Load forwarding to other instructions-O3CPU

2020-07-15 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Any help would be appreciated. From: ABD ALRHMAN ABO ALKHEEL via gem5-users Sent: Wednesday, July 15, 2020 10:15 PM To: gem5 users mailing list ; gem5-users Cc: ABD ALRHMAN ABO ALKHEEL Subject: [gem5-users] Load forwarding to other instructions-O3CPU Hi All

[gem5-users] Load and store instructions in gem5

2020-07-18 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I want to ask about the memory instructions (LD & ST), do these instructions execute in LSQ or in the instruction queue IQ? Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_

[gem5-users] Instructions on memory bus-O3CPU

2020-07-22 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, I want to find the memory address that the LD instruction loads data from and track the instruction that consumes the data obtained by the load.(i.e. the load loads data from a given address into a register X, then the AND instruction consumes the data from the memory bus before that da

[gem5-users] CDB in GEM5

2020-07-23 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, Where can I find the instructions that are waiting on the CDB (common data bus) in gem5?? Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_

[gem5-users] Reading data from memory in Gem5

2020-07-26 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, how to read data from memory in Gem5 using virtual address? Can I read data from memory in Gem5 for a specific addresses? If so, should I use the virtual address or physical address? Any help would be appreciated. Thanks ___ gem5-users mailing

[gem5-users] Re: Reading data from memory in Gem5

2020-07-27 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Any suggestions would be appreciated. Thanks From: ABD ALRHMAN ABO ALKHEEL via gem5-users Sent: Monday, July 27, 2020 12:43 AM To: gem5 users mailing list ; gem5-users Cc: ABD ALRHMAN ABO ALKHEEL Subject: [gem5-users] Reading data from memory in Gem5 Hi All

[gem5-users] Reading from memory in Gem5

2020-08-01 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, how to read data from memory in Gem5 ? Can I read data from memory in Gem5 for a specific addresses? If so, should I use the virtual address or physical address? For example, how load instructions read the data from memory? Any help would be appreciated. Thanks _

[gem5-users] Re: Reading from memory in Gem5

2020-08-02 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, how to read data from memory in Gem5 ? Can I read data from memory in Gem5 for a specific addresses? If so, should I use the virtual address or physical address? For example, how load instructions read the data from memory? Any help would be appreciated. Thanks

[gem5-users] Re: Reading from memory in Gem5

2020-08-04 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
cesses to "backdoor" into the memory. See http://doxygen.gem5.org/release/current/classSystem.html#a5ecbd1eaa3e0d19f4640bb71a0b59d64. Cheers, Jason On Sun, Aug 2, 2020 at 7:01 AM ABD ALRHMAN ABO ALKHEEL via gem5-users mailto:gem5-users@gem5.org>> wrote: Hi All, how to read data from memory in Gem5 ? Can I re

[gem5-users] Re: Reading from memory in Gem5

2020-08-05 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
lease/current/classSystem.html#a5ecbd1eaa3e0d19f4640bb71a0b59d64. Cheers, Jason On Sun, Aug 2, 2020 at 7:01 AM ABD ALRHMAN ABO ALKHEEL via gem5-users mailto:gem5-users@gem5.org>> wrote: Hi All, how to read data from memory in Gem5 ? Can I read data from memory in Gem5 for a specific addr

[gem5-users] Re: Reading from memory in Gem5

2020-08-06 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
mPort` function that will return a gem5 port that you can use with functional accesses to "backdoor" into the memory. See http://doxygen.gem5.org/release/current/classSystem.html#a5ecbd1eaa3e0d19f4640bb71a0b59d64. Cheers, Jason On Sun, Aug 2, 2020 at 7:01 AM ABD ALRHMAN ABO ALKHEEL

[gem5-users] Re: Reading from memory in Gem5

2020-08-07 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
is a `getSystemPort` function that will return a gem5 port that you can use with functional accesses to "backdoor" into the memory. See http://doxygen.gem5.org/release/current/classSystem.html#a5ecbd1eaa3e0d19f4640bb71a0b59d64. Cheers, Jason On Sun, Aug 2, 2020 at 7:01 AM ABD ALRHMAN

[gem5-users] Re: Reading from memory in Gem5

2020-08-07 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
em5 port that you can use with functional accesses to "backdoor" into the memory. See http://doxygen.gem5.org/release/current/classSystem.html#a5ecbd1eaa3e0d19f4640bb71a0b59d64. Cheers, Jason On Sun, Aug 2, 2020 at 7:01 AM ABD ALRHMAN ABO ALKHEEL via gem5-users mailto:gem5-users@gem5.o

[gem5-users] Memory Addresses in Gem5

2020-08-11 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, Does the packet in gem5 have the memory address? for example, does this pkt->getAddr() return the memory address or not? If so, is that address physical or virtual? Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send

[gem5-users] Re: Memory Addresses in Gem5

2020-08-11 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
: Ahmed, Md Rubel Subject: [gem5-users] Re: Memory Addresses in Gem5 Hi, pkt->getAddr() returns memory address. pkt->print() also returns block address and offset. Thanks From: ABD ALRHMAN ABO ALKHEEL via gem5-users Sent: Tuesday, August 11, 2020 6:32

[gem5-users] Re: Memory Addresses in Gem5

2020-08-12 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
r = req->getPaddr(); So you have to do translation before. Translation sets the physical address on the Request, which contains both _paddr and _vaddr fields. Another option is to have a look at how some of the memory tests are doing it. On Wed, Aug 12, 2020 at 1:55 AM ABD ALRHMAN ABO ALKHEEL via

[gem5-users] Re: Memory Addresses in Gem5

2020-08-15 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
ou have to do translation before. Translation sets the physical address on the Request, which contains both _paddr and _vaddr fields. Another option is to have a look at how some of the memory tests are doing it. On Wed, Aug 12, 2020 at 1:55 AM ABD ALRHMAN ABO ALKHEEL via gem5-users wrote: >

[gem5-users] Re: Memory Addresses in Gem5

2020-08-16 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
{ > if (req->hasPaddr()) { > addr = req->getPaddr(); > > So you have to do translation before. Translation sets the physical > address on the Request, which contains both _paddr and _vaddr fields. > > Another option is to have a look at how some of the

[gem5-users] Re: Memory Addresses in Gem5

2020-08-16 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
I forgot to mention that I want to do that on O3CPU. Thanks From: ABD ALRHMAN ABO ALKHEEL via gem5-users Sent: Sunday, August 16, 2020 7:02 PM To: Ciro Santilli Cc: gem5 users mailing list ; Ahmed, Md Rubel ; ABD ALRHMAN ABO ALKHEEL Subject: [gem5-users] Re

[gem5-users] Re: Sending more than one memory request to the memory through sendTimingReq

2020-08-18 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi Muhammad, I want to read the data (256) from an memory address in Gem5. I did the following but I have two issues which are how to specify the data size (256 bytes) and get the memory port. Any help would be appreciated. RequestPtr req1; PacketPtr newPkt = new Packet(r

[gem5-users] Re: Cannot read from main memory with a new cpu port similar to dcacheport

2020-09-02 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi Muhammad, I would like to access memory to read data from it for debugging purpose? Kindly can you tell how did you create a cpu port to access memory and read the 256 bytes from a specific address? Thanks From: Muhammad Aamir via gem5-users Sent: Wednesday, S

[gem5-users] Tracking read()/write() system calls in gem5

2020-09-22 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, can I track the read()/write() system calls in GEM5 in SE mode? If so, how I can do that? Any help would be appreciated. Thanks ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_pag

[gem5-users] Re: Tracking read()/write() system calls in gem5

2020-10-02 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
ALRHMAN ABO ALKHEEL via gem5-users wrote: > > Hi All, can I track the read()/write() system calls in GEM5 in SE mode? If > so, how I can do that? Any help would be appreciated. Thanks > ___ > gem5-users mailing list -- gem5-users@gem5.org &

[gem5-users] track the write syscall in the kernel

2020-10-24 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All; I want to track the write syscall in order to do some calculations on the written bytes. I just want to know what is the function that does write syscall function and how I can the written bytes from it. Any help would be appreciated. Thanks https://github.com/torvalds/linux/blob/mast

[gem5-users] fatal: syscall creat (#85) unimplemented. Memory Usage: 733824 KBytes

2020-12-03 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi ALL, I am trying to run the binary tar on gem5 in se mode and i got the following error. fatal: syscall creat (#85) unimplemented.Memory Usage: 733824 KBytes I used this command: build/X86/gem5.opt configs/example/se.py -c /bin/tar -o "-cvfz arc.tar.gz o1" --cpu-type=DerivO3CPU --caches An

[gem5-users] PTE Flags

2020-12-11 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hello Everyone, I am currently working on write_func system call in syscall_hh and i want to prevent writing to the file by changing the page table entry (PTE) flag. Where should i change? Any help would be appreciated. Thanks ___ gem5-users mailing

[gem5-users] Changing PTE flags from write_func

2020-12-19 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, is there anyway to modify the page table entry PTE flags from the write_func function or is there anyway to prevent writing to a file from the from the write_func? Any help would be appreciated. Thanks ___ gem5-users mailing list -- gem5-users@g

[gem5-users] Re: PTE Flags

2020-12-21 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
access page table entries from a process pointer. syscall_emul.hh already includes sim/process.hh, so you can follow what is done in tlb.cc and play with the flags that you want to change. -Ayaz On Fri, Dec 11, 2020 at 5:08 PM ABD ALRHMAN ABO ALKHEEL via gem5-users mailto:gem5-users@gem5.org

[gem5-users] run binary file 3 times on gem5

2021-01-31 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, How to run a binary file three times on gem5? I want to find the execution time for a binary file for 1M instructions. However, the gem5 is completed on 400K instructions because the binary file is completed. So how I can run it three times in order to reach 1M instructions? Any help w

[gem5-users] run a binary file for 3 times on gem5

2021-01-31 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi All, How to run a binary file three times on gem5? I want to find the execution time for a binary file for 1M instructions. However, the gem5 is completed on 400K instructions because the binary file is completed. So how I can run it three times in order to reach 1M instructions? For exampl

[gem5-users] gem5 fs mode error

2021-04-01 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hello Everyone, I got the following error when i run spec2006 benchmark on gem5 fs mode. Any help would be appreciated. Error Aborting: command not found abdkhail@proton:~/fs_gem5/gem5$ EXT4-fs (hda1): Remounting filesystem read-only -bash: syntax error near unexpected token `hda1'