Which is faster: DPI or PLI?

M

mag

Guest
Which is faster on the various SystemVerilog simulators? DPI or PLI?
 
On Wed, 10 Aug 2011 08:56:21 -0700, mag <mag@internet.com> wrote:

Which is faster on the various SystemVerilog
simulators? DPI or PLI?
You might reasonably expect DPI to be faster because
its call/return mechanism is so much simpler. However,
PLI (or, properly speaking these days, VPI) has been
around for a long time and it's likely that the
vendors have some pretty neat optimizations for it.
And depending on the simulator and the underlying
machine architecture, a DPI implementation may
have quite a lot of data representaion work to do
behind the curtain as you call from SV to C and
back. So I strongly suggest you simply try it.
--
Jonathan Bromley
 

Welcome to EDABoard.com

Sponsor

Back
Top