Forum Discussion

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

VHDL 2008, DSP Builder and Quartus 10

Hi

I installed Quartus and DSP Builder v10 today and am already having trouble. In the sensitivity list for some of my processes in my hand written code I use the 'all' keyword, which apparently is only valid for VHDL 2008. From within Quartus I simply change the VHDL version in project settings and all is well. However I cannot now compile similar blocks in DSP Builder in Simulink (via the Import VHDL block) as I think VHDL 1993 is being assumed when Quartus is called to generate the SIMGEN stuff... as such none of my projects can now be compiled in DSP Builder / Simulink. Is there a way to set VHDL 2008 as a default in Quartus 10 or to tell Simulink DSP Builder v10 to tell Quartus 10 to use VHDL 2008?

Many thanks, Kurt

7 Replies

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

    Or, if you want to make VHDL-2008 your default VHDL version for all your VHDL files, you can add the following line in your QSF:

    set_global_assignment -name VHDL_INPUT_VERSION VHDL_2008

    This can also be done in the GUI:

    Assignments > Settings > Analysis & Synthesis Settings > VHDL Input

    and choose "VHDL 2008" under VHDL Version.

    However, do note that not all VHDL-2008 features have been implemented.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Many thanks indeed!!!

    Adding:

    -- synthesis VHDL_INPUT_VERSION VHDL_2008

    as the first line of my hand-coded VHD files worked perfectly.

    Kindest regards, Kurt
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    excellent, this should probably go into the DSP Builder manual. i don't think the default QII VHDL version will change anytime soon (new keywords), so it would be useful to know how to control it manually

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

    hi guys anyboy knows how to implemente the SDRAM in DSP builder??

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

    --- Quote Start ---

    Or, if you want to make VHDL-2008 your default VHDL version for all your VHDL files, you can add the following line in your QSF:

    set_global_assignment -name VHDL_INPUT_VERSION VHDL_2008

    This can also be done in the GUI:

    Assignments > Settings > Analysis & Synthesis Settings > VHDL Input

    and choose "VHDL 2008" under VHDL Version.

    However, do note that not all VHDL-2008 features have been implemented.

    --- Quote End ---

    this looks good for a Quartus II project, but i'm not sure that'll help in HDL Import in DSP Builder
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    this looks good for a Quartus II project, but i'm not sure that'll help in HDL Import in DSP Builder

    --- Quote End ---

    --- Quote Start ---

    Is there a way to set VHDL 2008 as a default in Quartus 10 or to tell Simulink DSP Builder v10 to tell Quartus 10 to use VHDL 2008?

    --- Quote End ---

    Not too sure about DSP Builder, but that's the way to do it if you want to set VHDL-2008 as the default in Quartus.