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

Slides:



Advertisements
Similar presentations
Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Design Representation and Fault Detection
Advertisements

Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
1 Chapter Design For Testability The Scan-Path Technique The testing problems with sequential circuit can be overcome by two properties: 1.The.
Ch.7 Layout Design Standard Cell Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology.
Dec 21, Design for Testability Virendra Singh Indian Institute of Science Bangalore {computer, ieee}.org IEP on Digital System.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.
ECE Synthesis & Verification 1 ECE 667 Spring 2011 ECE 667 Spring 2011 Synthesis and Verification of Digital Circuits Introduction to Logic Synthesis.
Copyright 2001, Agrawal & BushnellDay-1 AM Lecture 11 Design for Testability Theory and Practice January 15 – 17, 2005 Vishwani D. Agrawal James J. Danaher.
ECE Synthesis & Verification - Lecture 8 1 ECE 697B (667) Spring 2006 ECE 697B (667) Spring 2006 Synthesis and Verification of Digital Circuits Introduction.
1 Lecture 23 Design for Testability (DFT): Full-Scan n Definition n Ad-hoc methods n Scan design Design rules Scan register Scan flip-flops Scan test sequences.
Design for Testability Theory and Practice Lecture 11: BIST
Chapter 7: Testing Of Digital Circuits 1 Testing of Digital Circuits M. Balakrishnan Dept. of Comp. Sci. & Engg. I.I.T. Delhi.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Logic Synthesis Outline –Logic Synthesis Problem –Logic Specification –Two-Level Logic Optimization Goal –Understand logic synthesis problem –Understand.
Logic Synthesis 5 Outline –Multi-Level Logic Optimization –Recursive Learning - HANNIBAL Goal –Understand recursive learning –Understand HANNIBAL algorithms.
Logic Synthesis 1 Outline –Logic Synthesis Problem –Logic Specification –Two-Level Logic Optimization Goal –Understand logic synthesis problem –Understand.
Vishwani D. Agrawal James J. Danaher Professor
January 16, '02Agrawal: Delay testing1 Delay Testing of Digital Circuits Vishwani D. Agrawal Agere Systems, Murray Hill, NJ USA
Logic Design Outline –Logic Design –Schematic Capture –Logic Simulation –Logic Synthesis –Technology Mapping –Logic Verification Goal –Understand logic.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 20alt1 Lecture 20alt DFT: Partial, Random-Access & Boundary Scan n Definition n Partial-scan architecture.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
Sequential Testing Two choices n Make all flip-flops observable by putting them into a scan chain and using scan latches o Becomes combinational testing.
Copyright 2001, Agrawal & BushnellDay-1 AM-1 Lecture 11 Testing Analog & Digital Products Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
Combinational Logic Design
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Design for Testability
Digital Testing: Scan-Path Design
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Ch.8 Layout Verification TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Design for Testability (DFT) - 2.
Ch.9 CPLD/FPGA Design TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology.
State university of New York at New Paltz Electrical and Computer Engineering Department Logic Synthesis Optimization Lect19: Multi Level Logic Minimization.
Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Topics n Sequential machine (§5.2, §5.3) n FSM construction.
August VLSI Testing and Verification Shmuel Wimer Bar Ilan University, School of Engineering.
1 Multi-Level Logic Synthesis Slides courtesy of Andreas Kuehlmann (Cadence)
Chapter 7. Testing of a digital circuit
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
1 Compacting Test Vector Sets via Strategic Use of Implications Kundan Nepal Electrical Engineering Bucknell University Lewisburg, PA Nuno Alves, Jennifer.
Exercise TAIST ICTES Program VLSI Design Methodology Hiroaki Kunieda Tokyo Institute of Technology.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Multi-Level Logic Synthesis.
CS/EE 3700 : Fundamentals of Digital System Design
Manufacture Testing of Digital Circuits
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
State university of New York at New Paltz Electrical and Computer Engineering Department Logic Synthesis Optimization Lect18: Multi Level Logic Minimization.
Lecture 5: Design for Testability. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 12: Design for Testability2 Outline  Testing –Logic Verification –Silicon.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
ECE 3110: Introduction to Digital Systems
Algorithms and representations Structural vs. functional test
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Definition Partial-scan architecture Historical background
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Optimization Algorithm
Topics Logic synthesis. Placement and routing..
332:437 Lecture 3 Hardware Design Methodology and Advanced Logic Design Hardware design.
Testing in the Fourth Dimension
VLSI CAD Flow: Logic Synthesis, Placement and Routing Lecture 5
VLSI Testing Lecture 7: Delay Test
Lecture 26 Logic BIST Architectures
VLSI Testing Lecture 13: DFT and Scan
Laws & Rules of Boolean Algebra
Test Data Compression for Scan-Based Testing
Presentation transcript:

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

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

