Forum Discussion

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

[ModelSim] How to set support to VHDL-2011 ?

Hi All,

How can I set support to VHDL-2011 in ModelSim?

Actually I've put the VHDL93 = 2008 line in the modelsim.ini, but it seems it does not catch it. At least, then I try to use an output port in one of the processes, I'm receiving the following error message: "Cannot read output "signal_name"". As far as I know, VHDL-2011 supports using output ports in the processes, but VHDL93 doesn't.

Thank you!

8 Replies

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

    --- Quote Start ---

    how do you compile? using the vcom -2008?

    --- Quote End ---

    Actually I compile using ModelSim icons, not a script or console commands.

    So, I'd like to define VHDL-2008 as a global option in the modelsim.ini . How can I do so?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Actually I compile using ModelSim icons, not a script or console commands.

    So, I'd like to define VHDL-2008 as a global option in the modelsim.ini . How can I do so?

    --- Quote End ---

    If you have not created a ModelSim project yet, edit the "VHDL93" line in the default modelsim.ini file in C:\Altera\15.0\modelsim_ase (or wherever your version of ModelSim is installed). Instructions on what that should be set to are literally right above the variable.

    If you've created a project already, in the ModelSim project pane, with the source files listed, select all sources, right-click, choose "properties." Click the VHDL tab from the "Project Compiler Settings" dialog that pops up. Select the "Use 1076-2008" option under "Language Syntax."