Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

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

Altera_Forum
Honored Contributor II
2,285 Views

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!
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
1,089 Views

how do you compile? using the vcom -2008?

0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

I think you're thinking of VHDL 2008. There is no VHDL 2011.

0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

sure, VHDL-2008

0 Kudos
Altera_Forum
Honored Contributor II
1,089 Views

 

--- 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?
0 Kudos
Altera_Forum
Honored Contributor II
1,090 Views

ah, sorry, can't help you there. I do use scripts.

0 Kudos
Altera_Forum
Honored Contributor II
1,090 Views

 

--- 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."
0 Kudos
Altera_Forum
Honored Contributor II
1,090 Views

Thanks Bassman59, it worked for me!

0 Kudos
Altera_Forum
Honored Contributor II
1,090 Views

Thanks Bassman59, worked for me as well !

0 Kudos
Reply