Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

SystemVerilog DPI works with Quartus II

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.