SystemVerilog DPI?

D

Davy

Guest
Hi all,

I heard SystemVerilog provide a C language interface named DPI. I am
very interested in it.

1. Is there any online video seminar or tutorial about DPI?
2. Can DPI provide function includes timing cycle information?

Best regards,
Davy
 
On Nov 29, 4:53 am, "Davy" <zhushe...@gmail.com> wrote:
Hi all,

I heard SystemVerilog provide a C language interface named DPI. I am
very interested in it.

1. Is there any online video seminar or tutorial about DPI?
2. Can DPI provide function includes timing cycle information?

Best regards,
Davy
Hi Davy

A google on SystemVerilog DPI will give you a number of resources

http://www.project-veripage.com/dpi_tutorial_1.php
http://www.doulos.com/knowhow/sysverilog/tutorial/dpi
http://www.us.design-reuse.com/ipbasedsocdesign/slides_2005-mentor-edelman_01.html

being good starting points


The DPI is not a replacement for the PLI.

The DPI simply provides the ability to call C functions from
SystemVerilog as if they were SV tasks and for C to call SV tasks as if
they were C functions.
It is far easier to use than the PLI and offers higher performance.

The DPI, however, does not provide access to the simulation kernel -
thats why you still need the PLI.

Hope this helps

- Nigel
 

Welcome to EDABoard.com

Sponsor

Back
Top