OVP Forums - A community of assistance, help, questions, and answers.
  FAQFAQ    SearchSearch      RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in
regarding OVPSIM

 
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> Ask a Question
View previous topic :: View next topic  
Author Message
SunilRathod



Joined: 06 Jun 2019
Posts: 26

PostPosted: Wed Jun 12, 2019 3:49 am    Post subject: regarding OVPSIM Reply with quote

how can we execute our own program in OVPsim. where to write our code and how to execute.please suggest the steps clearly.
Back to top
View user's profile Send private message
DuncGrah
OVP Technologist
OVP Technologist


Joined: 27 Feb 2008
Posts: 1581
Location: United Kingdom

PostPosted: Wed Jun 12, 2019 6:01 am    Post subject: Reply with quote

If you take a look at the Hello World example Imperas/Examples/HelloWorld you will see that this has some different ways to run an application on a target processor.
One of these is in the usingISS directory where there is a script showing how to load and run an ELF file.

The ELF file is loaded using the --program argument, this puts it into memory and then tells the processor to execute the code starting at the _start symbol.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> Ask a Question All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Information regarding OVP © 2008-2020 Imperas Software