数字电路与逻辑设计11.ppt

上传人:wj 文档编号:16157969 上传时间:2023-07-11 格式:PPT 页数:41 大小:2.27MB
下载 相关 举报
数字电路与逻辑设计11.ppt_第1页
第1页 / 共41页
数字电路与逻辑设计11.ppt_第2页
第2页 / 共41页
数字电路与逻辑设计11.ppt_第3页
第3页 / 共41页
数字电路与逻辑设计11.ppt_第4页
第4页 / 共41页
数字电路与逻辑设计11.ppt_第5页
第5页 / 共41页
数字电路与逻辑设计11.ppt_第6页
第6页 / 共41页
数字电路与逻辑设计11.ppt_第7页
第7页 / 共41页
数字电路与逻辑设计11.ppt_第8页
第8页 / 共41页
数字电路与逻辑设计11.ppt_第9页
第9页 / 共41页
数字电路与逻辑设计11.ppt_第10页
第10页 / 共41页
数字电路与逻辑设计11.ppt_第11页
第11页 / 共41页
数字电路与逻辑设计11.ppt_第12页
第12页 / 共41页
数字电路与逻辑设计11.ppt_第13页
第13页 / 共41页
数字电路与逻辑设计11.ppt_第14页
第14页 / 共41页
数字电路与逻辑设计11.ppt_第15页
第15页 / 共41页
数字电路与逻辑设计11.ppt_第16页
第16页 / 共41页
数字电路与逻辑设计11.ppt_第17页
第17页 / 共41页
数字电路与逻辑设计11.ppt_第18页
第18页 / 共41页
数字电路与逻辑设计11.ppt_第19页
第19页 / 共41页
数字电路与逻辑设计11.ppt_第20页
第20页 / 共41页
亲,该文档总共41页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

数字电路与逻辑设计11.ppt

《数字电路与逻辑设计11.ppt》由会员分享,可在线阅读,更多相关《数字电路与逻辑设计11.ppt(41页珍藏版)》请在冰点文库上搜索。

数字电路与逻辑设计11.ppt

,DigitalFundamentalsTenthEditionFloyd,Chapter11,Summary,ProgrammableLogic,SPLD:

(SimplePLDs)aretheearliesttypeofarraylogicusedforfixedfunctionsandsmallercircuitswithalimitednumberofgates.(ThePALandGALarebothSPLDs).CPLD:

(ComplexPLDs)aremultipleSPLDsarraysandinter-connectionarraysonasinglechip.FPLD:

(FieldProgrammableGateArray)areamoreflexiblearrangementthanCPLDs,withmuchlargercapacity.,ProgrammableLogicDevices(PLDs)areICswithalargenumberofgatesandflipflopsthatcanbeconfiguredwithbasicsoftwaretoperformaspecificlogicfunctionorperformthelogicforacomplexcircuit.MajortypesofPLDsare:

Summary,ProgrammableLogic,AdvantagestoPLDsinclude,ReducedcomplexityofcircuitboardsLowerpowerrequirementsLessboardspaceSimplertestingproceduresHigherreliabilityDesignflexibility,Summary,PALsandGALs,PALshaveaonetimeprogrammable(OTP)array,inwhichfusesarepermanentlyblown,creatingtheproducttermsinanANDarray.,AllPLDscontainarrays.TwoimportantSPLDsarePALs(ProgrammableArrayLogic)andGALs(GenericArrayLogic).AtypicalarrayconsistsofamatrixofconductorsconnectedinrowsandcolumnstoANDgates.,SimplifiedAND-ORarray,X,AABB,Summary,X,AABB,Whatfunctionisrepresentedbythearray?

