Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to simulate a design in Verilog while test-bench in C++?

Status
Not open for further replies.

jcpu

Full Member level 4
Joined
Dec 17, 2005
Messages
214
Helped
18
Reputation
36
Reaction score
5
Trophy points
1,298
Activity points
2,968
an amateur qustion for help:

does anyone knows how do I sim
if I have my design in verilog
while test-bench in C++
 

Re: verilog & C++

If you're using VCS, then you can use the DirectC Interface.

From VCS Manual:

DirectC Interface — significantly improves ease-of-use and performance over existing PLI-based methods by allowing you to directly embed user-created C/C++ functions within your Verilog design description. VCS atomically recognizes C/C++ function calls and integrates them for simulation, thus eliminating the need to manually create PLI files. DirectC also eliminates the debugging and by bypassing PLI overhead, increases performance for simulating C/C++ code with Verilog. For details, see the VCS DirectC User Guide.
 

Re: verilog & C++

Usually in VCS and NCSIM , we all include the c/c++ lib through PLI method!
 

verilog & C++

please use pli when use modelsim!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top