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

ALTPLL in Mega Wizard

Altera_Forum
Honored Contributor II
1,657 Views

Hi, 

I generated a PLL using Mega Wizard. It creates a clock with 50MHz and 5% duty cycle. I need to increase the duty cycle from the top level entity using a loop. 

In the PLL code duty cycle is defined under Generics as a type - NATURAL. 

 

How can I pass value from top level entity to PLL code. 

(The only way I know is to define a signal and pass it - it didn't work due to type variation):confused:
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
938 Views

Generics are constant parameters, they can't be connected to signals. Furthermore, a PLL's frequency or duty cycle isn't easily variable at runtime, only possible through PLL reconfiguration. Read the respective device manual for hardware features available with your FPGA family.

0 Kudos
Reply