Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16740 Discussions

How to set HDL_PREFERENCE and MANAGED_FLOW_HDL_PREFERENCE per project

FvM
Valued Contributor III
869 Views

Hello,
for automatic generation of .ip files, Quartus is using MANAGED_FLOW_HDL_PREFERENCE setting in quartus2.ini, while platform designer uses HDL_PREFERENCE as default for HDL selection.

In Quartus Prime Standard, both options settings are changed simultaneously  under Tools->Options->IP Settings, the settings can be also changed by a tcl command set_user_option, as specified.

In Quartus Prime Pro, the opions are changed under Setting->Board and IP Settings. Help claims the settings would be project-wide, but they are still stored in quartus2.ini for per Quartus version. set_user_option seems to have no effect on HDL_PREFERENCE settings.

 

The fact that particularly MANAGED_FLOW_HDL_PREFERENCE setting isn't stored with the project brings up problems when I'm expecting that certain IP is generated with a VHDL top level file, but it's generated in Verilog on a different Quartus installation.

 

There should be definitely respective global_parameter entries in settings file.

 

Regards,

Frank

0 Kudos
4 Replies
SyafieqS
Employee
820 Views

Frank,


Thanks for your valuable feedback.

I can forward this to the developer and let see what they say.


0 Kudos
FvM
Valued Contributor III
809 Views

Hello,
thanks for forwarding the question.

To illustrate the problem, if you look at the Board and IP Settings dialog in QPP, the confusing point is that IP related settings are stored differently. While the blue one is stored in .qsf 

set_global_assignment -name PROJECT_IP_REGENERATION_POLICY NEVER_REGENERATE_IP

the red one is stored in quartus2.ini

[General 22.4_pro]
HDL_PREFERENCE = VHDL
...
MANAGED_FLOW_HDL_PREFERENCE = VHDL

FvM_0-1686643490759.png

In QPS, we at least have the option to rewrite the global setting by a "set_user_option" tcl command, but this doesn't seem to work for QPP. Perhaps someone has already found a solution. 

Regards,
Frank

 



0 Kudos
FvM
Valued Contributor III
792 Views

Hello,
I have an update to the issue. Other than claimed in the initial post, set_user option still works with QPP. The confusing point is, although quartus2.ini is modified by a tcl command, Settings-> Board and IP settings still holds the value read at Quartus startup.

So I can execute my script set_VHDL_preference.tcl as PRE_FLOW_SCRIPT to get  IP generated with the HDL of my choice.

set_user_option -name hdl_preference VHDL
set_user_option -name managed_flow_hdl_preference VHDL

A feature to set hdl_preference per project (in .qsf or quartus.ini) is still highly wanted.

Regards,
Frank

0 Kudos
SyafieqS
Employee
755 Views

Frank,


Understood.

Thanks for your time to feedback on this.

I will definitely forward this valuable feedback.



0 Kudos
Reply