fault simulation是指对fault circuit的simulation,来locate manufacturing defects并且进行fault diagnosis。

logic simulation针对logic circuit model的simulation,主要有compiled-code和event-driven两种techniques。

Logic simulation针对design verification的:

一般design verificaiton起始于behavioral level或者elcetronic system(ESL),一般的描述语言有C/C++。

一旦behavior model被验证为acceptable,开始进行register-transfer level(RTL)的验证,描述语言有verilog/SV。

ESL和RTL级别的verification被称为functional verification。

经过logic/scan synthesis之后,进行gate-level的verification,检查timing-critical的部分。

之后可以进行更精确的transistor-level的仿真,得到更精确的power,timing等信息。

ESL code---------------------------behavioral design;

HDL code------------------------------RTL design;

netlist----------------------------------gate-level design;

SPICE model---------------------------transistor-level design;

Logic simulation通过对比给出的spec和作为ref的good design来identifying design error。

fault simualtion主要针对fabricated circuit。fault simulation注重fault coverage,保证chip的quality。

logic simulation的model:

组合电路:

时序电路:

logic symbol有:1,0,x,z,还有strength level。

当一个circuit上电时,storage element的初始值为X,在simulator中的x是悲观的,实际上,只会是1或0的有限值。

tristate gate拥有high-impedance state,Tristate gates允许一个time-share的wire(BUS).

实际中,在bus上要添加pull-up/pull-down逻辑,因为tristate不允许有多个gate同时打开,而且打开的gate关掉之后,

bus会维持之前的state,而pull-up/down可以打破这种关系。

intermediate logic states,不仅会建模signal的value还包括strength,包括strong,weak,floating 1/0。

strong 1和0,就像我们使用的1和0,weak 1和0,会被strong的信号所覆盖。

floating signal作为最weak的signal。

Logic element evaluation:

1)truth table,最straightforward的方式。

2)input scanning,根据门电路的control bit进行控制,AND由"0"控制,OR由"1"控制。

3)Parallel gate evaluation,通过计算机32Bit或64bit的多位计算,来进行bitwise parallel simulation。

Timing model:

1)transport delay,指gate input输出到gate output上的延时,norminal delay表示这个延时对于rise和fall相同。

对于rising time和falling timing不同的情况,需要rise/fall delay model。

如果transport delay不能被唯一的决定,需要使用min-max delay model。

2)inertial delay,指通过门电路的最小pulse duration。

3)wire delay,由于wire内在的resistive和capacitive,以及neighboring conductors mutual capacitance。

也被称作propagation delay,在PR之前只能通过WLM进行评估。

4)Functional Element Delay Model,像FF,有更负责的时序模型,D-Q的delay以及setup/fold等。

Compiled-Code simulation

将logic network转换为一系列的machine instruction,来对gate和他们之间的interconnect进行建模。

在这个过程中,会进行logic optimization,主要是进行逻辑简化的一些操作。

logic levelization,logic gate只有在它的所有driving gate都evaluated之后,才会进行evaluated。

经过simulator之后,可以产生的三种code:

1)high-level的code,像C语言。

2)Native-machine code,不需要经过compilation的代码。

3)Interpreted code,在进行simulation的过程中,指令便被interpreted和executed。

Compiled-Code的主要问题:不能加入timing model和很低的simulation efficiency。

Event-Driven simulation

event-driven simulation拥有很高的efficiency,因为只在必要的时候,才进行gate evaluation。

并且可以加入delay model。

compiled-code更适用于cycle-based simualtion,并且DUT用model来代替的时候。

输入变化引起的不必要的pulse和glitch,称为hazards。

其中包括static hazard(static 1-hazard, static 0-hazard),和dynamic hazards。

Logic and Fault simulation的更多相关文章

  1. fault coverage enhancement

    在pseudo-random test中,由于random pattern resistant的特性,fault coverage不是sufficient的, 所以会有一些办法来进行coverage的 ...

  2. EDA简介

    Electronic design automation (EDA), also referred to as electronic computer-aided design (ECAD),[1] ...

  3. scan & ATPG

    Testability用来表征一个manufactured design的quality. 将testability放在ASIC前端来做,成为DFT(Design For Test),用可控(cont ...

  4. [置顶] Oracle 11g Data Guard Role Transitions: Failover

    Role TransitionsInvolving Physical Standby Databases A database operates in one of the following mut ...

  5. 对仿真glbl.v文件的理解

    Simulation, UniSim, SimPrim - How do I use the "glbl.v" module in a Verilog simulation? De ...

  6. Gate level Simulation(门级仿真)

    1 什么是后仿真? 后仿真也成为时序仿真,门级仿真,在芯片布局布线后将时序文件SDF反标到网标文件上,针对带有时序信息的网标仿真称为后仿真. 2 后仿真是用来干嘛的? 检查电路中的timing vio ...

  7. Logic BIST

    Logic BIST is crucial for many applications, in particular for life-critical and mission-critical ap ...

  8. what is delta simulation time

    In digital logic simulation, a delta cycles are evaluation of expressions, followed by value updates ...

  9. delta simulation time[(delta cycle), (delta delay)]

    "Delta cycles are an HDL concept used to order events that occur in zero physical time."si ...

随机推荐

  1. Gym 101102A Coins -- 2016 ACM Amman Collegiate Programming Contest(01背包变形)

    A - Coins Time Limit:3000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Descript ...

  2. [BS-09] UITabBarController简单介绍

    iOS开发UI篇—UITabBarController简单介绍 一.简单介绍 UITabBarController和UINavigationController类似,UITabBarControlle ...

  3. 发起post请求

    string postUrl = "https://api.mch.weixin.qq.com/mmpaymkttransfers/gethbinfo"; //string req ...

  4. iOS - (调用系统本机打电话功能)

    如下图所示,点击订单里的打电话 button 后,调用系统的打电话功能. 这个调用系统打电话功能有点简单,不需要遵守协议和代理什么的,直接在点击方法里写上几句代码就可以了. 下面来看看代码吧: 接下来 ...

  5. 虚拟化技术比较 PV HVM

    很多人看到同样配置的VPS价格相差很大,甚是不理解,其实VPS使用的虚拟技术种类有很多,如OpenVZ.Xen.KVM.Xen和HVM与PV.在XEN中pv是半虚拟化,hvm是全虚拟化,pv只能用于L ...

  6. 第三方cookie与搜索引擎+网站广告原理

    cookie 摘自 : http://www.williamlong.info/archives/3125.html 关于cookie的安全知识 :http://shaoshuai.me/tech/2 ...

  7. C语言中静态库和动态库笔记

    库 库,故名思议,是存放东西的地方,其中存放的东西可以被多个人公用. 程序中借用库的概念,描述将代码进行抽取,这种代码被大多数程序使用, 其过程具有一定的模块化.封装.抽象的特征. 按照库的使用方式, ...

  8. RDIFramework.NET V2.7 Web版本升手风琴+树型目录(2级+)方法

    RDIFramework.NET V2.7 Web版本升手风琴+树型目录(2级+)方法 手风琴风格在Web应用非常的普遍,越来越多的Web应用都是采用这种方式来体现各个功能模块,传统的手风琴风格只支持 ...

  9. [Sublime Text] How to Install Sublime Text on Ubuntu

    For Sublime-Text-2: sudo add-apt-repository ppa:webupd8team/sublime-text- sudo apt-get update sudo a ...

  10. openSuSE DNS SERVER CONFIG

    system:openSuSE 12.3(much better and frendly than the 12.1 in network config)1,network config,attent ...