Movation Circuit
Movation Circuit
Overview
• Motivation
ECE 553: TESTING AND • What is simulation?
TESTABLE DESIGN OF • Design verification
• Circuit modeling
DIGITAL SYSTES • Determining signal values
• True-value simulation algorithms
• Compiled-code simulation
• Event-driven simulation
• Summary
Logic Simulation
9/17/2002 2
9/17/2002 5 9/17/2002 6
1
9/17/2002
Inputs
a Da
a Dc c b
Ca b Db
c c (CMOS)
b Cc
D a and Db are c (zero delay)
Logic simulation
Cb interconnect or
nMOS FETs
propagation delays c (unit delay)
X
c (multiple delay) rise=5, fall=5
D c is inertial delay
C a , Cb and C c are of gate c (minmax delay)
Unknown (X)
min =2, max =5
parasitic capacitances
0 5 Time units
9/17/2002 7 9/17/2002 8
9/17/2002 11 9/17/2002 12
2
9/17/2002
Time stack
3 3
4 f =0
b =1 4 g= 0 4
5 5
g 6 f =1 g
6
0 4 8 7
Time, t 7
8 g= 1
9/17/2002 13 9/17/2002 14
Efficiency of Event-driven
Summary
Simulator • Logic or true-value simulators are essential tools for
• Simulates events (value changes) only
design verification.
• Speed up over compiled-code can be ten times • Verification vectors and expected responses are
or more; in large logic circuits about 0.1 to generated (often manually) from specifications.
10% gates become active for an input change • A logic simulator can be implemented using either
compiled-code or event-driven method.
Steady 0 Large logic • Per vector complexity of a logic simulator is
Steady 0
block without approximately linear in circuit size.
(no event) activity
0 to 1 event
• Modeling level determines the evaluation procedures
used in the simulator.
9/17/2002 15 9/17/2002 16