Beruflich Dokumente
Kultur Dokumente
Definition of Terms
Definition of Terms
There
Thereis
isaatiming
timing
"window"
"window"around
aroundthe
the
clocking
clockingevent
event
during
duringwhich
whichthe
theinput
input
must
remain
stable
must remain stable
and
andunchanged
unchanged
in
inorder
order
to
tobe
berecognized
recognized
Input:
Value sampled by flip-flop at clock edge.
Input
Input
Clock:
Periodic Event, causes state of memory
element to change. Input is sampled at
this clock edge.
Clock
Tsu
Clock
Th
Example: D Flip-Flop
Input
Clock
Output
Edge-Sensitive Flip-Flops
Edge-Sensitive Flip-Flops
Invalid!
Input
Tsu
Clock
Invalid!
Input
Clock
Input
Tsu
The
Theregion
regioncan
canbe
beto
to
the
theright
rightor
orleft
leftof
ofthe
the
clock
edge
when
clock edge whenthe
the
setup
setupor
orhold
holdtimes
times
are
negative.
arenegative.
The
Thevalid
validregion
regionor
or
"window"
"window"associated
associated
with
withthe
theclock
clockevent
event
does
nothave
doesnot
haveto
tobe
be
centered
centeredaround
aroundthe
the
clock
clockedge.
edge.
Input
Th
Clock
Propagation Delay
The
Theregion
regioncan
canbe
beto
to
the
theright
rightor
orleft
leftof
ofthe
the
clock
edge
when
clock edge whenthe
the
setup
setupor
orhold
holdtimes
times
are
negative.
arenegative.
Tsu
74LS74 Positive
Edge Triggered
D Flipflop
Setup time
Hold time
Minimum clock width
Propagation delays
(low to high, high to low,
max and typical)
Tsu
20
ns
Clk
Clk
Tplh
Th
5
ns
T su
20
ns
Tw
25
ns
Tplh
25 ns
13 ns
Th
5
ns
T phl
40 ns
25 ns
T phl
Cascaded Flipflops
Cascaded Flipflops
Q0: Input is IN
IN
C Q
Q0
IN
Q1
C Q
C Q
CLK
CLK
Clock
Clock
IN
IN
Q0
Q0
Q1
Q1
Q0
C Q
Q1
Cascaded Flipflops
Cascaded Flipflops
Q1: Input is Q0
IN
Q0
C Q
Q1
Wait!
C Q
Q0 is changing
right at the clock
edge. Wont this
violate the hold
time of Q1?
CLK
Does it violate
the setup time of
Q1?
Clock
IN
IN
T plh
T phl
Q0
Th
Q0
Th
Q1
Q1
Cascaded Flipflops
Cascaded Flipflops
IN
Q0
C Q
Q1
C Q
CLK
Tclk ?
IN
Clock
T plh
Q0
Tphl
Th
Th
Q0
Q1
Cascaded Flipflops
Q1
Clock Skew
IN
Q0
C Q
C Q
CLK
Q1
T plh
Q0
Tsetup
Q1
Q0
C Q
CLK 0
C Q
CLK 1
Clock Delay
Q1
Clock Skew
Clock Skew
Are the Setup and Hold Times of Q1 met?
IN
IN
Q0
Q1
Q0
C Q
C Q
Q1
C Q
C Q
CLK 0
CLK 0
CLK 1
CLK 1
CLK0
CLK0
IN
IN
Q0
Q0
CLK1
CLK1
Clock Skew
Clock Skew
Q0
C Q
CLK 0
Q1
CLK0
C Q
CLK 1
IN
CLK0
T plh
Q0
IN
Tphl
Ts
Q0
Th
CLK1
Tsu
CLK1
Th
Inputs
Input
Forming
Logic
NS
CS
Output
Forming
Logic
clrcnt
Inputs
Input
Forming
Logic
NS
CS
Output
Forming
Logic
clrcnt
Critical Path #1
Critical Path #2
Inputs
Input
Forming
Logic
NS
CS
Output
Forming
Logic
clrcnt
1. Output of state flip-flops, through the IFL, and back into the FFs
Inputs
Input
Forming
Logic
NS
CS
Output
Forming
Logic
clrcnt
Input Delay
specifies the maximum delay of a synchronous input
Input
Input
Forming
Logic
NS
CS
Output
Forming
Logic
clrcnt
CS
Output
Forming
Logic
clrcnt
Inputs
Input
Forming
Logic
NS
CS
Output
Forming
Logic
clrcnt
Inputs
Input
Forming
Logic
NS
Tp_ff + Tp_ofl
When is the output signal valid?
Example
Example
Flip-Flop Timing
Input Timing
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Th
5 ns
Tinput
Tsu
20 ns
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
X
B
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
B
A
Q
Q
Tphl
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Q
Q
CLK
Z
A
B
B
CLK
Example
Example
Flip-Flop Timing
Input Timing
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Th
5 ns
Tinput
Tsu
20 ns
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
X
B
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Tphl
A
Z
A
Tp_fl + Tp_ifl
Q
Q
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
40 + 22 + 22 ns
B
A
A
Z
A
Q
Q
B
B
CLK
Example
Example
Flip-Flop Timing
Input Timing
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Th
5 ns
Tinput
Tsu
20 ns
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
X
B
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Tphl
A
Z
A
Tinput
Q
Q
CLK
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
35 ns
B
A
B
A
CLK
Tphl
Tp_fl
40 ns
B
A
A
Z
A
Tinput + Tp_ifl
35 + 22 + 22 ns
B
A
Q
Q
CLK
B
B
Example
Example
Flip-Flop Timing
Input Timing
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Th
5 ns
Tinput
Tsu
20 ns
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
X
B
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Tphl
A
Z
A
Q
Q
B
A
Th
5 ns
Tinput
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Output Timing
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Q
Q
Input Timing
Th
5 ns
Tinput
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
A
Z
A
Tp_fl
Output Timing
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Tp_fl + Tp_ofl
Z
A
40 + 22 = 62 ns
B
A
Q
Q
CLK
B
B
CLK
Example
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Flip-Flop Timing
Tphl
40 ns
D
Z
A
Example
Input Timing
Tphl
Q
Q
Example
B
A
Flip-Flop Timing
CLK
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
CLK
Tphl
Tplh
35 + 22 + 22 + 20 = 99 ns
B
A
35 ns (max)
25 ns (min)
Gate Timing
Output Path: 62 ns
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
Inputs Input/Output
Forming
Logic
NS
CS
Z
A
Outputs
B
A
Q
Q
CLK
B
B
NS
CS
NS
Outputs
CS
Outputs
Tinput + Tp_ofl
Inputs Input/Output
Forming
Logic
NS
Tp_ff + Tp_ofl
Inputs Input/Output
Forming
Logic
CS
NS
Outputs
Outputs
Example
Example
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
CS
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Output Path
X
B
Q
Q
B
A
Q
Q
CLK
X
B
Q
Q
Tp_ff
40 ns
B
A
Q
Q
CLK
B
B
Example
Example
Flip-Flop Timing
Input Timing
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Th
5 ns
Tinput
Tsu
20 ns
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Tphl
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Output Path
X
B
Q
Q
Tp_ff + Tp_ofl
Output Path
X
B
Q
Q
B
A
Q
Q
35 ns
B
A
Q
Q
CLK
B
B
CLK
Example
Example
Flip-Flop Timing
Input Timing
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Th
5 ns
Tinput
Tsu
20 ns
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
Tphl
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Tphl
35 ns (max)
25 ns (min)
Gate Timing
Tplh
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Output Path
X
B
Q
Q
Tinput + Tp_ofl
Output Path
X
B
Q
Q
A
A
35 + 22 = 57 ns
B
A
Q
Q
B
A
Example
Flip-Flop Timing
Input Timing
Th
5 ns
Tinput
Tsu
20 ns
Tplh
25 ns (max)
10 ns (min)
40 ns (max)
20 ns (min)
35 ns (max)
25 ns (min)
Gate Timing
22 ns (max)
10 ns (min)
15 ns (max)
8 ns (min)
Tphl
Q
Q
A
Z
A
clr
B
A
Counter
Tplh
S3
S2
S1
S0
Q
Q
CLK
B
B
Q
Q
CLK
CLK
Tphl
Tinput
40 + 22 = 62 ns
B
B
62 ns