Jump to content

Is clock information allow in C with UVM testbench using DPI?


Recommended Posts

The short answer is yes. However, from the way you worded your question, I'm immediately inclined to use the PLI/VPI instead of the DPI.

 

There are a lot of ways to skin this cat. If you want more guidance, you'll need to give more details about what you're trying to accomplish. 

Link to post
Share on other sites

This question is very vague. C programs don't have the concept of event triggers or delays. But SystemVerilog can use event triggers or delays to schedule when you call a C code from the DPI, and C code can in turn call SV code that has event triggers and delays.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...