Example,Solution,ThefunctionrepresentsanXORgate.,X=AB+AB,PALsareprogrammedwithaspecializedprogrammerthatblowsselectedinternalfuselinks.Afterblowingthefuses,thearrayrepresentstheBooleanlogicexpressionforthedesiredcircuit.,PALsandGALs,Summary,TheGAL(GenericArrayLogic)issimilartoaPALbutcanbereprogrammed.Forthisreason,theyareusefulfornewproductdevelopment(prototyping)andfortrainingpurposes.,AABB,X,GALsweredevelopedbyLatticeSemiconductor.Theyarehighspeed,extremelyfastdevicesandcaninterfacewithboth3.3Vor5Vlogicsignals.,PALsandGALs,Summary,PALsandGALscanberepresentedwithasimplifieddiagram.Asinglelinecanrepresentmultiplegateinputs.ThelogicshownisfortheXORgate,givenpreviously.,Inputbuffer,AABB,SinglelinewithslashindicatingmultipleANDgateinputs,Fuseblown,Fuseintact,AB,AB,AB+AB,PALsandGALs,Summary,PALsandGALshavelargearraylogicandincludeoutputlogicthatvariesincomplexity.TheoutputlogicisconnectedtoeachORgateandtogetherisreferredtoasamacrocell.TwotypesofPAL/GALmacrocellsareshown.Fortheseparticularmacrocells,theI/Opinscanserveasaninputoranoutput.,Tristatecontrol,FromANDarray,FromANDarray,I/O,I/O,Programmablefuselinktocontroloutputpolarity,ToANDarray,ToANDarray,PALsandGALs,Summary,ThePAL16V8isatypicalSPLD.Thereare16pinsthatcanbeusedasinputsand8pinsthatcanbeusedasoutputs.I/Opinsarecountedasbothinputsandoutputs.,I1,I2,I3,I4,I5,I6,I7,I8,I9,I/O10,O1,I/O1,I/O2,I/O3,I/O4,I/O5,I/O6,O2,ProgrammableANDarray,PLCCPackage,PALsandGALs,Summary,CPLDs,Acomplexprogrammablelogicdevice(CPLD)hasmultiplelogicarrayblocks(LABs)thatareactuallySPLDsonasingleIC.LABsareconnectedviaaprogrammableinterconnectarray(PIA).VariousCPLDshavedifferentstructuresfortheseelements.,ThePIAistheinterconnectionbetweentheLABs.LogicisfittedtotheCPLDandroutingisdeterminedbyahigh-levelprogramminglanguagecalledahardwaredescriptionlanguage(HDL).,Summary,CPLDs,ThearchitectureofaCPLDisthewayinwhichtheinternalelementsareconfigured.AportionoftheAlteraMAX7000seriesisshown.ThisstructureistypicalforCPLDsalthoughdensities,size,speed,andinternalfactors(macrocells,etc)willvarybetweenmanufacturers.,I/Opins,I/Opins,General-purposeinputs,Summary,CPLDs,MacrocellsintheAlteraMAX7000seriescangenerateuptofiveproductterms.Forexpressionsrequiringmoreterms,theoutputcanbeexpandedasdescribedinthetext.,Summary,Macrocells,Inadditiontocombinationlogic,somemacrocellshaveregisteredoutputsavailable(usingprogrammableflip-flops).ThisallowstheCPLDtoperformsequentiallogic.,Summary,FPGAs,Afieldprogrammablegatearray(FPGA)usesadifferentarchitecturethanaCPLD.Theconfigurablelogicblock(CLB)isthebasicelementwhichisreplicatedmanytimes.,CLBsarearrangedinarowandcolumnstructure.WithintheCLBsarelogicmodulesjoinedbylocalinterconnects.Generally,thelogicmodulesarecomposedofalook-uptable(LUT),aflip-flop,andaMUXthatcanbeusedtobypasstheflip-flopforstrictlycombinationallogic.,Summary,FPGAs,Logicmodulescanbeconfiguredforcombinationallogic,registeredlogic,oracombinationofboth.Theglobalinterconnectsdistributesignals(includingtheclock)tovariousCLBs.,FPGAsmayalsohaveahardcoreportionoflogicthatisputinbythemanufacturerandcannotbereprogrammedbytheuser.TheseFPGAsareusefulincommonlyusedfunctionssuchasI/Ointerfaces.,Summary,ProgrammableLogicSoftware,Allmanufacturersofprogrammablelogicprovidesoftwaretosupporttheirproducts.Theprocessisillustratedintheflowchart.,Thefirststepistoenterthelogicdesignintoacomputer.Itisdoneinoneoftwoways:

1)Schematicentry2)Hardwaredescriptionlanguage(HDL).,Summary,ProgrammableLogicSoftware,Inschematicentry,thedesignisdrawnonacomputerscreenbyplacingcomponentsandconnectingthenwithsimulatedwires.YoudonotneedtoknowthedetailsofanHDL.Afterdrawingtheschematic,itcanbereducedtoasingleblocksymbol:

Summary,ProgrammableLogicSoftware,Intextentry,thedesignisenteredviaahardwaredescriptionlanguagesuchasVHDLorVerilog.,VHDLhastwokeyparts:

