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

Platform Designer Instance Parameters script update real parameters in library components

Steve-Mowbray-ENL
New Contributor I
701 Views

So I can now set parameters in IP library components from the Instance Parameters instance script thanks to this:

https://community.intel.com/t5/Intel-Quartus-Prime-Software/Platform-Designer-Instance-Parameters-script-update-a-library/m-p/1524138/highlight/true#M79993 

 

So what is correct method for setting real valued parameters in components from the instance script? -- for example we have only Integer and String Types but one IP library component parameter is real value MHz:

SteveMowbrayENL_1-1696856603760.png

Is starting with Integer type but do some arithmetic correct:

 

    set_instance_parameter_value core_pll_fpll gui_reference_clock_frequency [expr [ get_parameter_value JESD204_DEVICE_CLK_HZ ] / 1000000 ]

 

Or is it better to use String type:

 

    set_instance_parameter_value core_pll_fpll gui_reference_clock_frequency [ get_parameter_value JESD204_FRAME_CLK_MHZ ]

 

Thanks

Steve

Labels (1)
0 Kudos
3 Replies
ZH_Intel
Employee
630 Views

Hi Steve,

 

Thank you for reaching out.

Apologize for the delayed response.

Just to let you know that Intel has received your support request and currently we are confirming the details with our internal team.

I shall come back to you with findings.

 

Thank you for your patience.

 

Best Regards,

ZH_Intel


0 Kudos
ZH_Intel
Employee
497 Views

Hi Steve,

 

Apologize for the delayed response as we encounter technical difficulty.

I believe that it should not matter which parameter is it defined as, either integer or strings as these are types of variables. It depends on the parameters that you want to modify. As long as you reach to the proper files required in the project.


Hope this answers your question.

Thank you. 

Best Regards,

ZH_Intel


0 Kudos
ZH_Intel
Employee
459 Views

Hi Steve,


Good day.

We do not receive any response from you to the previous reply that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread.


Thank you. 

Best Regards,

ZH_Intel


0 Kudos
Reply