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.

cpp testcase and verilog code

Status
Not open for further replies.

shiv_emf

Advanced Member level 2
Joined
Aug 31, 2005
Messages
605
Helped
22
Reputation
44
Reaction score
6
Trophy points
1,298
Activity points
4,106
Hi
suppose v write testcase in cpp. How does it apply vectors to verilog module ?
 

i think we may pass the vectors through functions or tasks in test bench.

correct me if i am wrong
 

    shiv_emf

    Points: 2
    Helpful Answer Positive Rating
shiv_emf said:
Hi
suppose v write testcase in cpp. How does it apply vectors to verilog module ?

Google for "Verilog PLI" to find answers. But why would you want that today? Given that SV (and E,OpenVera) has good OOP and abstraction modeling capabilities - usage of CPP for Verif is kind of going down. Anyway take a look at www.trusster.com for a methodology around C++ based testbenches.

Regards
Ajeetha, CVC
www.noveldv.com
 

    shiv_emf

    Points: 2
    Helpful Answer Positive Rating
cpp can only intract with hdl simulator using PLIs. So if you write a cpp testcase then you must use PLI to apply stimulus generated in cpp testcase to hdl simulator.
Kr,
Avi
http://www.vlsiip.com
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top