cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Voyager
Voyager
151 Views
Registered: ‎05-25-2016

Cosimulation with Xsim in vivado

Hello,

I've found the following article I thought would be a good path to getting a zynq7000 cosimulation up and running, but I don't really understand it.  

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842109/QEMU+SystemC+and+TLM+CoSimulation

 

Is it possible to have a cosimulation with Vivado simulator and QEMU where you can run/boot into linux and develop software while seeing the HDL operation at the same time in the vivado simulator?  

In trying to figure this out, I've read that you need something called ventilator to do this and the Xilinxs ecosystem can't actually accomplish a cosim in this manner.

0 Kudos
2 Replies
Highlighted
118 Views
Registered: ‎09-05-2018

Re: Cosimulation with Xsim in vivado

Hello,

This tutorial might help you: http://blog.reds.ch/?p=1180

Cheers,

Rob

0 Kudos
Highlighted
Voyager
Voyager
99 Views
Registered: ‎05-25-2016

Re: Cosimulation with Xsim in vivado

Hi @roberto.rigamonti ,

Thats actually how I ended up here.  That write up is fantastic.  I'm wondering if I use Xsim do I need to use all those scripts to get a zynq simulation model.  It looks like he swaps the zynq VIP from Xilinx for a different cosimulation model.

I'm wondering:

1. For xsim (vivado simulatior), how do I replace the zynq VIP with the co simulation model like he does with his scripts.  I'm a little unsure because it was slightly confusing and he is target Questa and producing .do files.

2. If I take the same approach he does, do I need to write my own scripts for vivado simulator?

3. Where did he get the cosimulation model for the zynq from.  He replaced the vivado generated zynq VIP with something else.  Where did this other zynq model come from?

3a. Is the zynq model just a wrapper?

0 Kudos