Altera_Forum
Honored Contributor
16 years agoHow to use Radio Display_Hint in hw.tcl file
Hi,
In the Quartus II Handbook Version 9.0 there is a nice example of how to create a pull down menu using allowed_ranges add_parameter sound string 0 0 set_parameter_property sound allowed_ranges {"0:No Audio" 1: Monophonic 2:Stereo 4:Quadraphonic} When I do this, I get a nice pulldown menu that assigns sound a value of 0,1,2, or 4 but displays the text instead of the number. I had wanted to use this syntax with a set_parameter_property separate_control DISPLAY_HINT radio But when radio hint is used; 0, 1, 2 and 4 are displayed without any text. Does anyone know how to show the nice text strings in the radio format but assign the numberic value to the string for easy use assigning a number value later.