Forum Discussion
Altera_Forum
Honored Contributor
11 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
Honored Contributor
how do you compile? using the vcom -2008?
- Altera_Forum
Honored Contributor
I think you're thinking of VHDL 2008. There is no VHDL 2011.
- Altera_Forum
Honored Contributor
sure, VHDL-2008
- Altera_Forum
Honored 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
Honored Contributor
ah, sorry, can't help you there. I do use scripts.
- Altera_Forum
Honored 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." - Altera_Forum
Honored Contributor
Thanks Bassman59, it worked for me!
- Altera_Forum
Honored Contributor
Thanks Bassman59, worked for me as well !