Direct Programming Interface or DPI is an interface between SystemVerilog and C that allows inter-language function calls. This means a SystemVerilog task or function can call a C function. And conversely, a C language function can call a SystemVerilog task or function. A C function call from the SystemVerilog side will look identical to any other SystemVerilog task or function call. Similarly, a SystemVerilog task or function call from the C side is no different from any other C function call (see Figure 1). And best of all, you can do all these without any knowledge or overhead of PLI or VPI.
|
Editorial
Upcoming Events
DAC 2012 at San Francisco CA - Jun 3 - 7, 2012
|
|
|