Forum Discussion

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

Using SystemVerilog with QII

The intent of this document is to introduce many of the significant features of the SystemVerilog language that are supported by the Quartus II software. Each section consists of examples which range from small code snippets to complete synthesizable code. The document does not attempt to address every feature of the SystemVerilog language that has been incorporated into the Quartus II software.

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Could you please let me know, with the start web edition of QII, what is possibile to simulate about a testbench in SystemVerilog, which features ? How about 'program', 'virtual interfaces', classes ... ? And How about simulation of a testbench written in systemverilog and a DUT in VHDL or Verilog ? thanks

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Could you please let me know, with the start web edition of QII, what is possibile to simulate about a testbench in SystemVerilog, which features ? How about 'program', 'virtual interfaces', classes ... ? And How about simulation of a testbench written in systemverilog and a DUT in VHDL or Verilog ? thanks

    --- Quote End ---

    For simulation, you need to use Modelsim Altera Starter Edition, not Quartus.

    http://www.altera.com/products/software/quartus-ii/modelsim/qts-modelsim-index.html

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Note: Modelsim ASE does not support simulating designs that have mixed HDL (both VHDL and Verilog).

    There is also some limitations on the size of the design. (However... it's free!)

    (Oh and as Dave taught me, it doesn't support Tk).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    All versions of Modelsim running Verilog support SystemVerilog as well with the following language restrictions:

    • Constrained Random Generation (constraint/ randomize)

    • Functional Coverage (covergroups)

    • Assertions (assert/cover/checker)

    • Program Blocks (which you should not use anyways (http://go.mentor.com/programblocks))

    • DPI (if PLI is available)

    These features are available with Questa.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you all for your help & info.

    I'm trying to install Modelsim Altera Starter Edition an Linux, having already the Quartus II 11.1sp2, but I get the following error :

    "You must install the service pack in the same directory as an existing Quartus II software installation. Specify the directory for the existing installation."

    I've tried several paths, with root access rights, with bash shell, but it doesn't seem to work. I've to uninstall the Quartus II sw ?

    thank you

    marco
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I'm trying to install Modelsim Altera Starter Edition an Linux, having already the Quartus II 11.1sp2

    --- Quote End ---

    Which Linux distro? I have installed Quartus II 11.1sp1 and Modelsim-ASE under Centos 6.2 and Ubuntu 11.10. Centos was trouble-free, Ubuntu had many issues.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Which Linux distro? I have installed Quartus II 11.1sp1 and Modelsim-ASE under Centos 6.2 and Ubuntu 11.10. Centos was trouble-free, Ubuntu had many issues.

    Cheers,

    Dave

    --- Quote End ---

    uname -a

    Linux Compaq 2.6.38-14-generic# 58-Ubuntu SMP Tue Mar 27 18:48:46 UTC 2012 i686 i686 i386 GNU/Linux

    think is 'natty' Ubuntu distro
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    'natty' Ubuntu distro

    --- Quote End ---

    Try this;

    1) Create a VirtualBox Virtual Machine

    2) Install Centos 6.2 (this is the same as Red Hat Enterprise 6.2)

    3) Install Quartus and Modelsim

    4) Use it.

    If you like this particular distro, then just start using it. If you don't like it that much, just use it for the Altera tools.

    Ubuntu is not a supported distribution for the Altera Linux tools, and its not really worth wasting your time finding all the 'bugs' that using Ubuntu will bring.

    Cheers,

    Dave