Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Quartus being a Synthesis tool it will very likely not support SV-DPI - DPI is meant for function/task level interaction bet'n SystemVerilog and foreign languages(s) 9with C defined as of today, C++ can be used, potentially can be extended for other languages such as MATLAB/VHDL etc. - depends on user inputs).
If you still need an example, look in www.verificationguild.com for few examples. Or there are several online tutorials that can get you started. Good Luck Srini www.cvcblr.com/blog - Altera_Forum
Honored Contributor
Thanks. I just found out that there is a way...
1. Full license modelsim PE 2. Write a batch file compile sv and c code. Generate obj and dll files. 3. Run modelsim. I got my program works.. from SV to C and from C to SV. Sean - Altera_Forum
Honored Contributor
--- Quote Start --- Thanks. I just found out that there is a way... 1. Full license modelsim PE 2. Write a batch file compile sv and c code. Generate obj and dll files. 3. Run modelsim. I got my program works.. from SV to C and from C to SV. Sean --- Quote End --- Hi, Sean, Can you give/show me some simple example regarding on SystemVerilog DPI-C? Thanks.