Jump to content
Sign in to follow this  
wilson_on

Any DPI which can call Python in verilog testbench?

Recommended Posts

Hi, I am new to Python and I have been asked to build a UVM testbench which can call Python functions.  Is there any way that I can do which is similar to DPI-C for C functions in verilog testbench?  If you can provide a detail example, that would be great.

 

Thanks.

 

Share this post


Link to post
Share on other sites

Yes.  I can't find it at the moment but some time with Google search should turn up a whole library a guy had written that uses Python as the verification language via the dpi.  Seemed very interesting but I never did more than skim the docs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×