Download presentation

Presentation is loading. Please wait.

Published byKhalid Verdon Modified over 2 years ago

1
Ch.6 Logic Verification Standard Cell Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology

2
Design Verification How to confirm the correctness of design result 50-70% of design period is used for design verification. Methods Logic Simulation and Emulation Formal Verification

3
Logic Design Functional Verification Logic Synthesis Scan Path Design RTL Simulation RTL Synthesis Netlist Scan Netlist Timing Analysis Functional Verification

4
6.1 Logic Simulation

5
Logic Design 1 HDL Simulation [Objective] to correct HDL description by simulating its performance and checking its timing due to delays of logic circuit. [Method] 1. HDL/Logic Simulator

6
01xz 00000 101xx x0xxx z0xxx Truth Table of AND Gate Logic Design 1 Four Valued Logic Not only 0 and 1, but other values such as UNKNOWN X, HIGH IMPEDANCE Z are used for the simulation. Their response are described by truth table.

7
Simulation Method 1. Event Driven Simulation Outputs of the gates has been evaluated by truth table, only when an event occurs on inputs of the gates. Since small portion of whole circuit works at a time, this scheme avoid waste computation. Thus, simulator keeps track of those events. 2. Time wheel Event Table Change of outputs of the gates are stored as an event. That event occurs delayed at component delay after event of inputs occurs. The time of next events are stored in event table. The table is considered to be wheel so that it can store events of all simulation periods, efficiently.

8
Event Driven Event is a change of logic value. The event entered into a gate may generate another event at the output of the gate after the gate delay time. Event of Signals propagates through Logic circuits. Event Driven Analysis is to update Logic values only when events occur at the wire so as to minimize computational complexity. 30% or less logic parts is running at the same time.

9
Logic Simulation Example

10
6.2 Formal Verification

11
Formal Verification Functional Verification Logic Synthesis Scan Path Design RTL Simulation RTL Synthesis Netlist Scan Netlist Timing Analysis Functional Verification

12
Logic Design 3 Formal Verification [Objective] to confirm coincidence between HDL description and designed logic circuit. Simulation uses various test inputs, while formal verification uses equivalence of two functions. [Method] BDD method (Binary Decision Diagram) It is effective way to show equivalent representation of logic functions for two targets. [Problem] 1. Reduction of scan path flip flops 2. Speed up of testing such as concurrent testing

13
Logic Design 3 BDD Representation 1 1 0 1 1 11 1 1 0 000 0 0 BDD representation will be unique according to the best variable order. There was heuristic algorithm to derive the reduced BDD from original.

14
BDD Operation (1) Merge of 2 isomorphic subgraphs

15
BDD Operation (1) Merge of 2 isomorphic subgraphs

16
BDD Operation (2) Eliminate node, whose son nodes are isomorphic.

17
BDD Operation (2)

18
Order of nodes X3X3 X5X5 X5X5 X2X2 X2X2 X2X2 X2X2 X3X3 X5X5 X5X5 X4X4 X4X4 X6X6 X1X1 1 0 Ｗｏｒｓｔ Ｂｅｓｔ X1 X2 X3 X4 X5 X6 X5X5 X2X2 X3X3 X4X4 X6X6 X1X1 10

19
Optimal Order Search i-1 i i+1 i 01 (A) (B) (C) (D) i i-1 i+1 i-1 i+1 01 (A) (C)(B) (D) i-1 i i 0 1 f1 f2 f3 i i-1 01 f1f2f3

20
Verification example I ab ｑ1ｑ1 q0 ｄ1ｄ1 ｄ0ｄ0 000000 010001 100000 110001 000100 010111 100100 110110 001010 011011 101010 111010 001110 011110 101100 111110 ｄ 0=bq 1 ’q 0 ’+a’bq 1 ’+a’ ｂ q 0 ’ d1=q 1 q 0 ’+a’q 1 + ｂ q 0

21
Verification example II F1=q0’ ・ a’ q0’ a’ q1’ F2=(q0’+a’)q1‘ q0’+a’ (F1+F2)’ F1=q0’ ・ a’ の 補正のため 葉の 0 と１を 交換

22
Verification example III ｄ0=bq 1 ’q 0 ’+a’bq 1 ’+a’ｂq 0 ’

23
6.3 Timing Analysis

24
Timing Analysis Timing Analysis is to check the timing violation of logic circuits, due to gate delays and wire delays. In order to reduce computation, critical paths analysis is done by using graph representation. Pre Layout timing analysis: Only gate delay is considered. Post Layout timing analysis: Gate delay and wire delay are considered. The latter delays are decided by layout pattern. This analysis is only performed after layout design.

25
Timing Analysis ․ Calculate timing of synthesized netlist Make sure circuit operates correctly under specified timing constraints ․ Static Timing Analysis (STA) Timing analysis without input patterns － Fast but not accurate Used after logic synthesis ․ Dynamic Timing Analysis Timing analysis with input patterns Slow but accurate Used after physical design with few patterns

26
Timing Analysis identifies critical path with graph model, instead of exhausted search with logic simulator. Logic Design 5 Timing Analysis (Pre) nodes １２３４５６７８９１０１０ 1 50 2 62 506088 3 50 62 50100 4 50 62 50100 112

Similar presentations

OK

1 H ardware D escription L anguages Modeling Digital Systems.

1 H ardware D escription L anguages Modeling Digital Systems.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on human nutrition and digestion Free ppt on etiquettes meaning Ppt on ip address classes hosts Ppt on regular expression reference Ppt on fdi in indian retail Ppt on rc coupled amplifiers Ppt on 9/11 conspiracy theory Ppt on science technology and society Ppt on 5v power supply Ppt on cross-sectional study advantages and disadvantages