This component provides an XML method to program the on-board PLL. When provided with a “label” parameter, this component becomes a pushbutton on the panel GUI. When that button is pressed, the PLL is configured with the given parameters. This allows you to specify multiple PLL configuration and provide multiple buttons to access them without going through the PLL dialog. A convenient tooltip lists the VCO and output frequencies for the configuration.
When the component does not have the “label” parameter, this configuration is loaded to the PLL when the profile is loaded. It is not stored to EEPROM and the component does not create a GUI button. The only way to reconfigure the PLL (even after a new FPGA configuration file is loaded) is to reload the profile.
Note that this element is ignored if the target device does not have a CY22150 PLL. The following devices have a CY22150:
|position||POSITION||Position of the top left corner. (OPTIONAL)|
|size||SIZE||Size in pixels. (OPTIONAL)|
|label||TEXT||Label text, shown inside the button. (OPTIONAL)|
|p||NUMBER||VCO P multiplier. [8..2055]|
|q||NUMBER||VCO Q divider. [2..129]|
|NUMBER||Divider 1 N value. [4..127]|
The parameter “source” is a string that represents the source of the divider:
“ref” – The reference (48 MHz) is used.
“vco” – The VCO frequency (48 * P / Q) is used.
|STRING||This string is either “on” or “off” and turns the output on or off. The parameter “source” is a string that represents the source for the output:|
“ref” – Use the reference (48 MHz).
“div1byn” – Use divider 1 source divided by divider 1 N.
“div1by2” – Use divider 1 source divided by 2.
“div1by3” – Use divider 1 source divided by 3.
“div2byn” – Use divider 2 source divided by divider 2 N.
“div2by2” – Use divider 2 source divided by 2.
“div2by4” – Use divider 2 source divided by 4.
Code language: HTML, XML (xml)
<object class="okPLL22150"> <label>PLL1 Configuration</label> <position>170,5</position> <size>100,15</size> <p>400</p> <q>48></q> <divider1 source="vco">8</divider1> <output0 source="div1byn">on</output0> </object>