help: how to choose from pli and vpi?

Y

yyqonline

Guest
i am working on an optimizing work about a mini-processor core used in
low power and low cost condition, and now my work is modeling and
optimizing the instruction set.
i want to take the assembler into simulation model by using an
interface between hdl and c language, such as the verilog pli and vpi
or systemverilog dpi, since the c is not complex, i think any of the
above three should work, but i need some advice about which to choose.
and it would be very appreciated to offer any guide about pli, dpi, and
vpi, e.g. recommendations about tutorials.
Thanks a lot.

Yuqing
 
yyqonline wrote:
i am working on an optimizing work about a mini-processor core used in
low power and low cost condition, and now my work is modeling and
optimizing the instruction set.
i want to take the assembler into simulation model by using an
interface between hdl and c language, such as the verilog pli and vpi
or systemverilog dpi, since the c is not complex, i think any of the
above three should work, but i need some advice about which to choose.
and it would be very appreciated to offer any guide about pli, dpi, and
vpi, e.g. recommendations about tutorials.
Thanks a lot.

Yuqing
Hi,

Your choice of using PLI1.0/VPI (PLI2.0)/DPI should be based on

o Support in your simulator for any of these: if your simulator does
not support a particular technology, rest of the discussion is useless.

o How widely your use of the C model will be: if you simply want to use
get and put functions, perhaps you do not care about finer details that
VPI provides.
o If you want to use C and Verilog task/function cross calling: DPI is
the best for this.

Ultimately you need to take the decision based on your need.

- Swapnajit.
--
SystemVerilog, DPI, Verilog PLI and all other good stuffs.
Project VeriPage: http://www.project-veripage.com
For subscribing to the mailing list:
<URL: http://www.project-veripage.com/list/?p=subscribe&id=1>
 

Welcome to EDABoard.com

Sponsor

Back
Top