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. 利用快速排序原理找出数组中前n大的数

    #include <stdio.h> #include <stdint.h> #include <stdlib.h> #define MAX_SIZE 400001 ...

  2. 20145211 《Java程序设计》第7周学习总结——沧海横流

    教材学习内容总结 Lambda Arrays的sort()方法可以用来排序,在使用sort()时,需要操作java.util.Comparator来进行说明,这样一来,语法就显得有些冗长.在JDK8中 ...

  3. 怎么修改tabbar的默认选中界面

        我用storyboard做了一个tabbar连接3个界面1,2,3  .程序运行默认选中加载最左边的界面1,怎么能让他默认为界面2或者3呢?菜鸟求大神知道 // 默认的selectedInde ...

  4. C# HttpWebRequest 绝技

    http://www.sufeinet.com/thread-6-1-1.html 万能框架.分布式......

  5. ClassLoader

    1.双亲委派制 ClassLoadder是一个abstract类 static class sun.misc.Launcher$ExtClassLoader extends java.net.URLC ...

  6. LeetCode Binary Search Tree Iterator

    原题链接在这里:https://leetcode.com/problems/binary-search-tree-iterator/ Implement an iterator over a bina ...

  7. 微信连Wi-Fi专业设备列表

    微信连Wi-Fi是微信推出的快速连接Wi-Fi热点的功能.商户启用后,其顾客仅需通过微信“扫一扫”二维码等方式,即可快速连接商户提供的Wi-Fi免费上网.连接成功后,用户微信主界面顶部会出现“正在连接 ...

  8. asp.net 项目在 IE 11 下出现 “__doPostBack”未定义 的解决办法

    最近项目在 IE 11 下<asp:LinkButton> 点击出现 “__doPostBack”未定义”,经过一番google,终于知道了原因:ASP.NET 可能无法辨识出一些浏览器的 ...

  9. iOS 设置导航栏的颜色和导航栏上文字的颜色

    #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @pr ...

  10. ReactiveCocoa的使用方法

    http://www.open-open.com/lib/view/open1440060663129.html best praticse https://github.com/ReactiveCo ...