Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17252 Discussions

SystemVerilog DPI works with Quartus II

Altera_Forum
Honored Contributor II
2,908 Views

Hi all, 

 

I'm try to find out that Quartus 9.0 support SystemVerilog 2005 with DPI or anyone has a very simple examples show how to connect DPI-C between SV-to-C or C-to-SV. 

 

Thanks, 

Sean
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
2,002 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,002 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,002 Views

 

--- 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.
0 Kudos
Reply