Ch.6 Logic Verification Standard Cell Design TAIST ICTES Program VLSI Design Methodology Hiroaki...
-
Upload
khalid-verdon -
Category
Documents
-
view
231 -
download
0
Transcript of Ch.6 Logic Verification Standard Cell Design TAIST ICTES Program VLSI Design Methodology Hiroaki...
Ch.6 Logic Verification
Standard Cell Design
TAIST ICTES ProgramVLSI Design Methodology
Hiroaki Kunieda
Tokyo Institute of Technology
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
Logic Design
Functional Verification
Logic Synthesis
Scan Path Design
RTL SimulationRTL
Synthesis Netlist
Scan Netlist Timing Analysis
Functional Verification
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
0 1 x z
0 0 0 0 0
1 0 1 x x
x 0 x x x
z 0 x x x
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 responseare described by truth table.
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 TableChange 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.
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.
Formal Verification
Functional Verification
Logic Synthesis
Scan Path Design
RTL SimulationRTL
Synthesis Netlist
Scan Netlist
Timing Analysis
Functional Verification
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 flops2. Speed up of testing such as concurrent testing
Logic Design 3
BDD Representation 1
1
0
1
111
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.
Order of nodes
X3
X5 X5
X2 X2 X2 X2
X3
X5 X5
X4 X4
X6
X1
1
0
Worst
Best
X1X2X3X4X5X6
X5
X2
X3
X4
X6
X1
10
Optimal Order Searchi-1
i
i+1 i+1
i
i+1 i+1
0 1
(A) (B) (C) (D)
i
i-1
i+1 i+1
i-1
i+1 i+1
0 1
(A) (C) (B) (D)
i-1
i i
0 1
f1 f2 f3
i
i-1
0 1
f1 f2 f3
Verification example Ia b q
1q0 d 1 d 0
0 0 0 0 0 0
0 1 0 0 0 1
1 0 0 0 0 0
1 1 0 0 0 1
0 0 0 1 0 0
0 1 0 1 1 1
1 0 0 1 0 0
1 1 0 1 1 0
0 0 1 0 1 0
0 1 1 0 1 1
1 0 1 0 1 0
1 1 1 0 1 0
0 0 1 1 1 0
0 1 1 1 1 0
1 0 1 1 0 0
1 1 1 1 1 0
d 0=bq1’q0’+a’bq1’+a’ b q0’d1=q1q0’+a’q1+ b q0
Verification example II
F1=q0’ ・ a’
q0’
a’
q1’
F2=(q0’+a’)q1‘
q0’+a’
(F1+F2)’
F1=q0’ ・ a’ の補正のため葉の 0 と1を交換
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.
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