theentityandthearchitecture.Theentitysectiondescribestheinputs,outputs,andvariables.ThearchitecturesectiondescribestherelationshipsbetweenvariablesusingBooleanequations.TheVHDLequationcanbeunderstood,evenifyoudonotknowVHDL.,Forexample,theVHDLexpressionforLED1iswrittenas,LED1=(DXORC)XORB)XORA;,Summary,ProgrammableLogicSoftware,ThecompleteVHDLprogramforthiscomponentisshownonthefollowingslide.,VHDLallowsyoutodescribecomponentsinoneprogramandthenusetheminanotherprogram.,Forexample,anactive-LOWS-Rlatchcanbedrawnas,Summary,ProgrammableLogicSoftware,entityS_RLatchisport(A,B:

inbit;Q,QNot:

inoutbit);endentityS_RLatch;architectureBehaviorofS_RLatchisbeginQ=notAornotQNot;QNot=notBornotQ;endarchitectureBehavior;,Entitysection,Architecturesection,Summary,FunctionalSimulation,AfterenteringthecircuitintoanHDL(suchasVHDL),thecircuitistestedinafunctionalsimulation.ThefunctionalsimulationispartoftheHDL.Youcantestthecircuitwithwaveformstoverifytheoperation.,Thefollowingshowsthefunctionaltestofacounterusingawaveformeditor:

Example,Summary,Synthesis,Afterthesimulation,thecomputerprogramoptimizesthelogicbyeliminatingredundanttermsandgeneratinganetlist,(aconnectionlist)thatisacompletedescriptionofthecircuit.,Netlist,Summary,Implementation,Thecomputernext“maps”thedesignfromthenetlisttofitittoatargetdevice.Dataforallpotentialtargetdevicesareinasoftwarelibrary.ThecomputermustaccountfortheI/Opinsandfitthelogictothetargetdevice.,Summary,TimingSimulation,Afterimplementation,atimingsimulationisdonethattakesintoaccountthespecificdelaysinthetargetdeviceandverifiesthattherenoproblemswiththetiming.Asinthecaseofthefunctionalsimulation,thewaveformeditorcanbeusedtoreviewfinaltiming.,Ifaproblemisrevealed,itisnottoolatetocorrectitbeforedownloadingthefile.,Summary,DeviceProgramming,Thefinalstepistosendtheprogrammingfilefromthecomputertothetargetdeviceandtesttheimplementation.,APLDT-2prototypingboardthathasanAlteraPLDasthetargetdeviceisshown.Connectionsareaddedtotheboardfromapulsegeneratorandoscilloscopetotesttheactualcircuitinalaboratoryenvironment.Theprototypingboardhasbuilt-inpowersupplies,interfacing,I/O,andmore.,Summary,Testing,ThetrafficlightsystemapplicationwasdescribedinseveralSystemApplicationActivitiesinthetext.ThephotographisthetrafficlightlogicdownloadedtoaPLDT-2boardandoperatingasimulatedtrafficlight.Aninterfaceisaddedtoallowforthevoltageandcurrentrequirementsofthebulbs.,Interfaceboard,PLDT-2board,Summary,BoundaryScanLogic,Boundaryscanthatisdesignedbythemanufacturerofprogrammabledevicestoprovideameansoftestingandprogrammingthedevicewithoutrequiringphysicalaccesstotheinternallogic.Programmabledevicesthatarecompliantwithacertainstandardhaveinternalregisterstoallowtestingofinternalinterconnectionsandlogic.Testdataissuppliedandverified.Whenthecircuitisoperating,theboundaryscanlogicis“invisible”.,Thefollowingslideshowsaboundaryscanlogicdiagram,Summary,BoundaryScanLogic,SelectedKeyTerms,PALGALMacrocellCPLD,Atypeofone-timeprogrammableSPLDthatconsistsofaprogrammablearrayofANDgatesthatconnectstoafixedarrayofORgates.,AreprogrammabletypeofSPLDthatthatissimilartoaPALexceptitusesareprogrammableprocesstechnology,suchasEEPROMinsteadoffuses.,PartofaPAL,GAL,orCPLDthatgenerallyconsistsofoneORgateandsomeassociatedoutputlogic.,AcomplexreprogrammablelogicdevicethatconsistsbasicallyofmultipleSPLDarrayswithprogrammableinterconnections.,SelectedKeyTerms,FPGADesignflowSchematicentryTextentryBoundaryscan,Fieldprogrammablegatearray;aprogrammablelogicdevicethatusestheLUTasthebasiclogicelementandgenerallyemployseithertheantifuseorSRAM-basedprocesstechnology,Theprocessorsequencecarriedouttoprogramatargetdevice.,Amethodofplacingalogicdesignintosoftwareusingschematicsymbols.,Amethodofplacingalogicdesignintosoftwareusing

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 农林牧渔 > 林学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2