Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20707 Discussions

VHDL 2008, DSP Builder and Quartus 10

Altera_Forum
Honored Contributor II
3,365 Views

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

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

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

0 Kudos
Altera_Forum
Honored Contributor II
1,589 Views

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
Honored Contributor II
1,589 Views

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

thanks!!!
0 Kudos
Altera_Forum
Honored Contributor II
1,589 Views

 

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

 

--- 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.
0 Kudos
Reply