- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-05-2010 07:49 AM
Is there a way I could talk to the simulator using PERL or C++?
Reason: The reason I want to do this is to create a simulation environment so that I could run some simulations before I implement the thing on the FPGA.
This requires to load memory as well as reading from the memory in the simulator.
Thanks!
Kartik Thapar
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-06-2010 01:56 AM
Anyone?
Kartik Thapar
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-06-2010 06:45 AM
Hi Kartik,
Can you clarify your question? Are you looking for a way to automate your simulation runs or trying to directly drive the engine in some form like what you would do with PLI or VPI?
If it is a matter of just setting it up so you can run multiple runs you can easily do this by using the simulator commands vlogcomp, vhpcomp, fuse, etc..
If it is a request for PLI support, unfortunately ISim does not support PLI or VPI today although it is on the roadmap.
Thanks
Duth
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-06-2010 07:14 AM
Hi,
Thanks for the reply.
I'll give you an example of what I am trying to do.
I am writing contents of a file from the PC to the RAM on the FPGA.
This includes a perl module which calls a C++ executable and talks to the FPGA on board.
I wish to eliminate the FPGA part and mirror the process on a simulator.
Do you get my point?
Thanks! :)
Kartik Thapar
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-14-2010 03:46 AM
Anyone?
Kartik Thapar
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-14-2010 08:39 AM
Hi,
First of all apologies for missing your response. Must have slipped through the cracks.
I think I understand what you are looking for and it looks like this is a PLI/VPI type of call. Can you open a case with this issue and have your Field Apps Engineer involved. The reason being that we dont have a true PLI/VPI support although we have something in a lighter form that may work out here.
Thanks
Duth
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-14-2010 08:43 AM
Thanks for the reply.
QUOTE: Can you open a case with this issue and have your Field Apps Engineer involved.
How do I do that? :)
Apologies as I don't understand that.
Thank you
Kartik Thapar
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-01-2012 06:34 AM
Hello,
I started using iSim and have been relatively happy with it. We want to migrate some of our Modelsim projects to iSim, but iSim still doesn't support the verilog standard VPI. When will this be in iSim? I know it's on the roadmap, but not date has been announced.
Thanks!
Re: C++ and ISim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2012 03:32 PM
You could always give Icarus Verilog (http://iverilog.icarus.com/) a try. This is a freeware Verilog simulator that seems to have the feature that you need.











