




已阅读5页,还剩36页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
DDR/DDRIIThingstoconsider,Objectives,ThispresentationcoversaspectsnotaddressedinDDRSDRAMMegawizarddemonstration.AimstohelpanswersquestionslikeHowmanycontrollerscanIgetinthisdeviceWhatdoIneedtoconsideratlayoutWhatifIwanttorunbelow100orabove200MHzArethereadditionalconsiderationsforHardcopyWherecanIfindmoreinformationEtcetcUnfortunatelythisdoesmakethepresentation“bitty”.,WhatisDDR?(Brief)(Thissectionforthoseatthebeginningofthelearningcurve.),WhatisDDR,DDRstandsfor“doubledatarate”.GenerallywhenpeopletalkaboutDDRtheyaretalkingabouttransferringdatatoandfrommemory.DDRsimplymeansthereisdataonbothedgesofthestrobe.,DataStrobe(dqs),Data(dq),WhywouldIuseit?,Toincreaseyourbandwidthforthesamenumberofpins(comparedtoSDRAM).Andbecauseitischeap(commercialpartusedinPCs).Yourcustomersuseit.LookatthemarketshareofDDRandDDR2,Source:GartnerDataquest(May2004),Whatisinvolved?,Datapassesbackwardsandforwardsonahighspeedbi-directionbus.Adatastrobe(DQS)travelswiththedata.,DDR2Memory,MemoryController,On-ChipDLLPhaseShiftforDQSDelayCircuitry,t,DQ_i,DQS_i,DQ,DQS,DQS,Whatisinvolved,TheFPGAmustalignthedataandstrobe(dqanddqs)onthewayout(writes)anddelaythestrobe(dqs)by90degreesonthewayin(reads)tousedqsascapturestrobe.Theoperationclearlyinvolvesgoing“offchip”soweneedtobecarefuloftiminganalysis.Anditis(orcanbe)highspeedsoweneedtowatchoutforthingsliketermination.,WherecanIfindmoreinformation?(All:Rejoinpresentationhere),Whatcollateralalreadyexits?,TheMemorySolutionsWebpageontheAlterasite.HardwareboardssimulateyourdesignincludingPCBanddevicepackage.),BoardConsiderations,Micronhasalotofveryusefulmaterials,GeneralBoardGuidelines,Controlledimpedanceonsignallayers:Allsignalplanestobe50-ohmssingleendedimpedance+/-10%Allsignalplanestobe100-ohmsdifferentialimpedance+/-10%Componentplacement:BGAtoSurface-mountmusthaveminimum150-milclearance.Through-holetoSurface-mountonbottomsideclearancemustbegreaterthan200-mils.ViapadsRemovedunusedpadasthesecancauseadditionalunwantedcapacitance.,GeneralBoardDecoupling,Use0.1-Fcapacitorsinan0402/0603-sizedpackageProvidesufficientcapacitancewithoutaddingtoomuchinductanceMakeVTTvoltagedecouplingonboardclosetotheparallelpull-upresistors.ConnectthedecouplingcapacitorsbetweenVTTandground.ExampleTheCyclonememoryinterfaceboardhasa0.1-FcapacitorforeveryotherVTTpin.TheCyclonememoryinterfaceboardalsohas0.1-and0.01-FcapacitorsforeveryVDDandVDDQpin.,MemoryBoardPowerRouting,ExamplefromS2MB2:GND,3.3V,and1.2VareroutedasplanesThesesignalsareneededacrosstheboardVCCIOforthememoriesroutedinasinglesplitplanewith20-milgapsofseparationCanusejustpartoftheboardforeachmemoryVTTandQDRVCCINTareroutedasislandsor250-milpowertracesonsignallayersNotneededforanythingelseexcepttermination(forVTT)OscillatorsandPLLpowerareroutedasislandsor100-milpowertracesonsignallayersAgain,notneededforanythingelse,GeneralRoutingGuidelines,Alterarecommendsthatdesigners:Use45degreeangles(no90degreecorners)AvoidT-junctionsforcriticalnetsorclocks.AvoidT-junctionsgreaterthan250milsDisallowsignalsacrosssplitplanesRestrictroutingothersignalsclosetosystemresetsignalsAvoidroutingmemorysignalscloserthan0.025inchtoPCIorsystemclocks,RoutingGuidelines,ClockRoutingGuidelinesClocksshouldberoutedoninnerlayerswithouter-layerrunlengthsbeingheldtounder500milsThesesignalsshouldmaintaina10-milspacingfromothernetsDifferentialclocksshouldmaintainalength-matchingbetweenPandNsignalsof+/-15mils,routedinparallelDifferentialclockswithSMAsshouldrouteasadifferentialpairandbreak-outtoSMAsrightattheconnectorsSpacebetweenpairsshouldbeatleast3xthatusedbetweenthepairMustberouteddifferentially(5miltrace,10-15milspaceoncenters)andbeequaltoorupto100-milslongerthansignalsintheAddress/CommandGroup,RoutingGuidelines,FeedbackClockRoutingGuidelinesShouldbewithin100-milsoftheaveragelengthoftheByteLaneGroupsAddressandCommandRoutingGuidelinesAddress/CommandcanbeunbufferedorbufferedonDIMMUnbufferedaremoresusceptibletocrosstalkandaregenerallynosierthanbufferedUnbufferedshouldberoutedonadifferentlayerthanDQandDMandwithgreaterspacing,RoutingGuidelines,AllOtherRoutingGuidelinesAlldata,address,andcommandsignalsmusthavematchedlengthtraces+/-0.250inchesAllsignalswithinagiven“ByteLaneGroup”shouldbematchedlengthwithmaximumdeviationof+/-0.050inches.Allothersignalsaretomaintainaspacingthatisbasedonitsparallelismwithothernets:5milsforparallelruns0.5inches(1Xspacingrelativetoplanedistance)10milsforparallelrunsbetween0.5and1.0inches(2Xspacingrelativetoplanedistance)15milsforparallelrunsbetween1.0and6.0inches(3Xspacingrelativetoplanedistance),TerminationforMemories,ThepopularmemoriesvendorsdonotrequirecustomersadherestrictlytotheJEDECspecificationforterminationMemoryvendorsdoprovidesomesuggestedterminationschemesandresistancevalues.Pleasereferencethese.,TerminationforMemories,Terminationultimatelyneedtobechosenbyuserfortheirparticularboard.ThefollowingaresomeusefulguidelinesdependingonthefinalschemechosenWhenpull-upsareused,fly-byterminationconfigurationarerecommendedFly-byhelpsreducestubreflectionissuesDisadvantageiscomplexityofroutingandcostIfusingresistornetworksDonotshareR-packseriesresistorsbetweenaddress/commandanddatalines(DQ,DQS,DM)toeliminatecrosstalkwithinpackSeriesandpulluptolerances12%IfterminationresistorpacksusedDistancetoyourmemorydevice750milsDistancefromyourStratixdevice1250mils,BoardGuidelines,DonotforgettoreferencetheschematicsandgerberfilesthatalreadyexistfortheAlteraMemoryboards.,AlookatFrequency,OperationalFrequency,Below100MHzdevicethatsupportthisCyclone:CycloneII:Stratix:Recommenduseonnon-dqsmode.StratixII:Recommenduseonnon-dqsmode.Between101and199MHzCyclone:Upto133MHzoperationCycloneII:Upto166MHzoperationStratix:Upto200MHzinDQSmode.150MHzinnon-dqsmode.StratixII:Upto266MHzinDQSmode.150MHzinnon-dqsmode.Above200MHzStratixII:DDRIIoperation.UseofFed-backclockrecommended,Packagehasaneffect.,TakenfromAN348,TakenfromAN342,Tryingtorunbelow100MHz,GenerallyDDRSDRAMdevicesdonotrunbelow80MHz.StratixDLLfunctionsdownto100MHz,ForStratixcanusetheNon-DQSmode.Thatis,afreerunningcaptureclock,itisoftensimpler.,Un-checkthisboxfornon-dqsmode,Runningabove200MHz,DDRonlyspecedto200MHz(ieDDR400)soanythingaboveisDDRIIoperation.Timingisnowcritical(althoughalwaysimportantatanyfrequency)FedbackclockintroducedTocompensateforPVTvariationsinoutputbufferandtracklength.,Fittingacontrollerorcontrollersintoadevice,PinSelection,DQ/DQSpinsarefixedontheFPGAremovingmanyofthedifficult“bestplacement”choices.LeftwithfollowingpinselectionchoicesMemoryClocksUsematchedDDIOflopstocreateclocks?UsededicatedPLLoutputforclocking?DQ/DQSGroupsWhichgroupsshouldauserchoose?,PinSelectionMemoryClocks,AlterarecommendsusinggeneralpurposeDDIOratherthandedicatedplloutputclockAdvantagesUsingDDIOmimicsthewayDQS/DQaregenerated(allPVTvariationsaretracked)AlterahasthemostsystemtestdataforthisimplementationPreventanissueinmeetingtheTdqssrequirementoftheDDRspecification.(Thatis,relationshipbetweendqsandclock),PinSelection-DQ/DQSGroups,Largeinterfaces(e.g.x72)useupmostoralloftheDQ/DQSgroupsonthetoporbottomoftheFPGASmallerinterfacespresentachoicetotheuserofwhichgroupsarebesttouseAreanygroupsbettermatchedontheFPGA?Doanysetsofgroupsprovidebetterimmunitytonoise?,Howwideaninterface,Stratix:DQSmode:Stratixdeviceshaveuptoupto160dqpins.80ontopand80onbottom(checkspecificpackage)Non-dqsmodeanypincanbeusedbutlimitedto150MHzoperation.StratixII:DQSmode:SmallerpackageshavealownumberofdqspinssoifinterfacingtoaDIMMchecknumberofx8dqsgroupsfirst.Non-dqsmode:Asabove.Cyclone:8globalclocksinacyclone.2ofwhichareusedupintheAlteraDDRSDRAMIPcontroller.Thisleavesatotalof6globalclocks.DQSroutedonglobalclocklines.Thereforemaximumdatawidthforacycloneis48bits.(6*8=48)despitefactlargerpackageshave8dqspins.,Numberofcontrollersindevice,ApplicabletoStratix/GX+StratixIIDQSmodeThereare2DLLperdevice.1DLLcansupportNinterfaceifEnoughpinsAllinterfacesrunningatsamefreqencyStartixonly:TheDLLontop(orb
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 技师考试题库及答案详解
- 森林防灭火知识培训简报课件
- 森林防火知识培训课件
- 梭菌基础知识培训课件
- 2025年软件架构师面试攻略与热点预测题解析
- 《招标采购专业实务》模拟试题及答案
- 2025年药品安全操作规程题解
- 2025驾照检验考试试题及答案
- 2025年医生招聘考试题库及答案解析
- 2025年政府公务员考试模拟试题及标准答案详解
- 渐进片试题及答案
- 食品质检考试真题及复习资料
- 天翼云认证高级解决方案架构师练习试题附答案
- 2025年茯苓市场调查报告
- 2024广东省中考英语真题【原卷版】
- 物业管理中的控烟规章制度
- 云上贵州大数据(集团)有限公司招聘笔试冲刺题2024
- 反比例函数教材分析课件
- 空调工人安装合同模板
- Unit 8 Lets celebrate!教学设计2024-2025学年牛津译林版英语七年级上册
- 文言合集(1):120个文言实词小故事(教师版+学生版)
评论
0/150
提交评论