Eric Hsu Posted August 30, 2021 Report Share Posted August 30, 2021 DPI(Direct Programming Interface) is usually for integrating reference model into systemverilog testbench. Now there is matural integration guideline for reference model written in c/cpp. However, with the popularity of other high-level abstraction programming language like Python,Rust, people tend to develop simulation model in their favorite programming language. I am not sure whether it's considered to support more programming language in systemverilog DPI. Quote Link to comment Share on other sites More sharing options...
David Black Posted August 30, 2021 Report Share Posted August 30, 2021 It is doubtful to support since it would devote too many resources (specification, design, implementation, security, verification, training) from too many companies (SYNOPSYS, Cadence, Siemens EDA, Aldec) for something of little real benefit (commercial and practical). Another language interface would fragment support for an already complex language. No thank you. You can always use SWIG if you really feel the need. Eric Hsu 1 Quote Link to comment Share on other sites More sharing options...
dave_59 Posted September 3, 2021 Report Share Posted September 3, 2021 Although languages like Python have become immensely popular because they are easy to learn, enabling rapid prototyping, and have accumulated vast libraries for many different applications, they have yet to earn their place in Industry practice because of their relatively poor performance. Verification teams constantly struggle keeping their already slow nightly regression runs nightly; having it turn into days or weeks is not acceptable. I do know a number of design teams have successfully developed testbench models in <your_favorite_language_here>. Those are fragmented examples and as the other David says, it would be stretching resources to support all of them. We are still wasting resources from the mistake of having to support both Verilog and VHDL HDLs back in the 1990s. Is it possible optimizing Python overtakes the performance of C/C++ in the years to come? Maybe. But unlikely in the next decade. Quote Link to comment Share on other sites More sharing options...
Eric Hsu Posted September 14, 2021 Author Report Share Posted September 14, 2021 What I expect "support" is more like a guidance to encourage people try their favorite language in their reference model, which can act as another "Option". On 9/4/2021 at 3:36 AM, dave_59 said: Verification teams constantly struggle keeping their already slow nightly regression runs nightly Currently c/cpp is the most efficient programming language and is believed to develop fastest simulation model in practice, which also give more space to speed optimization. But when people want to develop raw model more early, more syntax friendly language is better choice. Currenly, SWIG is indeed a good approach to integrate other programming language as David's suggestion. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.