
PLL/DLL Clock Generators ACX_CLKGEN
Speedster Macro Cell Library
www.achronix.com PAGE 196
Mixed Feedback Mode
Mixed Feedback mode should only be used in the case that the output divider range is not
enough.TheVCOisdividedbytheoutputdividerinsideoneofthephaserotators.Theclkout
outputofthePLL,afterithas beensentthroughtheclocknetwork,isfedbackto
thePLLfor
deskewing.The feedbackclock is senttotheFeedback Dividerbefore it is sentto thePhase
FrequencyDetector.OnlyintegermodeoftheFeedbackDividershouldbeusedinthismode.
TheVCOfrequencyisrelatedtothereferenceclockfrequencythroughtherelationship:
F
VCO
=(Q*N*P/M)*F
ref
PLL Control
ThedefaultcontroloftheACX_CLKGENblockisbyusing acombination ofthepinsandthe
user‐defined parameters. It is recommended that the user configure the ACX_CLKGEN
modulefromwithinthe ACEGUIsoftware.Usingthe ACEGUItoconfigure thePLLhasthe
addedbenefitforcross‐checking
theparametersforlegal combinationsandensuringthatthe
VCO has been configured to operate within the 1000‐2000 MHz range. Once the user has
generatedaGUI‐basedVerilogorVHDLwrapper,hemay latermodify thesettingsdirectly
withinthewrapperorgobacktotheGUIand
haveitregeneratethewrapper.Usersmayalter‐
nativelychoosetoinstantiatetheACX_CLKGENmoduledirectlyintotheirRTLcode.
Resetting the PLL
TheuserisnotrequiredtomanuallyresetthePLL.TheFPGAConfiguration Controllerwaits
for allofthe userclockstostabilize before putting the FPGA into user mode.Asaminimal
configuration,the user may tie the rstn inpu t high to keep it inactive.Theuseralso has the
choicetomanuallyresetthePLLbyassertingtherstninputlow.Theusermustassertrstnlow
foratleastonecycleoftheclockfrequencyinputintothePhaseFrequencyDetector(afterthe
Reference Divider). After the rstn is deasserted, the pll_lock will go high within 500 refclk
(aftertheReferenceDivider)clockperiodsifthePLLisusedinintegerdividermodeand1000
clockperiodsifthePLLisusedinfractionaldividermode.
Serial Control Bus (SCB)
The ACX_CLKGEN module also allows the user to control the PLL from the Serial Control
Bus(SCB)interface.Uponinitialpower‐upoftheFPGA,thePLLoperatesbasedonthevalues
oftheparameters.Theparametersdefine theinitialbehavioroftheACX_CLKGENmodule.
Theusermayoptionallyswitchcontrol
oftheACX_CLKGENtothe ControlStatusRegisters
(CSR),whichareaccessedviatheSCBinterface.ControlisswitchedtotheCSRbysettingthe
csr_enablebit(CSRAddress1C,bit0)high.Afterthecsr_enablebitisenabled,theusermay
modify the behavior of the various components within
the ACX_CLKGEN module
dynamicallyfromtheFPGAfabric.
Table9‐4definestheregisterswithintheCSR.
Chapter9–“SerialControlBusReadOperation”showsthetimingforaSerialControlBus
readoperationwhileChapter9–“SerialControlBusWriteOperation”showsthetimingfor
theSerialControlBuswriteoperation.IftheuserpreferstointerfacewithCSRregisterswitha
parallel interface, he may choose to instantiate an ACX_SBUS_MASTER from the Achronix
Macro Library into the design. Note that the internal register file of the ACX_CLKGEN
moduleisimplementedasa32‐bitinterface
withonlythebottom8bitsareused.
Commenti su questo manuale