- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to measure simulation time with system generator for hardware co-simulat ion?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-10-2011 08:44 AM
I am using hardware co-simulation now , and I find xapp1031.pdf is very helpful. But I have a question that how to measure simulation time with system generator for hardware co-simulation?
Could anyone help me ?
Thanks!
Re: How to measure simulation time with system generator for hardware co-simulat ion?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-11-2011 11:32 PM
hi,
try this:
tic;
sim('mymodel.mdl'); % a model consisting of your hwcosim block
toc;
This way I made a comparision between hwcosim and software simulation, which can also be found in the xilinx forums.
Have a nice simulation
Eilert
Re: How to measure simulation time with system generator for hardware co-simulat ion?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-15-2011 08:07 AM
Thank you very much!
I find it very helpful to me!
But I still have a question.
How can I measure the data trasmission time between PC and FPGA board?
Re: How to measure simulation time with system generator for hardware co-simulat ion?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-15-2011 08:16 AM
Re: How to measure simulation time with system generator for hardware co-simulat ion?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-15-2011 11:29 PM
Hi,
there's no example available online.
But I think you have managed it now, since using a .m script is no big deal.
What interface are you using?
LAN? Use ethereal/wireshark.
JTAG? If not also covered by the above tool you might simply use an oscilloscope to inspect the TCL, TDI and TDO lines.
Or for a deeper inspection, and cheaper than an oscilloscope, there's another cool tool:
http://en.wikipedia.org/wiki/The_Bus_Pirate
Have a nice simulation
Eilert
Re: How to measure simulation time with system generator for hardware co-simulat ion?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-17-2011 06:46 AM











