中科院研究生院课程VLSI测试与可测试性设计(精)ppt课件_第1页
中科院研究生院课程VLSI测试与可测试性设计(精)ppt课件_第2页
中科院研究生院课程VLSI测试与可测试性设计(精)ppt课件_第3页
中科院研究生院课程VLSI测试与可测试性设计(精)ppt课件_第4页
中科院研究生院课程VLSI测试与可测试性设计(精)ppt课件_第5页
已阅读5页,还剩73页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1,中科院研究生院课程:VLSI测试与可测试性设计,第4讲逻辑与故障模拟李晓维中科院计算技术研究所Email:lxw,2,Chapter3,LogicandFaultSimulation,3,AbouttheChapter,CircuitsimulationmodelsLogicsimulationtechniquesFaultsimulationtechniques,4,LogicandFaultSimulation,IntroductionSimulationmodelsLogicsimulationFaultsimulationConcludingremarks,5,PredictthebehaviorofadesignpriortoitsphysicalrealizationDesignverification,LogicSimulation,6,FaultSimulation,PredictsthebehavioroffaultycircuitsAsaconsequenceofinevitablefabricationprocessimperfectionsAnimportanttoolfortestanddiagnosisEstimatefaultcoverageFaultsimulatorTestcompactionFaultdiagnosis,7,LogicandFaultSimulation,IntroductionSimulationmodelsLogicsimulationFaultsimulationConcludingremarks,8,Gate-LevelNetwork,Theinterconnectionsoflogicgates,9,SequentialCircuits,Theoutputsdependonboththecurrentandpastinputvalues,xi:primaryinput(PI)zi:primaryoutput(PO)yi:pseudoprimaryinput(PPI)Yi:pseudoprimaryoutput(PPO),10,APositiveEdge-TriggeredD-FF,11,Example:AFull-Adder,12,LogicSymbols,Themostcommonlyusedare0,1,uandZ1and0trueandfalseofthetwo-valueBooleanalgebrauUnknownlogicstate(maybe1or0)ZHigh-impedancestateNotconnectedtoVddorground,13,TernaryLogic,Threelogicsymbols:0,1,andu,14,InformationLossofTernaryLogic,SimulationbasedonternarylogicispessimisticAsignalmaybereportedasunknownwhenitsvaluecanbeuniquelydeterminedas0or1,15,High-ImpedanceStateZ,Tri-stategatespermitseveralgatestotime-shareacommonwire,calledbusAsignalisinhigh-impedancestateifitisconnectedtoneitherVddnorground,16,LogicElementEvaluationMethods,ChoiceofevaluationtechniquedependsonConsideredlogicsymbolsTypesandmodelsoflogicelementsCommonlyusedapproachesTruthtablebasedInputscanningInputcountingParallelgateevaluation,17,TruthTableBasedGateEvaluation,ThemoststraightforwardandeasytoimplementForbinarylogic,2nentriesforn-inputlogicelementMayusetheinputvalueastableindexTablesizeincreasesexponentiallywiththenumberofinputsCouldbeinefficientformulti-valuedlogicAk-symbollogicsystemrequiresatableof2mnentriesforann-inputlogicelementm=log2kTableindexedbymn-bitwords,18,ParallelGateEvaluation,ExploittheinherentconcurrencyinthehostcomputerA32-bitcomputercanperform32logicoperationsinparallel,19,TimingModels,TransportdelayInertialdelayWiredelayFunctionelementdelaymodel,20,TransportDelay,Thetimedurationittakesfortheeffectofgateinputchangestoappearatgateoutputs,21,InertialDelay,Theminimuminputpulsedurationnecessaryfortheoutputtoswitchstates,22,WireDelay,WiresareinherentlyresistiveandcapacitiveIttakesfinitetimeforasignaltopropagatealongawire,23,FunctionalElementDelayModel,Formorecomplicatedfunctionalelementslikeflip-flops,24,ModelingLevels,25,LogicandFaultSimulation,IntroductionSimulationmodelsLogicsimulationFaultsimulationConcludingremarks,26,CompiledCodeSimulation,Translatethelogicnetworkintoaseriesofmachineinstructionsthatmodelthegatefunctionsandinterconnections,27,LogicOptimization,Enhancethesimulationefficiency,28,Event-DrivenSimulation,Event:theswitchingofasignalsvalueAnevent-drivensimulatormonitorstheoccurrencesofeventstodeterminewhichgatestoevaluate,29,Zero-DelayEvent-DrivenSimulation,GateswitheventsattheirinputsareplacesintheeventqueueQ,30,Nominal-DelayEvent-DrivenSimulation,NeedasmarterschedulerthantheeventqueueNotonlywhichgatesbutalsowhentoevaluate,31,Two-PassEvent-DrivenSimulation,32,Event-DrivenAlgorithm(Example),33,Example,34,Compiled-Codevs.Event-DrivenSimulation,Compiled-codeCycle-basedsimulationHighswitchingactivitycircuitsParallelsimulationLimitedbycompilationtimesEvent-drivenImplementinggatedelaysanddetectinghazardsLowswitchingactivitycircuitsMorecomplicatedmemorymanagement,35,LogicandFaultSimulation,IntroductionSimulationmodelsLogicsimulationFaultsimulationConcludingremarks,36,FaultSimulation,IntroductionSerialFaultSimulationParallelFaultSimulationDeductiveFaultSimulationConcurrentFaultSimulationDifferentialFaultSimulationFaultDetectionComparisonofFaultSimulationTechniquesAlternativetoFaultSimulationConclusion,37,Introduction,Whatisfaultsimulation?GivenAcircuitAsetoftestpatternsAfaultmodelDetermineFaultyoutputsUndetectedfaultsFaultcoverage,38,TimeComplexity,Proportionalton:Circuitsize,numberoflogicgatesp:Numberoftestpatternsf:NumberofmodeledfaultsSincefisroughlyproportionalton,theoveralltimecomplexityisO(pn2),39,SerialFaultSimulation,First,performfault-freelogicsimulationontheoriginalcircuitGood(fault-free)responseForeachfault,performfaultinjectionandlogicsimulationFaultycircuitresponse,40,SerialFaultSimulation,41,AlgorithmFlow,42,Example,43,FaultDropping,HaltingsimulationofthedetectedfaultExampleSupposewearetosimulateP1,P2,P3inorderFaultfisdetectedbyP1DonotsimulatefforP2,P3ForfaultgradingMostfaultsaredetectedafterrelativelyfewtestpatternshavebeenappliedForfaultdiagnosisAvoidedtoobtaintheentirefaultsimulationresults,44,ProandCon,AdvantagesEasytoimplementAbilitytohandleawiderangeoffaultmodels(stuck-at,delay,Br,)DisadvantagesVeryslow,45,ParallelFaultSimulation,ExploittheinherentparallelismofbitwiseoperationsParallelfaultsimulationSeshu1965ParallelinfaultsParallelpatternfaultsimulationWaicukauski1986Parallelinpatterns,46,ParallelFaultSimulation,AssumptionUsebinarylogic:onebitisenoughtostorelogicsignalUsew-bitwidedatawordParallelsimulationw-1bitforfaultycircuits1bitforfault-freecircuitProcessfaultyandfault-freecircuitinparallelusingbitwiselogicoperations,47,ParallelFaultSimulation,48,FaultInjection,49,Example,50,ProandCon,AdvantagesAlargenumberoffaultsaredetectedbyeachpatternwhensimulatingthebeginningoftestsequenceDisadvantagesOnlyapplicabletotheunitorzerodelaymodelsFaultscannotbedroppedunlessall(w-1)faultsaredetected,51,ParallelPatternFaultSimulation,Parallelpatternsinglefaultpropagation(PPSFP)ParallelpatternWithaw-bitdatawidth,wtestpatternsarepackedintoawordandsimulatedforthefault-freeorfaultycircuitSinglefaultFirst,fault-freesimulationNext,foreachfault,faultinjectionandfaultycircuitsimulation,52,AlgorithmFlow,53,Example,54,ProandCon,AdvantagesFaultisdroppedassoonasdetectedBestforsimulatingtestpatternsthatcomelater,wherefaultdroppingrateperpatternislowerDisadvantagesNotsuitableforsequentialcircuits,55,DeductiveFaultSimulation,Armstrong1972BasedonlogicreasoningratherthansimulationFaultlistattachedwithsignalxdenotedasLxSetoffaultscausingxtodifferfromitsfault-freevalueFaultlistpropagationDerivethefaultlistofagateoutputfromthoseofthegateinputsbasedonlogicreasoning,56,FaultListPropagationRules,Allgateinputsholdnon-controllingvalueAtleastoneinputholdscontrollingvalue,c:controllingvaluei:inversionvalueI:setofgateinputsz:gateoutputS:inputsholdingcontrollingvalue,(3.1),(3.2),57,AlgorithmFlow,58,Example,P1,byEq.(3.1),59,Example(contd),P2,A,B,C,E,F,J,L,H,K,0,0,1,LB=B/1,LC=C/0,1,1,0,0,1,C/0,1,C/0,C/0,C/0,C/0,60,Example(contd),P3,byEq.(3.2),LC=C/1,61,ProandCon,AdvantagesVeryefficientSimulateallfaultsinonepassDisadvantagesNoteasytohandleunknownsOnlyforzero-delaytimingmodelPotentialmemorymanagementproblem,62,ConcurrentFaultSimulation,Ulrich1974SimulateonlydifferentialpartsofwholecircuitEvent-drivensimulationwithfault-freeandfaultycircuitssimulatedaltogetherConcurrentfaultlistforeachgateConsistofasetofbadgatesFaultindex&associatedgateI/OvaluesInitiallyonlycontainslocalfaultsFaultpropagatefrompreviousstage,63,GoodEventandBadEvent,GoodeventEventsthathappeningoodcircuitAffectbothgoodgatesandbadgatesBadeventEventsthatoccurinthefaultycircuitofcorrespondingfaultAffectonlybadgatesDivergeAdditionofnewbadgatesConvergeRemovalofbadgateswhoseI/Osignalsarethesameascorrespondinggoodgates,64,AlgorithmFlow,65,Example,P1,66,Example(contd),P2,67,Example(contd),P3,68,ProandCon,AdvantagesEfficientDisadvantagesPotentialmemoryproblemSizeoftheconcurrentfaultlistchangesatruntime,69,FaultDetection,HarddetectedfaultOutputsoffault-freeandfaultycircuitaredifferent1/0or0/1Nounknowns,noZPotentiallydetectedfaultWhetherthefaultisdetectedisunclearExample:stuck-at-0onenablesignaloftri-statebuffer,70,FaultDetection(contd),OscillationfaultsCausecircuittooscillateImpossibletopredictfaultycircuitoutputsHyperactivefaultsCatastrophicfaulteffectFaultsimulationistimeandmemoryconsumingExample:stuck-atfaultonclockUsuallycountedasdetectedSavefaultsimulationtime,71,ComparisonofFaultSimulationTechniques(1),SpeedSerialfaultsimulation:slowestParallelfaultsimulation:O(n3),n:numofgatesDeductivefaultsimulation:O(n2)ConcurrentfaultisfasterthandeductivefaultsimulationDifferentialfaultsimulation:evenfasterthanconcurrentfaultsimulationandPPSFPMemoryusageSerialfaultsimulation,parallelfaultsimulation:noproblemDeductivefaultsimulation:dynamicallocatememoryandhardtopredictsizeConcurrentfaultsimulation:moreseverethandeductivefaultsimulationDifferentialfaultsimulation:lessmemoryproblemthanconcurrentfaultsimulation,72,ComparisonofFaultSimulationTechniques(2),Multi-valuedfaultsimulationtohandleunknown(X)and/orhigh-impedance(Z)Serialfaultsimulation,concurrentfaultsimulation,differentialfaultsimulation:easytohandleParallelfaultsimulation:difficultDelayandfunctionalmodelingcapabilitySerialfaultsimulation:noproblemParallelfaultsimulation,deductivefaultsimulation:notcapableConcurrentfaultsimulation:capableDifferentialfaultsimulation:capable,73,ComparisonofFaultSimulationTechniques(3),SequentialcircuitSerialfaultsimulation,parallelfaultsimulation,concurrentfaultsimulation,differentialfaultsimulation:noproblemPPSFP:difficultDeductivef

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论