[gem5-users] Binary of python code

2021-02-26 Thread VAIDYA ROHINI VILAS via gem5-users
Hello,
I want to create binary file for my own python code using cross compiler.
How to create it.
Please , provide any document/link which will help me to create binary of my 
own pyhton code.
Thank you.

___
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/%(_internal_name)s

[gem5-users] Making two MemObjects communicate via an added slave-master ports

2021-02-26 Thread Mariam Rakka (Alumni) via gem5-users
Hello,

I have two memobjects that perform some functionalities. Say memobject1 needs 
to receive input from the C file (With the workload, like hello.c), then needs 
to add the values and then needs to send them to Memobject2 where some other 
addition takes place.
In order to implement this functionality, I had my memobjects connected via the 
same SystemXbar in SE mode, then I sent inputs via the C code (instead of 
printing helloWorld..) by simply having pointers with addresses as addresses of 
registers inside the MemObjects. Then I used the same C code to read out the 
results of Memobject1 and send them to Memobject2. This worked perfectly.
Now, I need to make Memobject1 and Memobject2 directly communicate without 
interefence from the C code. Well, I still need to send inputs to memobject1 
from the C code, but the result needs to be sent directly in hardware to the 
second memobject. For that, I connected the two memobjects via another 
SystemXbar, where I had another slave-master pair connected between the 
memobjects. Now, I am not sure how to instantiate a master request with the 
data value from memobject1 to the memobject2. Bare in mind that each memobject 
has its distinct address and address rangeā€¦ Any ideas of how to make this 
simple communication happen? Thank you!
___
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/%(_internal_name)s

[gem5-users] Remote debugging and examining executed instruction

2021-02-26 Thread husin.it.90--- via gem5-users
I want to inspect the executed instructions in Gem5-se mode. To perform this, I 
have used gdb (remote gdb with Gem5 thro port 7000). I wrote a gdbinit file in 
order to trace each instruction being execute. 

set pagination off
set confirm off
set height 0
file armtest # binary file
target remote localhost:7000
b main
cont
#--
while $pc != 0xEND OF PROGRAM address
print $pc
stepi
end
#quit
#--

However, the output is a small portion of executed instructions. I have tested 
step, stepi, next, nexti ... but I did not get the expected output.
Is there another method to trace the program in a way we can know each 
instruction how many times execute.
___
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/%(_internal_name)s