5.1 Logic Synthesis 3

Logic Synthesis Problem Map from logic equations to gate-level combinational logic Goals maximize speed minimize power minimize chip/board area Constraints target technology CAD tool CPU time 4

Two-Level vs. Multi-Level PLA control logic constrained layout highly automatic technology independent multi-valued logic input, output, state encoding Very predictable Multi-level Logic all logic general (e.g. standard cell, regular blocks,..) automatic partially technology independent some ideas part of multi-level logic Very hard to predict E.g. Standard Cell Layout 5

6 General Logic Structure Combinational optimization –keep latches/registers at current positions, keep their function –optimize combinational logic in between Sequential optimization –change latch position/function

7 Optimization Criteria for Synthesis The optimization criteria for multi-level logic is to minimize some function of: 1.Area occupied by the logic gates and interconnect (approximated by literals = transistors in technology independent optimization) 2.Critical path delay of the longest path through the logic 3.Degree of testability of the circuit, measured in terms of the percentage of faults covered by a specified set of test vectors for an approximate fault model (e.g., single or multiple stuck-at faults) 4.Power consumed by the logic gates 5.Noise immunity 6.Placeability, Wireability 7.Manufacturability while simultaneously satisfying upper or lower bound constraints placed on these physical quantities

8 Area-Delay Trade-off

5.2 Two Level Logic S ynthesis 9

Example (4 Input & 2 Output ) 10

Example (Input Expansion ) Perform logic simplification for the same output. If output is included by the other output, include the Simplification by adding as * or don’t care. 11

Example (Output Reduction ) (4) Input parts is covered by (2). Output (1 1) is reduced to (0 1). F = A’B + C’D +AC G= A D + BC’D +AC 12

5.3 Multi Level Logi c Synthesis 13

Algebraic Division and Boolean Division Algebraic Division F = g K+r where no common cube is included in g and K. F=(a+b)(c+d)+e The other division is Boolean Division. F=(a+b)(a+c)+e 14

Problem of Multi level Logic Synthesis For several logic functions F[i], try to find common divisors such that F[i] = g[i] K+r[i] in a sense of algebraic division. ---->candidate K is restricted to Kernel, which can divide F[i] in algebraic manner. Objective function is the number of literals, which corresponds to size of circuit. F[i]=(ab+a’)(c+d’)+e (#literal =6) 15

Kernel 1. Literals: logic variable or its complement such as A, A’, B, B’ 2. Cube: logic product of literals such as A, AB, AB’ 3. Cube free An expression is cube-free if no cube divides the expression evenly, that is ¬ ∃ C such that F=QC (no remainder), and C is a cube. 4. Kernel The kernel is a logic sum of product terms, which is a cube free. 5. Co-Kernel Co-kernel is a cube, which is a divisor of kernels. 16

Kernel 1. Literals: logic variable or its complement such as A, A’, B, B’ 2. Cube: logic product of literals such as A, AB, AB’ 3. Cube free An expression is cube-free if no cube divides the expression evenly, that is ¬ ∃ C such that F=QC (no remainder), and C is a cube. 4. Kernel The kernel is a logic sum of product terms, which is a cube free. 5. Co-Kernel Co-kernel is a cube, which is a divisor of kernels. 17

Logic Design 2 Kernel Example F=abcd+abce+abef Cofactors={1, ab, abc, abe} Kernels={cd+ce+ef, d+e, c+f} 18

Method to find Kernel 1.Select literal and divide logic function 2.Repeat 1 until cube-free “sum of product” or cube is derived. [Examples] F=abcd+abce+abef 1. select literal a  F1=F/a=bcd+bce+bef 1.1 select literal b  F2=F1/b=cd+ce+ef: cube-free (Kernel) select literal c  F3=F2/c=d+e: cube-free (Kernel) select literal d  F3=F2/d=c (cube) select literal e  F3=F2/e=c+f: cube-free (Kernel) select literal f  F3=F2/f=e (cube) 1.2 select other literal x, but F1/x includes cube b 2. Select other literal x, but F/x includes cube a Cofactors={1, ab, abc, abe} Kernels={cd+ce+ef, d+e, c+f} 19

Example of State Machine 20 ab q1q1 q0 d1d1 d0d 10 1100 1 1 0 1

ab q1q1 q0q0 d1d1 d0d ab ∖ q1q 1 d 0=bq 1 ’q 0 ’+a’bq 1 ’+a’ b q 0 ’ d1=q 1 q 0 ’+a’q 1 + b q 0 Logic Function I ab ∖ q1q 1 10 1 21 d1=q 1 q 0 ’+a’q 1 + b q 0

Logic Function II D 0=bq 1 ’q 0 ’+a’bq 1 ’+a‘ b q 0 ’ D 1=q 1 q 0 ’+a’q 1 + b q 0 1)Derivation of Kernel Kernel of d0={q 1 ’q 0 ’+a’q 1 ’+a’q 0 ’, q 0 ’+a’, q 1 ’+q 0 ’ } Co-kernel ={b, bq 1 ’, a’b } Kernel of d1={q 1 q 0 ’+a’q 1 +bq 0, q 0 ’+a’} Co-kernel ={1, q 1 } 2) Step 2 Introducing a new variable c=q 0 ’+a’ d0=b(cq 1 ’+a’q 0 ’) =b(cq 1 ’+aq 0 ’) d1=cq 1 +bq 0 22 d 0=bq 1 ’q 0 ’+a’bq 1 ’+a’ b q 0 ’ d1=q 1 q 0 ’+a’q 1 + b q 0

