ug - altera - lvds
更新时间:2024-06-19 09:32:01 阅读量: 综合文库 文档下载
- ug是什么单位推荐度:
- 相关推荐
www.altera.com101InnovationDrive,SanJose,CA951342014.08.18AlteraLVDSSERDESIPCoreUserGuide
SubscribeSendFeedbackug_altera_lvdsTheAlteraLVDSSERDESIPCoreconfigurestheserializer/deserializer(SERDES)anddynamicphasealignment(DPA)blocks.TheIPcorealsosupportsLVDSchannelsplacement,legalitychecks,andLVDSchannel-relatedrulechecks.
TheAlteraLVDSSERDESIPcoreisonlyavailableforArria10devices.ForArriaV,CycloneV,and
?
StratixVdevices,followthestepsinMigratingYourALTLVDS_TXandALTLVDS_RXIPCoresonpage25tomigrateyourIP.
RelatedInformation
?
?
?LVDSSERDESTransmitter/Receiver(ALTLVDS_TXandALTLVDS_RX)MegafunctionsUserGuide
Features
YoucanconfigurethefeaturesofAlteraLVDSSERDESIPcorethroughtheIPParameterEditorinthe
?
QuartusIIsoftware.TheAlteraLVDSSERDESIPcorefeatureincludestheALTLVDS_RXandALTLVDS_TXIPcoresfeaturessupportedinStratixVdevices,suchas:??????
Parameterizabledatachannelwidths
Parameterizableserializer/deserializer(SERDES)factorsRegisteredinputandoutputportsPLLcontrolsignals
Dynamicphasealignment(DPA)modeSoftclockdatarecovery(CDR)mode
FunctionalModes
ThistableliststhefunctionalmodesfortheAlteraLVDSSERDESIPcore.
Table1:FunctionalModesfortheAlteraLVDSSERDESIPCore
FunctionalMode
Description
TX
Inthismode,theIPcoreconfigurestheSERDESblockasaserializer.APLLgeneratesthefastclock(fclk)andloadenable(loaden)signals.
?2014AlteraCorporation.Allrightsreserved.ALTERA,ARRIA,CYCLONE,ENPIRION,MAX,MEGACORE,NIOS,QUARTUSandSTRATIXwords
andlogosaretrademarksofAlteraCorporationandregisteredintheU.S.PatentandTrademarkOfficeandinothercountries.Allotherwordsandlogosidentifiedastrademarksorservicemarksarethepropertyoftheirrespectiveholdersasdescribedatwww.altera.com/common/legal.html.AlterawarrantsperformanceofitssemiconductorproductstocurrentspecificationsinaccordancewithAltera'sstandardwarranty,butreservestherighttomakechangestoanyproductsandservicesatanytimewithoutnotice.Alteraassumesnoresponsibilityorliabilityarisingoutoftheapplicationoruseofanyinformation,product,orservicedescribedhereinexceptasexpresslyagreedtoinwritingbyAltera.Alteracustomersareadvisedtoobtainthelatestversionofdevicespecificationsbeforerelyingonanypublishedinformationandbeforeplacingordersforproductsorservices.
ISO9001:2008Registered
2FunctionalDescription
ug_altera_lvds
2014.08.18
FunctionalModeDescription
RXNon-DPAMode
Inthismode,youmustensurethecorrectclock-dataalignment,astheincomingdataiscapturedatthebitslipwiththefclksignal.TheDPAandDPA-FIFOarebypassed.Asinthetransmittermode,thefclksignalisprovidedbyaPLL.
Inthismode,theDPAblockselectsanoptimalphasetosampleincomingdatafromasetofeightDPAclocksrunningatthefclkfrequency,each45°outofphase.TheDPA-FIFO,acircularbuffer,samplestheincomingdatawiththeselectedDPAclockandforwardsthedatatoLVDSclockdomain.ThedatareleasedfromtheDPA-FIFOisthensampledatthebitslipcircuitry,whereitislagged,andthus,realignedtomatchthedesiredwordboundarywhenitisdeserialized.
Toavoidclockmetastabilityissues,afterFIFOresets,waitfortwocoreclockcyclesbeforeresettingthebitslip.
Note:AllRXchannelsmustbeplacedinoneI/Obank,whichsupports
upto24channelsonly.
RXDPA-FIFO
RXSoft-CDRMode
Inthismode,theoptimalDPAclock(DPACLK)isforwardedintotheLVDSclockdomain,whereitisusedasthefclksignal.Thelocalclockgeneratorproducesrx_divfwdclkwhichwillbeforwardedtothecorethroughaPCLKnetwork.Note,thereisalimitationofthenumberofsoft-CDRchannelsduetoPCLKusage.
Note:RXinterfacesmustbeplacedinoneI/Obank,andeachbank
onlyhas12PCLKresources,hence12soft-CDRchannels.Note:Foractualsoft-CDRsupportedchannel,refertotherespective
devicepinoutlist.Under\Tx/RxChannel\therewillbeavalueofformLVDS_ .Thepinpairsupportssoft-CDRmodeonlywhen FunctionalDescription AsingleAlteraLVDSSERDESchannelcontainsaSERDES,abitslipblock,DPAcircuitryforallmodes,ahigh-speedclocktree(LVDSclocktree)andforwardedclocksignalforsoft-CDRmode.YoucanconfiguretheAlteraLVDSSERDESchannelasareceiveroratransmitterforasingledifferentialI/O.Therefore,ann-channelLVDSinterfacecontainsn-serdes_dpablocks.TheI/OPLLsdrivetheLVDSclocktree,providingclockingsignalstotheAlteraLVDSSERDESchannelintheI/Obank. AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback FPGAFabricug_altera_lvds2014.08.18Serializer+-tx_inDOUTFigure1:DINAlteraLVDSSERDESChannelDiagram10FunctionalDescriptiontx_out3tx_coreclock3lvds_loadenlvds_fclktx_coreclockLVDSTransmitterLVDSReceiverrx_out10DeserializerDOUTDINBitslipDOUTDINDPAFIFODOUTDINDPACircuitryRetimedDataDIN+-rx_inDPAClock2loadenfclkrx_divfwdclkrx_coreclock3lvds_loadenlvds_fclkrx_coreclockfclklvds_fclkdpa_fclk3dpa_loadendpa_fclkrx_divfwdclkClockMultiplexer8SerialLVDSClockPhasesrx_inclock/tx_inclockLVDSClockDomainDPAClockDomainIOPLL(LocalClockGenerator)EachAlteraLVDSSERDESchannelcanbebrokendownintothefollowingpaths,withsevenfunctionalunits: Path Block Modes ClockDomain TXDataPathSerializerTXmodeLVDS AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation TXDAT[7:0]FCLKLOADENLVDSOUT476543210SerializerabcdefghABCDEFGHXXXXXXXXug_altera_lvds2014.08.18PathBlockModesClockDomainDPAXXXXXXXXXX765432DPA10aCircuitrybcdefghABCDFIFOEFandSoft-DPACDRmodesDPAFIFOBitslipandDeserializerLocalClockGeneratorSERDESClockMultiplexersDPA-FIFOmodeLVDS-DPAdomaincrossingNon-DPAandDPA-LVDSFIFOmodesSoftCDRmodesSoft-CDRmodeAllmodesDPAclockdomainGeneratesPCLKandLOADENinthesemodesSelectsLVDSclocksourcesforallmodesThiswaveformisspecifictoserializationfactor=8.RXDataPathClockGenerationandMultiplexersSerializer Theserializerconsistsoftwosetsofregisters.ThefirstsetofregisterscapturestheparalleldatafromthecoreusingtheLVDSfastclock.TheloadenclockisprovidedalongsidetheLVDSfastclock,toenablethesecaptureregistersoncepercoreclockperiod.Afterthedataiscaptured,thedataisthenloadedintoashiftregister,whichshiftstheLSBtowardstheMSB,onebitperfastclockcycle.TheMSBoftheshiftregisterfeedstheLVDSoutputbuffer;hence,higherorderbitsprecedelowerorderbitsintheoutputbitstream.Thefollowingfigureshowstheserializerwaveform.Figure2:LVDSx8SerializerWaveform Signal txdat[7:0]fclkloadenlvdsout Description Datatobeserialized(supportedserializationfactorsare3-10).Clockusedfortransmitter.Enablesignalforserialization. LVDSdatastream,outputfromtheAlteraLVDSSERDESchannel. AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback RX_IN76543210abcdefghABCDEFGHXXXXXXXXFCLKug_altera_lvds2014.08.18DPAFIFO5 LOADENDPARX_OUT[7:0]FIFOInDPA-FIFOmode,theDPAFIFOsynchronizestheretimeddatatothehigh-speedLVDSclockdomain.XXXXXXXX76543210abcdefghABCDEFGHBecausetheDPAclockmayshiftphaseduringtheinitiallockperiod,theFIFOmustbeheldinresetstateuntiltheDPAlocks;otherwise,theremaybeadatarun-throughconditionduetotheFIFOwritepointercreepinguptothereadpointer.Bitslip Usebitslipcircuitrytoinsertlatenciesinincrementsofonefclkcyclefordatawordalignment.Thedataslipsonebitforeverypulseoftherx_bitslip_ctrlsignal.Youmustwaitatleastfivecoreclockcyclesbeforecheckingifthedataisalignedbecauseitwilltakeatleasttwocoreclockcyclestopurgetheundefineddata. Whenenoughbitslipsignalsaresenttorolloverthebitslipcounter,therx_bitslip_maxstatussignalisassertedafterfivecoreclockcyclestoindicatethatithasreacheditsmaximumcountervalueofthebitslipcounterrolloverpoint. Deserializer Thedeserializerconsistsofshiftregisters.Thedeserializationfactordeterminesthedepthoftheshiftregisters.Theloadensignalisapulsewithafrequencyofthefclkdividedbythedeserializationfactor.The deserializerconvertsa1-bitserialdatastreamintoaparalleldatastreambasedonthedeserializationfactor.Figure3:LVDSx8DeserializerWaveform Signal rx_infclkloadenrx_out[7:0] Description LVDSdatastream,inputtotheAlteraLVDSSERDESchannel.Clockusedforreceiver.Enablesignalfordeserialization.Deserializeddata. InitializationandReset Thissectiondescribestheinitializationandresetaspects,usingcontrolcharacters.ThissectionalsoprovidesarecommendedinitializationandresetflowfortheAlteraLVDSSERDESIPcore. AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 6InitializingtheAlteraLVDSSERDESIPCore ug_altera_lvds 2014.08.18 InitializingtheAlteraLVDSSERDESIPCore WiththeAlteraLVDSSERDESIPcore,thePLLmustbelockedtothereferenceclockpriortousingtheSERDESblocksfordatatransfer.ThePLLstartstolocktothereferenceclockduringdeviceinitialization.ThePLLisoperationalwhenthePLLachieveslockduringusermode.Iftheclockreferenceisnotstableduringdeviceinitialization,thePLLoutputclockphaseshiftsbecomescorrupted. WhenthePLLoutputclockphaseshiftsarenotsetcorrectly,thedatatransferbetweenthehigh-speedLVDSdomainandthelow-speedparalleldomainmightnotbesuccessful,whichleadstodatacorruption.Assertthepll_aresetportforatleast10ns,andthendeassertthepll_aresetportandwaituntilthePLLlockbecomesstable.AfterthePLLlockportassertsandisstable,theSERDESblocksarereadyforoperation.WhenusingDPA,furtherstepsarerequiredforinitializationandresetrecovery.TheDPAcircuitsamplestheincomingdataandfindstheoptimalphasetapfromthePLLtocapturedataonareceiverchannel-by-channelbasis.IfthePLLhasnotlockedtoastableclocksource,theDPAcircuitmightlockprematurelytoanon-idealphasetap.Usetherx_dpa_resetporttokeeptheDPAinresetuntilthePLLlocksignalisassertedandstable. Therx_dpa_lockedsignalassertswhentheDPAhasfoundtheoptimalphasetap. Note:Alterarecommendsassertingtherx_fifo_resetportaftertherx_dpa_lockedsignalasserts,and thendeasserttherx_fifo_resetporttobeginreceivingdata.EachtimetheDPAshiftsthephasetapsduringnormaloperationtotrackvariationsbetweentherelationshipofthereferenceclocksourceandthedata,thetimingmarginforthedatatransferbetweenclockdomainsisreduced. TheAlteraLVDSSERDESIPcoreassertstherx_dpa_lockedportuponinitialDPAlock.WhenyouenabletheEnableDPAlossoflockononechangeoption,therx_dpa_lockedportdeassertsafteronechangeinphase.Ifthisoptionisdisabled,therx_dpa_lockedsignalwilldeassertaftertwophasechangesinthesamedirection. Note:Alterarecommendsusingthedatacheckerstoensuredataaccuracy. ResettingtheDPA Whenthedatabecomescorrupted,youmustresettheDPAcircuitryusingtherx_dpa_resetportandrx_fifo_resetport. Asserttherx_dpa_resetporttoresettheentireDPAblock.ThisrequirestheDPAtobetrainedbeforeitisreadyfordatacapture. Note:Alterarecommendstogglingtherx_fifo_resetportafterrx_dpa_lockedisasserted.Thisensures thesynchronizationFIFOissetwiththeoptimaltimingtotransferdatabetweentheDPAandhigh-speedLVDSclockdomains.Asserttherx_fifo_resetporttoresetonlythesynchronizationFIFO.Thisallowsyoutocontinuesystemoperationwithouthavingtore-traintheDPA.UsingthisportcanfixdatacorruptionbecauseitresetstheFIFO;however,itdoesnotresettheDPAcircuit. WhentheDPAislocked,theAlteraLVDSSERDESblockisreadytocapturedata.TheDPAfindstheoptimalsamplelocationtocaptureeachbit.Thenextstepistosetupthewordboundaryusingcustomlogictocontroltherx_bitslip_ctrlportonachannel-by-channelbasis. AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 AligningtheWordBoundaries7 Thebitslipcircuitcanberesetusingtherx_bitslip_resetport.ThiscircuitcanberesetanytimeandisnotdependentonthePLLorDPAcircuitoperation. AligningtheWordBoundaries Toalignthewordboundaries,itisusefultohavecontrolcharactersinthedatastreamsothatyourlogiccanhaveaknownpatterntosearchfor.Youcancomparethedatareceivedforeachchannel,comparetothecontrolcharacteryouarelookingfor,thenpulsetherx_bitslip_ctrlportasrequireduntilyousuccessfullyreceivethecontrolcharacter. Note:Alterarecommendssettingthebitsliprollovercounttothedeserializationfactororhigher,which allowsenoughdepthinthebitslipcircuittorollthroughanentirewordifrequired.Ifyoudonothavecontrolcharactersinthereceiveddata,youneedadeterministicrelationshipbetweenthereferenceclockanddatatopredictthewordboundaryusingtimingsimulationorlaboratorymeasure-ments.Thisappliesonlyfornon-DPAmode.TheonlywaytoensureadeterministicrelationshiponthedefaultwordpositionintheSERDESwhenthedevicepowersup,oranytimethePLLisreset,istohaveareferenceclockequaltothedataratedividedbythedeserializationfactor.Forexample,ifthedatarateis800Mbps,andthedeserializationfactoris8,thePLLrequiresa100-MHzreferenceclock.ThisisimportantbecausethePLLlockstotherisingedgeofthereferenceclock.Ifyouhaveonerisingedgeonthereferenceclockperserialwordreceived,thedeserializeralwaysstartsatthesameposition.Usingtimingsimulation,orlabmeasurements,monitortheparallelwordsreceivedanddeterminehowmanypulsesarerequiredontherx_bitslip_ctrlporttosetyourwordboundaries.Youcancreateasimplestatemachinetoapplytherequirednumberofpulseswhenyouenterusermode,oranytimeyouresetthePLL. Note:WhenusingDPAorsoft-CDRmodes,thewordboundaryisnotdeterministic.Theinitialtraining oftheDPAallowsittomoveforwardorbackwardinphaserelativetotheincomingserialdata.Thus,therecanbea±1-bitofvarianceintheserialbitwheretheDPAinitiallylocks.Iftherearenotrainingpatternsorcontrolcharactersavailableintheserialbitstreamtouseforwordalignment,Alterarecommendsusingnon-DPAmode. RecommendedInitializationandResetFlow AlterarecommendsthatyoufollowthesestepstoinitializeandresettheAlteraLVDSSERDESIPcore:1.Duringentryintousermode,oranytimeinusermodeoperationwhentheinterfacerequiresareset,assertthepll_aresetandrx_dpa_resetports. 2.Deassertthepll_aresetportandmonitorthepll_lockedport.Fornon-DPAmode,skiptostep7.3.Deasserttherx_dpa_resetportafterthepll_lockedportbecomesassertedandstable. 4.ApplytheDPAtrainingpatternandallowtheDPAcircuittolock.(Ifatrainingpatternisnotavailable,anydatawithtransitionsisrequiredtoallowtheDPAtolock.)RefertotherespectivedevicedatasheetforDPAlocktimespecifications. 5.Waitfortherx_dpa_lockedporttoassert. 6.Assertrx_fifo_resetforatleastoneparallelclockcycle,andthende-assertrx_fifo_reset.7.Asserttherx_bitslip_resetportforatleastoneparallelclockcycle,andthendeasserttherx_bitslip_resetport. 8.Beginwordalignmentbyapplyingpulsesasrequiredtotherx_bitslip_ctrlport. 9.Whenthewordboundariesareestablishedoneachchannel,theinterfaceisreadyforoperation. AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 8Signals ug_altera_lvds 2014.08.18 Signals ThefollowingtableslisttheinputandoutputsignalsfortheAlteraLVDSSERDESIPcore. Note:NrepresentstheLVDSinterfacewidthandthenumberofserialchannelswhileJrepresentsthe SERDESfactoroftheinterface. Table2:CommonTXandRXSignals SignalName inclockpll_areset WidthDirectionTypeDescription 111 InputInputOutput ClockResetControl PLLreferenceclock. Active-highasynchronousresettoallblocksinAlteraLVDSSERDESandPLL.AssertedwheninternalPLLislocked. pll_locked Table3:RXSignals SignalName rx_in rx_bitslip_reset WidthDirectionTypeDescription NNN InputInputInput DataResetControl LVDSserialinputdata. Asynchronous,active-highresettotheclock-dataalignmentcircuitry(bitslip). Positive-edgetriggeredincrementforbitslipcircuitry.Eachassertionaddsonebitoflatencytothereceivedbitstream. Asynchronous,active-highsignalpreventstheDPAcircuitryfromswitchingtoanewclockphaseonthetargetchannel.Whenheldhigh,theselectedchannel(s)holdtheircurrentphasesetting.Whenheldlow,theDPAblockonselectedchannel(s)monitorsthephaseoftheincomingdatastreamcontinuouslyandselectsanewclockphasewhenneeded.ApplicableinDPA-FIFOandsoft-CDRmodesonly. Asynchronous,active-highresettoDPAblocks.Minimumpulsewidthisoneparallelclockperiod.ApplicableinDPA-FIFOandsoft-CDRmodesonly. Asynchronous,active-highresettoFIFOblock.Minimumpulsewidthisoneparallelclockperiod.ApplicableinDPA-FIFOmodeonly. rx_bitslip_ctrl rx_dpa_hold NInputControl rx_dpa_reset NInputReset rx_fifo_reset NInputReset AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 Signals9 SignalName rx_out WidthDirectionTypeDescription N*JOutputData Receiverparalleldataoutput.Synchronoustorx_coreclockin(DPA-FIFOandnon-DPAmodes).Insoft-CDRmode,each channelhasparalleldatasynchronoustoitsrx_divfwdclk. Bitsliprolloversignal.Highwhenthenextassertionofrx_bitslip_ctrlresetstheserialbitlatencyto0. CoreclockforRXinterfacesprovidedbythePLL.NotavailablewhenusinganexternalPLL. Theperchannel,dividedclockwiththeidealDPAphase.Therecoveredslowclockforagivenchannel.Applicableinsoft-CDRmodeonly.Becauseeachchannelmayhaveadifferentidealsamplingphase,therx_divfwdclksmaynotbeedge-alignedwitheachother.Eachrx_divfwdclkmustdrivethecorelogicwithdatafromthesamechannel. AssertedwhentheDPAblockselectstheidealphase.TheAlteraLVDSSERDESIPcoredrivestherx_dpa_lockedport.TheDPAlogicassertstherx_dpa_lockedsignalwhenthesignalsettlesonanidealphaseforthatgivenchannel.Therx_dpa_lockedportwillde-assertiftheDPAmovestwophasesinthesamedirectionoriftheDPAmovesonephase.Therx_dpa_lockedsignalwillstilltogglewhentherx_dpa_holdsignalis asserted,andshouldbeignoredbyuserlogicwhentherx_dpa_holdsignalisasserted.ApplicableinDPA-FIFOandsoft-CDRmodesonly. rx_bitslip_max NOutputControl rx_coreclock 1OutputClock rx_divfwdclk NOutputClock rx_dpa_locked NOutputControl Table4:TXSignals SignalName tx_intx_outtx_outclock WidthDirectionTypeDescription N*JN1 InputOutputOutput DataDataClock Paralleldatafromthecore.LVDSserialoutputdata. Externalreferenceclock(sentoffchipviatheTXdatapath).Source-synchronouswithtx_out. AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 10Signals ug_altera_lvds 2014.08.18 SignalName tx_coreclock WidthDirectionTypeDescription 1OutputClock Theclockthatdrivesthecorelogicfeedingtheserializer.NotavailableintheexternalPLLmode. Table5:ExternalPLLSignals Forinstructionsonsettingthefrequencies,dutycycles,andphaseshiftsoftherequiredPLLclocksforexternalPLLmode,refertotheClockResourceSummarytabintheIPParameterEditor. SignalName ext_fclk WidthDirectionTypeDescription 1InputClock LVDSfastclock.Usedforserialdatatransfer.Requiredinallmodes.Youmustconnectthissignaltothelvds_clk[0]portofthePLL.Thissignalisconfiguredasoutclock[0]fromthePLL.UseEnableaccesstoPLLLVDS_CLK/LOADENoutputportintheIOPLLgeneration. LVDSloadenable.Usedforparallelload.NotrequiredinRXSoft-CDRmode.Youmustconnectthissignaltotheloaden[0]portofthePLL.Thissignalisconfiguredas outclock[1]fromthePLL.UseEnableaccesstoPLLLVDS_CLK/LOADENoutputportintheIOPLLgeneration. Theclockthatdrivesthecorelogicfeedingtheserializer(TX)/receivingfromthedeserializer(RX).ThissignalisstillpresentinRXsoft-CDRmode,eventhoughtheRXcoreregistersareclockedusingtherx_divfwdclk.RequiredforRXDPA-FIFOandRXSoft-CDRmodesonly.ProvidestheVCOclockstotheDPAcircuitryforoptimalphaseselection.Youmustconnectthissignaltothephout[7:0]signalfromthePLL.UseEnableaccesstoPLLDPAoutputportinIOPLLgeneration.PLLlocksignal.RequiredforRXDPA-FIFOandRXSoft-CDRmodesonly. Phase-shiftedversionoffastclockrequiredforTXoutclockphaseshiftsthatarenotmultiplesof180degrees. Phase-shiftedversionofloadenrequiredforTXoutclockphaseshiftsthatarenotmultiplesof180degrees. ext_loaden 1InputClock ext_coreclock 1InputClock ext_vcoph[7:0] InputClock ext_pll_locked 11 InputInput DataClock ext_tx_outclock_fclk ext_tx_outclock_loaden 1InputClock AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 ParameterSettings11 ParameterSettings YoucanparameterizetheAlteraLVDSSERDESIPcoreusingtheIPParameterEditor. GeneralSettingsTab Parameter Value Description Functionalmode ????TX RXNon-DPARXDPA-FIFORXSoft-CDR Specifiesthefunctionalmodeoftheinterface. Numberofchannels ?1to72forTXSpecifiesthenumberofserialchannelsinthe?1to24forRXNon-interface.DPA?Decrementonechannelforthededicated?1to24forRXDPA-referenceclockpin(refclk)forTX,RX FIFONon-DPA,andRXDPA.Notusingthe?1to12forRXSoft-dedicatedreferenceclockpinmay CDRcontributetohigherjitter. ?DecreasebyonechannelfortheTXoutclockpin(tx_outclock)ifused. 150.0to1600.0 Specifiesthedatarate(inMbps)ofasingleserialchannel.ThevalueisdependentontheFunctionalmodeparametersettings. Datarate SERDESfactorUseclock-pindrive 3,4,5,6,7,8,9,and10Specifiestheserializationrateordeserializa-tionratefortheLVDSinterface. Whenenabled,theIPcorebypassesthePLLandtheinterfaceisdrivenwithaclockpin. — Note:Thisfeatureisnotsupportedin thecurrentversionoftheQuartusIIsoftware.Whenenabled,theIPcoreuseslegacytop-levelnamesthatarecompatiblewith ALTLVDS_TXandALTLVDS_RXIPcores. Usebackwards-compatibleportnames — AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 12PLLSettingsTab ug_altera_lvds 2014.08.18 PLLSettingsTab Parameter Value Description UseexternalPLL — Whenenabled,theIPcoredoesnotinstantiateaPLLlocally.Instead,aseriesofclockconnectionsareelaboratedwiththeprefix\thatshouldbeconnectedtoanexternallygeneratedPLL.ThisoptionallowsyoutoaccessalloftheavailableclocksfromthePLL,aswellasuseadvancedPLLfeaturessuchasclockswitchover,bandwidthpresets,dynamicphasestepping,anddynamicreconfiguration. TheClockResourceSummarytabguidesyoutoconfigureyourexternalPLL. DesiredinclockfrequencyActualinclockfrequencyFPGA/PLLspeedgradeEnablepll_aresetport ———— SpecifiestheinclockfrequencyinMHzSpecifiestheclosestinclockfrequencytothedesiredfrequencythatcansourcetheinterface.SpecifiestheFPGA/PLLspeedgradewhichdeterminestheoperationrangeofthePLL.Whenenabled,thisparameterexposesthepll_aresetport,whichyoucanusetoresettheentireLVDSinterface. SpecifieswhichclocknetworktheAlteraLVDSSERDESIPcoreshouldexportaninternallygeneratedcoreclockonto. Note:Thisfeatureisnotsupportedinthe currentversionoftheQuartusIIsoftware.However,thiscanbemanuallyaddedusingQSFassignments. Coreclockresourcetype— ReceiverSettingsTab Parameter Value Description BitslipSettingsEnablebitslipmode — Whenenabled,thisparameteraddsabitslipblocktothedatapathofthereceiverandexposestherx_bitslip_ctrlport(oneinputperchannel).Everyassertionoftherx_bitslip_ctrlsignaladdsonebitofseriallatencytothedatapathofthespecifiedchannel. AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 ReceiverSettingsTab13 ParameterValueDescription Enablerx_bitslip_resetport— Whenenabled,thisparameterexposestherx_bitslip_resetport(oneinputperchannel),whichyoucanusetoresetthebitslip. Whenenabled,thisparameterexposestherx_bitslip_maxport(oneoutputperchannel).Whenasserted,thenextrisingedgeofrx_bitslip_ctrlresetsthelatencyofthebitsliptozero. Enablerx_bitslip_maxport— Bitsliprollovervalue 3,4,5,6,7,8,9,Setsthemaximumlatencythatcanbeinjectedusing 10,11bitslip.Whenitreachesthatvalue,itrollsoverand therx_bitslip_maxsignalisasserted.Thedefaultvalueis10. Note:Alterarecommendssettingthis parametertoavalueequaltoorgreaterthanthedeserializationfactor. DPASettings Enablerx_dpa_resetport — Whenenabled,theIPcoreexposestherx_dpa_reset port,whichyoucanusetoresettheDPAlogicofeachchannelindependently.Formerlyknownasrx_reset. Whenenabled,userlogicdrivestherx_fifo_resetportwhichyoucanusetoresettheDPA-FIFOblock. Whenenabled,theIPcoreexposestherx_dpa_holdinputport(oneinputperchannel).Whensethigh,theDPAlogicinthecorrespondingchanneldoesnotswitchsamplingphases.Therx_dpa_holdportisformerlyknownasrx_dpll_holdport. Enablerx_fifo_resetport— Enablerx_dpa_holdport— AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 14ReceiverSettingsTab ug_altera_lvds 2014.08.18 ParameterValueDescription EnableDPAlossoflockononechange — Whenenabled,theAlteraLVDSSERDESIPcoredrivestherx_dpa_lockedsignallowwhentheDPAchangesphaseselectionfromtheinitiallylockedposition.TheAlteraLVDSSERDESIPcoredrivestherx_dpa_lockedsignalhighiftheDPAchangesthephaseselectionbacktotheinitiallockedposition. Whendisabled,theAlteraLVDSSERDESIPcoredrivestherx_dpa_lockedsignallowwhentheDPAmovestwophasesinthesamedirectionawayfromtheinitiallockedposition.TheAlteraLVDS SERDESIPcoredrivestherx_dpa_locked signalhighiftheDPAchangesthephaseselectiontobewithinonephaseorsamephaseastheinitiallockedposition. Ade-assertionofrx_dpa_lockeddoesnotindicatethedataisinvalid,itindicatestheDPAhaschangedphasetapstotrackvariationsbetweentheinclockandrx_indata.Alterarecommendsusingdatacheckerstoverifydataaccuracy. EnableDPAalignmentonlytorisingedgesofdata — Whenenabled,DPAlogiccountstherisingedgesontheincomingserialdataonly.Whendisabled,DPAlogiccountstherisingandfallingedges.Note:Thisportisonlyrecommendedforuse inhighjittersystems,andAlterarecommendsdisablingthisportintypicalapplications. (Simulationonly)SpecifyPPMdriftontherecoveredclock(s) — SpecifiestheamountofphasedrifttheALTERA_LVDSsimulationmodelshouldaddtotherecoveredrx_divfwdclks. Note:Thisfeatureisnotsupportedinthe currentversionoftheQuartusIIsoftware. Non-DPASettings Desiredreceiverinclockphaseshift(degrees): — SpecifiestheidealphasedelayoftheinclockwithrespecttotransitionsintheincomingserialdataindegreesoftheLVDSfastclock.Forexample, specifying180degreesimpliestheinclockiscenteralignedwiththeincomingdata. AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 TransmitterSettingsTab15 ParameterValueDescription ActualreceiverinclockphaseshiftLegalvaluesareSpecifiestheclosestachievablereceiverinclock(degrees)dependentonthephaseshifttothedesiredreceiverinclockphase fclkandinclockshift.frequencies.RefertoSettingtheReceiverInputClockParametersonpage16. TransmitterSettingsTab Parameter Value Description TXcoreregistersclock Allowsyoutoeitherclockthecoreregisterswiththetx_coreclockorthePLLrefclk.Ifyouselect tx_coreclockorinclock,therefclkfrequencymustbeequaltothe dataratedividedbytheserializationfactor.inclock ThisparameterisavailableinTXfunctionalmodeonly. — Whenenabled,theIPcoreexposesthetx_ coreclockportwhichyoucanusetodrivethecorelogicfeedingthetransmitter. Whenenabled,theIPcoreexposesthetx_ outclockport.Thefrequencyofthetx_outclockportisdependentonthesettingforthetx_outclockdivisionfactorparameter.Thephaseofthetx_outclockportisdependentontheDesiredtx_outclockphaseshiftparameter.Thisparametertakesupanadditionalchannel,whichreducesthemaxnumberofchannelsperTXinterfaceby1AllowsyoutospecifythephaserelationshipbetweentheoutclockandoutgoingserialdataindegreesoftheLVDSfastclock. Enabletx_coreclockport Enabletx_outclockport — Desiredtx_outclockphaseshift(degrees) RefertotheSettingtheTransmitterOutputClockParametersonpage17. AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 16ClockResourceSummaryTab ug_altera_lvds 2014.08.18 ParameterValueDescriptionActualtx_outclockphaseshift(degrees) LegalvaluesareSpecifiestheclosestachievabletx_outclockphasedependentontheshifttothedesiredtx_outclockphaseshift.fclkandtx_outclock frequencies.RefertoSettingtheTransmitterOutputClockParametersonpage17.Legalvaluesaredependentontheserializationfactor. Allowsyoutospecifytheratioofthefastclockfrequencytotheoutclockfrequency(forexample,themaximumnumberofserialtransitionsperoutclockcycle). Tx_outclockdivisionfactor ClockResourceSummaryTab Thistabintheparametereditorlistsoutalltherequiredfrequencies,phaseshifts,anddutycyclesoftherequiredclocks,includinginstructionsontherequiredconnections.ThistabalsoshowshowtoconfigureandconnectanexternalPLL. SettingtheReceiverInputClockParameters Whenusingnon-DPAmode,ifyouwanttheSERDESreceivertosamplethesourcesynchronousdata,youmustspecifytheinclockrelationshiptotherx_indata.Todoso,typeavalueintheDesiredreceiverinclockphaseshift(degrees)parameter.Legalvaluesareevenlydivisibleby45.Ifyouenteranillegalvalue,theactualphaseshiftwillappearinActualreceiverinclockphaseshift(degrees). Forrisinginclockedgealignedinterfacestotherx_indata(Figure4),select0°asthedesiredreceiverclockphaseshift.ThePLLwillbesetwiththerequiredphaseshiftonfclktocenteritattheSERDESreceiver.Figure4:0°EdgeAlignedinclockx8DeserializerWaveformWithSingleRateClock Thephaseshiftyouspecifywillberelativetothefclkwhichoperatesattheserialdatarate.Phaseshiftvaluesbetween0°and360°areusedtospecifytherisingedgeoftheinclockwithinasinglebitperiod.Themaximumphaseshiftvalueisdeterminedbythefollowingequation:(Numberoffclkperiodsperinclockperiodx360)-1 AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 SettingtheTransmitterOutputClockParameters17 Specifyingphaseshiftvaluesgreaterthan360°willchangetheMSBlocationwithintheparalleldata.Note:Bydefault,theMSBfromtheserialdatawillnotbetheMSBontheparalleldata.Youcanusebitslip tosettheproperwordboundaryontheparalleldata.RefertoAligningtheWordBoundariesformoredetails.Tospecifyacenteralignedinclocktorx_inrelationship(Figure5),enteraphaseshiftvalueof180°fortheDesiredreceiverinclockphaseshift(degrees)parameter. Figure5:180°CenterAlignedinclockx8DeserializerWaveformWithSingleRateClock Thephaseshiftvalueyouentertospecifytheinclocktorx_inrelationshipisindependentoftheinclockfrequency.TospecifyacenteralignedDDRinclocktorx_inrelationship(Figure6),enteraphaseshiftvalueof180°fortheDesiredreceiverinclockphaseshift(degrees)parameter.Figure6:180°CenterAlignedinclockx8DeserializerWaveformWithDDRClock SettingtheTransmitterOutputClockParameters Thetx_outclockrelationshiptothetx_outdataisspecifiedwithtwoparameters:?Desiredtx_outclockphaseshift(degrees)?Tx_outclockdivisionfactor Theseparameterssetthephaseandfrequencyofthetx_outclockbasedonthefclkwhichoperatesattheserialdatarate.Youcanspecifythedesiredtx_outclockphaseshiftrelativetothetx_outdataat45°incrementsofthefclk.Youcansetthetx_outclockfrequencyusingtheavailabledivisionfactorsfromthedrop-downlist. Use0°tospecifythetx_outclockphasetoberisingedgealignedtotheMSBoftheserialdataontx_out(Figure7). AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 18SettingtheTransmitterOutputClockParameters ug_altera_lvds 2014.08.18 Figure7:0°EdgeAlignedtx_outclockx8SerializerWaveformwithDivisionFactorof8 Use180°tospecifythetx_outclockphasetocenteralignedtotheMSBoftheserialdataontx_out (Figure8). Figure8:180°CenterAlignedtx_outclockx8SerializerWaveformwithDivisionFactorof8 Phaseshiftvaluesof0°through315°willpositiontherisingedgeofthetx_outclockwithintheMSBofthetx_outdata.Phaseshiftvaluesbeginningwith360°willpositiontherisingedgeofthetx_outclockinserialbitsaftertheMSB.Forexample,aphaseshiftof540°willpositiontherisingedgeinthecenterofthebitaftertheMSB(Figure9). Figure9:540°CenterAlignedtx_outclockx8SerializerWaveformwithDivisionFactorof8 UsetheTx_outclockdivisionfactordrop-downlisttosetthetx_outclockfrequency.Figure10showsax8serializationfactorusinga180°phaseshiftwithatx_outclockdivisionfactorof2(DDRclockanddatarelationship). AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback ug_altera_lvds2014.08.18 Timing19 Figure10:180°CenterAlignedtx_outclockx8SerializerWaveformwithDivisionFactorof2 Timing ToproperlyperformtiminganalysisontheAlteraLVDSSERDESIPcoreonArria10devices,theQuartusIIsoftwareversion14.0a10generatestherequiredtimingconstraints. TimingComponents Table6:TimingComponents ThistableliststhetimingcomponentsfortheAlteraLVDSSERDESIPcore. TimingComponent Description SourceSynchronousPaths Thesourcesynchronouspathsarepathswhereclockanddatasignalsarepassedfromthetransmittingdevicestothereceivingdevices.Forexample: ?FPGA/LVDS/TXtoexternalreceivingdevicetransmittingpath?ExternaltransmittingdevicetoFPGA/non-DPAmode/LVDS/RXreceivingpath DynamicPhaseAlignmentPaths TheI/Ocapturepathsinsoft-CDRandDPA-FIFOmodesareregisteredbyaDPAblock,whichdynamicallychoosesthebestphasefromthePLLVCOclockstolatchtheinputdata. TheinternalFPGApathsarethepathsinsidetheFPGAfabric.ThisincludestheLVDSRXhardwaretocoreregisterspaths,coreregisterstoLVDSTXhardwarepathsandotherscoreregisterstocoreregisterspath.TheTimeQuestTimingAnalyzerreportsthecorrespondingtimingmargins. InternalFPGAPaths TimingConstraintsandFiles ToenableyoutoperformtiminganalysisontheAlteraLVDSSERDESIPcoresuccessfully,theIPcoregeneratesthefollowingtimingfiles,whichyoucanlocateinthe AlteraLVDSSERDESIPCoreUserGuide SendFeedback AlteraCorporation 20TimingAnalysis ug_altera_lvds 2014.08.18 Table7:TimingFiles File Description allowstheTimeQuesttiminganalyzertoanalyzethetimingofyourdesign. TheIPcoreusesthe.sdcforthefollowingoperations:???? CreatingclocksonPLLinputsCreatinggeneratedclocks Callingderive_clock_uncertaintyCreatingpropermulti-cycleconstraints Youcanlocatethisfileinthe.qipgeneratedduringtheIPgeneration. sdc_util.tcl This.tclfileisalibraryoffunctionsandproceduresthatthe.sdcuses. TimingAnalysis TimingAnalysisatI/O ThissectiondescribesthetiminganalysisattheI/Ointerfacingexternaldevices.SoftCDRModeandDPA-FIFOModeRX InsoftCDRandDPA-FIFOmode,thereceivingdataiscaptureddynamicallybytheDPAhardware.Asaresult,theTimeQuestTimingAnalyzerdoesnotperformstatictiminganalysisattheI/O.Non-DPAModeRXandReceiverSkewMargin(RSKM) Changesinthesystemenvironment,suchastemperature,media(cable,connector,orPCB),andloading,affectthereceiver'ssetupandholdtimes;internalskewaffectsthesamplingabilityofthereceiver.Innon-DPAmode,usereceiverskewmargin(RSKM),receiverchannel-to-channelskew(RCCS),andsamplingwindow(SW)specificationstoanalyzethetimingforhigh-speedsource-synchronousdifferentialsignalsinthereceiverdatapath.ThefollowingequationshowstherelationshipbetweenRSKM,RCCS,andSW.Figure11:RSKM AlteraCorporationAlteraLVDSSERDESIPCoreUserGuide SendFeedback
正在阅读:
ug - altera - lvds06-19
点滴幸福作文700字07-14
劳技社团活动记录表05-10
福师《遥感导论》在线作业一05-22
集中交付维修服务作业指引 - 图文12-01
一年级音乐下册教案(新) - 图文04-27
2010年普通高等学校招生全国统一考试理科数学(新课标)全解全析版10-30
温哥华街头的鸭子作文600字06-20
湘教版五年级下册美术教案3.能干的帮手06-02
采访大学老师的感悟12-07
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- altera
- lvds
- ug
- 语音信号处理论文1 - 图文
- 医疗器械管理体系内部审核自检检查表 原创经典ISO13485: 2016
- 小学一年级反邪教警示教育教案
- 塑性铰长度及转动能力计算
- 用智慧塑造景区管理灵魂云台山《旅游景区数字化应用规范》成国家
- 环境监测人员持证上岗考核试题集(下册)
- 北海市投融资平台公司运营实施方案
- 北师大版九年级历史上册单元练习题
- 2013年房山区中考英语二模试题
- 山师教育心理学试题
- 芬兰拉普兰大学专业设置介绍
- 失败例子 TCL收购阿尔卡特失败案例分析
- SUSE Linux 主机安全加固
- 初一、初二阅读能力提升练习题及答案
- 浅析《骆驼祥子》中虎妞的形象
- 江苏道明化学有限公司年年产24000吨过氧化二异丙苯(DCP)、副产80
- 广西壮族自治区教育事业改革和发展“十二五”规划
- 高速公路安全施工组织设计
- 物理化学第五版课后习题答案
- 经典的战略管理讲义