Altera_Forum
Honored Contributor
12 years agosequencer.c
Hi all, Is there anyone who can tell me what's the function of this file,and where to use it. Thanks.
That file is used by the preloader to initialize and calibrate the SDRAM controller inside the HPS. It's automatically generated based on the settings you make in the bsp-editor tool as well as hardware settings you make in the HPS component in Qsys. In other words it's used before Uboot or other 3rd stage bootstrap code is run so that the SDRAM will be functional by the time the 3rd stage is reached.
If you are familiar with the other memory controllers for the FPGA they are configured by the IP instantiation and are self calibrating. This is not the case with the HPS and as a result software performs these duties instead of dedicated hardware.