Forum Discussion
Stratix 10 fPLL is cascade source mode doesn't lock
Hello.
Let's concentrate on test project that I can share. It can reproduce the issue that I am talking about.
I changed the project (see the one attached to the message). Now it can reconfigure transceiver fPLL (xcvr_tr_fpll) and it use either reference fixed clock or clock from cascade source fPLL (xcvr_cs_fpll).
After power-up, XCVRs and xcvr_tr_fpll are calibrated using fixed reference clock (100MHz). xcvr_cs_fpll is calibrated using clock from RX XCVR but it is not stable, so lock signal is not stable too.
The steps to reconfigure using clock from xcvr_cs_fpll:
- Set lock to ref. for RX XCVR.
- Assertiong of reset to TX XCVR.
- Recalibration of xcvr_cs_fpll
- Reconfiguration of xcvr_tr_fpll (setting pre-reconfig bit, changing reference clock muxer, changing dividers, etc.)
- Recalibration of xcvr_tr_fpll.
- Deassertiong of reset to TX XCVR
If project was compiled with Quartus Pro 21.2, after step 6, lock signals of fPLLs are stable, clock that comes from TX XCVR is equal to expected value (156.25MHz)
If project was compiled with Quartus Pro 23.4 or 25.3 there are no lock on fPLLs outputs and as a consequence no stable clock from TX XCVR.
So, the result depends on Quartus version.
cs_fpll_controller.sv recalibrates xcvr_cs_fpll.
tr_fpll_controller.sv reconfigures and recalibrates xcvr_tr_fpll (the registers used for reconfiguration can be found as localparams).
Hi,
Do you have any further update?
Regards
- dncmrc114 days ago
Occasional Contributor
Hi,
Since we are in a hurry to deliver this to our customers, we are first reverting to use Quartus 21.1. About your latest suggestions, those documents are very well known to us. We have been using reconfiguration in all our FPGA projects (A10, A5 and S10) for years.
And yes, the PLL is fed with a stable clock.
Can you check internally if e.g. for our demo project the netlist generated by 21.1 is someway different than the one generated by later Quartus? Or if there are any related known issues? Something must have changed since the generated SOF with the same HW works with 21.1 but not with later Quartuses.
Regards,
Marco