




已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年金华义乌市中心医院招聘非编人员6人模拟试卷及答案详解(必刷)
- 2025年威海市文登区属华盛能源投资集团等国有企业公开招考工作人员考前自测高频考点模拟试题完整答案详解
- 2025广西柳州市城中区委社会工作部招聘专职化城市社区工作者5人模拟试卷有答案详解
- 2025年2月广东广州市海珠区人民法院招聘劳动合同制法官助理、书记员招聘拟聘人选模拟试卷及答案详解(典优)
- 安全管理再培训个人总结课件
- 2025年黄山黄山区消防救援大队招聘2人考前自测高频考点模拟试题及参考答案详解1套
- 2025年第十三届贵州人才博览会省委金融办所属事业单位人才引进1人模拟试卷及1套完整答案详解
- 2025北京市海淀区中关村第一小学教育集团招聘模拟试卷及答案详解1套
- 2025年绥化青冈县乡镇卫生院公开招聘医学毕业生5人模拟试卷及答案详解(历年真题)
- 2025年咸阳明德职业学校教师招聘模拟试卷及参考答案详解1套
- 美发师考试题
- 浙江安保考试题库及答案
- 苏州安全生产教育培训课件
- 兵团面试题目及答案
- 2025贵州贵阳市投资控股集团房地产置业有限公司招聘12人考试参考题库及答案解析
- 免疫细胞治疗安全性评价-第1篇-洞察及研究
- 车间师带徒管理办法
- 桥梁工程监理工作实施方案
- 2025年秋期新教材部编人教版一年级上册道德与法治教学计划+进度表
- 服装辅料基础知识培训
- 国家事业单位招聘2025农业农村部国际交流服务中心招聘拟聘用人员笔试历年参考题库附带答案详解
评论
0/150
提交评论