Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21013 Discussions

preloader - do we need to manually change code for clocks ?

rshal2
New Contributor II
531 Views

Hello,

 

In the following page:

https://rocketboards.org/foswiki/Documentation/PreloaderClockingCustomization131

there is a description of clock customization which generates a code ( pll_config.h) that is compiled together with preloader files.

Yet, I thougt that preloader file are generate automatically using the FPGA handoff..

So, is it still required to customize and change code manually as described in above page ?

 

Thank you,

ranran

0 Kudos
1 Reply
Vicky1
Employee
335 Views

Hi,

'So, is it still required to customize and change code manually as described in above page ?'------- preloader generator creates source code to configure HPS clock (pll_config.h) using the Main PLL, Peripheral PLL & SDRAM PLL parameters etc.

The pll_config.h file created automatically will be populated with default preloader values, but it is recommended that frequency parameters should be confirmed with used device datasheet & clock manager document so that all frequency parameters can fit in correct range.

Here care needs to be taken that SDRAM PLL parameters has to change in Qsys instead of preloader generator since they are copied from handoff file(emif.xml)

Regards,

Vicky

 

 

0 Kudos
Reply