Logic Synthesis I 23

Technology mapping 24

5.4 Scan Path Design 25

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

Logical Fault Mo del 1.Stuck-at-0/1 Fault model : Logic value of wire segment is stuck at either logic 0 or logic 1. 2.Single Fault: only one fault happens for each sample. 3.Fault Test: logic circuit is tested by inserting various test input vectors and by observing its output, to check whether any single fault at each wire segment does not occur. 4.ATPG: Automatic Test Pattern Generator is a CAD software to find out necessary input test vectors. 5.Tester: in manufacture factory, tester is implemented so as to check volumes of chips in a short time, automatically. 27

Definition Design for testability (DFT) refers to those design techniques that make test generation and test application cost-effective. DFT methods for digital circuits: Ad-hoc methods Structured methods: Scan Partial Scan Built-in self-test (BIST) Boundary scan DFT method for mixed-signal circuits: Analog test bus 28

Scan Design Circuit is designed using pre-specified design rules. Test structure (hardware) is added to the verified design: Add a test control (TC) primary input. Replace flip-flops by scan flip-flops (SFF) and connect to form one or more shift registers in the test mode. Make input/output of each scan shift register controllable/observable from PI/PO. Use combinational ATPG to obtain tests for all testable faults in the combinational logic. Add shift register tests and convert ATPG tests into scan sequences for use in manufacturing test. 29

Logic Design 4 Scan Path Design 1.Change to Test Mode 2.Down load test data to all FF, 3.Change to Run Mode 4.Run in one clock cycle 5.Change to Test Mode 6.Outputs result data from all FF to output of LSI. In test mode, FFs are combined to shift register to set up data of FFs From outside of the chip through a test pin. In similar way, FF values are outputted to the outside of the chip. 30

Level-Sensitive Scan-Design Flip-Flop (LSSD-SFF) D SD MCK Q Q D flip-flop Master latchSlave latch SCK TCK Logic overhead 31

Adding Scan Structure SCANOUT SFF Combinational logic PI PO SCANIN TC or TCK 32

Test Pattern Generation 33

Fault Table 34 ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯ 0000 ○ ○ 0001 ○ ○ ○ 0010 ○ ○ 0011 ○○ ○ ○ 0100 ○ ○ ○ ○ 0101 ○○ ○ ○ 0110 ○ ○ ○ ○ 1001 ○ ○ 1010 ○ ○ ○ ○○ 1011○ ○○ ○ ○ ○ 1100 ○ ○ ○ ○ 1101 ○○ ○ ○ 1110 ○ ○ 1111 ○○ ○ ○ ① l1 /0 ⑤ l 3/0, l4/1 ⑨ l 6/0 ⑬ l8/0 ② l1 /1 ⑥ l 3/1, l4/0 ⑩ l 6/1 ⑭ l8/1 ③ l 2/0 ⑦ l 5/0 ⑪ l7/0 ⑮ l9/0 ④ l 2/1 ⑧ l 5/ 1⑫ l7/1 ⑯ l9/1 Fault Table indicates the corresponding of test patterns against wire faults ① - ⑯. The fault ⑤ include stuck-at-0 faults for wires l 3 and l4. They are called equivalent fault, which cannot be distinguished by the test at outside. Five test patterns are selected, which can find inside fault by comparing calculated results and measured output against the selected test pattern.