SlideShare a Scribd company logo
1 of 33
Elec 326 Sequential Circuit Timing
13.1
13. Sequential Circuit Timing
Objectives
This section covers several timing considerations encountered
in the design of synchronous sequential circuits. It has the
following objectives:
 Define the following global timing parameters and show
how they can be derived from the basic timing parameters
of flip-flops and gates.
Maximum Clock Frequency
Maximum allowable clock skew
Global Setup and Hold Times
 Discuss ways to control the loading of data into registers
and show why gating the clock signal to do this is a poor
design practice.
Elec 326 Sequential Circuit Timing
13.2
Reading Assignment
 Much of the information in this section is not in the Brown
& Vranesic text. There is material on clock skew in section
10.3. That section also discusses the effects of gating the
clock.
Elec 326 Sequential Circuit Timing
13.3
13.1. Maximum Clock Frequency
The clock frequency for a synchronous sequential
circuit is limited by the timing parameters of its flip-
flops and gates. This limit is called the maximum
clock frequency for the circuit. The minimum clock
period is the reciprocal of this frequency.
Relevant timing parameters
 Gates:
Propagation delays: min tPLH, min tPHL, max tPLH, max tPHL
 Flip-Flops:
Propagation delays: min tPLH, min tPHL, max tPLH, max tPHL
Setup time: tsu
Hold time: th
Elec 326 Sequential Circuit Timing
13.4
Example
D Q
Q
CK
Q
TW ≥ max tPFF + tsu
 For the 7474, max tPLH = 25ns, max tPHL = 40ns, tsu = 20ns
TW ≥ max (max tPLH + tsu, max tPHL + tsu)
TW ≥ max (25+20, 40+20) = 60
Elec 326 Sequential Circuit Timing
13.5
Example
D Q
CK
Q
TW ≥ max tPFF + max tPINV + tsu
Elec 326 Sequential Circuit Timing
13.6
 Example
D Q
Q
D Q
Q
MUX
0
1
Q0 Q1
CK
TW ≥ max tPFF + max tPMUX + tsu
Elec 326 Sequential Circuit Timing
13.7
 Example
Paths from Q1 to Q1:
Paths from Q1 to Q2:
Paths from Q2 to Q1:
Paths from Q2 to Q2:
None
TW ≥ max tPDFF +tJKsu = 20 +10 = 30 ns
TW ≥ max tPDFF + max tAND + tJKsu = 20 + 12 + 10 = 42 ns
TW ≥ max tPJKFF + tOR + TDsu = 25 + 10 + 5 = 40 ns
TW ≥ max tPJKFF + max tAND + tJKsu = 25 + 12 + 10 = 47 ns
TW ≥ 47 ns
Elec 326 Sequential Circuit Timing
13.8
Clock Skew
 If a clock edge does not arrive at different flip-flops at
exactly the same time, then the clock is said to be skewed
between these flip-flops. The difference between the times
of arrival at the flip-flops is said to be the amount of clock
skew.
 Clock skew is due to different delays on different paths
from the clock generator to the various flip-flops.
Different length wires (wires have delay)
Gates (buffers) on the paths
Flip-Flops that clock on different edges (need to invert clock for
some flip-flops)
Gating the clock to control loading of registers (a very bad idea)
Elec 326 Sequential Circuit Timing
13.9
Example (Effect of clock skew on clock rate)
 Clock C2 skewed after C1
Q1
Q2
D Q
Q
D Q
Q
CK
C1
C2
D2
TW ≥ max TPFF + max tOR + tsu
(if clock not skewed, i.e., tINV = 0)
TW ≥ max TPFF + max tOR + tsu - min tINV
(if clock skewed, i.e., tINV > 0)
Elec 326 Sequential Circuit Timing
13.10
 Clock C1 skewed after C2
Q1
Q2
D Q
Q
D Q
Q
CK
C1
C2
D2
TW ≥ max TPFF + max tOR + tsu
(if clock not skewed, i.e., tINV = 0)
TW ≥ max TPFF + max tOR + tsu + max tINV
(if clock skewed, i.e., tINV > 0)
Elec 326 Sequential Circuit Timing
13.11
Summary of maximum clock frequency calculations
D Q
Logic
Network
D Q
C1 C2
Q1 D2
C1
Q1
D2
C2
TW
tPFF tOR tsu
tSK = tINV
C1
Q1
D2
C2
TW
tPFF tOR
tsu
tSK = tINV
C2 skewed after C1: TW ≥ max TPFF + max tNET + tsu - min tINV
C2 skewed before C1: TW ≥ max TPFF + max tNET + tsu + max tINV
Elec 326 Sequential Circuit Timing
13.12
Example
 For each of the following two connections find
The minimum clock period
The maximum and minimum delay from CLK to YOUT
tXY = Network delay from X to Y
tXD = Network delay from X to D
tQY = Network delay from Q to Y
tQD = Network delay from Q to D
Elec 326 Sequential Circuit Timing
13.13
 Circuit 1:
max tPFF + max tQY + (n-2) max tXY +max tXD + tsu
max tPFF + max tQD + tsu
n ≥ 2
Tw ≥
Tw ≥
≥ TW
Minimum Clock Period:
Maximum Delay:
Minimum Delay:
TCY ≤
TCY ≥
max tPFF + max tQY + (n-1) max tXY
min tPFF + min tQY
tXY= Network delay fromX to Y
tXD = Network delay fromX to D
tQY= Network delay fromQ to Y
tQD = Network delay fromQ to D
Elec 326 Sequential Circuit Timing
13.14
 Circuit 2:
n ≥ 2
max tPFF + max tXD + tsu
max tPFF + max tQD + tsu
Tw ≥
Tw ≥
Minimum Clock Period:
Maximum Delay:
Minimum Delay:
TCY ≤
TCY ≥
max tPFF + max (max tXY, max tQY)
min tPFF + min (min tXY, min tQY)
tXY= Network delay fromX to Y
tXD = Network delay fromX to D
tQY= Network delay fromQ to Y
tQD = Network delay fromQ to D
Elec 326 Sequential Circuit Timing
13.15
13.2. Maximum Allowable Clock Skew
How much skew between C1 and C2 can be tolerated
in the following circuit?
 Case 1: C2 delayed after C1
D Q
Q
D Q
Q
C2
Q1 D2
C1
tPFF > th + tSK
tSK < min tPFF - th
Elec 326 Sequential Circuit Timing
13.16
 Case 2: C1 delayed from C2
D Q
Q
D Q
Q
C2
Q1 D2
C1
Elec 326 Sequential Circuit Timing
13.17
How does additional delay between the flip-flops
affect the skew calculations?
tSK ≤ min tPFF - th
tsk ≤ min tPFF + min tMUX - th
Elec 326 Sequential Circuit Timing
13.18
Summary of allowable clock skew calculations
tSK + th ≤ tPFF + tNET
tSK ≤ min tPFF + min tNET - th
Elec 326 Sequential Circuit Timing
13.19
Example: What is the minimum clock period for the
following circuit under the assumption that the clock
C2 is skewed after C1 (i.e., C2 is delayed from C1)?
N1
N2
C1 C2
Q1 D2 Q2
D1
D Q
Q
D Q
Q
Elec 326 Sequential Circuit Timing
13.20
 First calculate the maximum allowable clock skew.
 Next calculate the minimum clock period due to the path
from Q1 to D2.
 Finally calculate the minimum clock period due to the path
from Q2 to D1
N1
N2
C1 C2
Q1 D2 Q2
D1
D Q
Q
D Q
Q
tSK < min tPFF + min tN1 - th
TW > max tPFF + max tN1 + tsu - min tSK
TW > max tPFF + max tN1 + tsu + max tSK
TW > max tPFF + max tN2 + tsu + (min tPFF + min tN1 - th)
TW > max tPFF + min tPFF + max tN2 + min tN1 + tsu - th
Elec 326 Sequential Circuit Timing
13.21
13.3. Global Setup Time, Hold Time and
Propagation Delay
Global setup and hold times (data delayed)
TSU = tsu + max tNET TH = th - min tNET
D Q
Q
X
CK
NET D
CLK
Elec 326 Sequential Circuit Timing
13.22
Global setup & hold time (clock delayed)
D Q
Q
CK
D
CLK
TSU = tsu - min tC TH = th + max tC
Elec 326 Sequential Circuit Timing
13.23
Global setup & hold time (data & clock delayed)
D Q
Q
X
CK
NET D
CLK
TSU = tsu + max tNET - min tC TH = th - min tNET + max tC
Elec 326 Sequential Circuit Timing
13.24
Global propagation delay
D Q
Q
CK
NET
CLK
Y
Q
TP = tC + tFF + tNET
Elec 326 Sequential Circuit Timing
13.25
Summary of global timing parameters
TSU = tsu + max tPN - min tPC ≤ tsu + max tPN
TH = th + max tPC - min tPN ≤ th + max tPC
TP = tPFF + tPN + tPC
Elec 326 Sequential Circuit Timing
13.26
Example
 Find TSU and TH for input signal LD relative to CLK.
LD
D
CLK
CK
Q
D Q
Q
TSU = tsu +max tNET - min tC
TH = th - min tNET + max tC
= tsu + max tINV + max tNAND + max tNAND - min tINV
= th - min tNAND - min tNAND + max TINV
Elec 326 Sequential Circuit Timing
13.27
13.4. Register load control (gating the clock)
A very bad way to add a load control signal LD to a
register that does not have one is shown below
The reason this is such a bad idea is illustrated by the
following timing diagram.
The flip-flop sees two rising edges and will trigger
twice. The only one we want is the second one.
D
LD
CLK
CK
D Q
Q
Elec 326 Sequential Circuit Timing
13.28
 If LD was constrained to only change when the clock was low,
then the only problem would be the clock skew.
Elec 326 Sequential Circuit Timing
13.29
If gating the clock is the only way to control the
loading of registers, then use the following approach:
 There is still clock skew, but at least we only have one
triggering edge.
D
LD
CLK
D Q
Q
Elec 326 Sequential Circuit Timing
13.30
The best way to add a LD control signal is as follows:
LD
D
CLK
D Q
Q
Elec 326 Sequential Circuit Timing
13.31
13.5. Synchronous System Structure and Timing
Elec 326 Sequential Circuit Timing
13.32
13.6. Tips & Tricks
 Use timing diagrams to determine the timing properties of
sequential circuits
13.7. Pitfalls
Using typical timing values from the data sheet (use
only max and/or min values)
Gating the clock
Elec 326 Sequential Circuit Timing
13.33
13.8 Review
How the flip-flop and gate timing parameters affect
the maximum possible clock frequency.
 How clock skew affect maximum possible clock frequency.
How the delay of logic between flip-flops affects the
maximum allowable clock skew.
How flip-flop setup and hold times are translated by
the combinational logic delays to get global setup and
hold times.
The detrimental effect of gating the clock signal.

More Related Content

Similar to file (1).ppt

On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...IJPEDS-IAES
 
Contamination delay
Contamination delayContamination delay
Contamination delayNima Afraz
 
Chapter 09
Chapter 09Chapter 09
Chapter 09Tha Mike
 
features of tcp important for the web
features of tcp  important for the webfeatures of tcp  important for the web
features of tcp important for the webrinnocente
 
Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...
Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...
Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...authelectroniccom
 
Te442 lecture02-2016-14-4-2016-1
Te442 lecture02-2016-14-4-2016-1Te442 lecture02-2016-14-4-2016-1
Te442 lecture02-2016-14-4-2016-1colman mboya
 
Original MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V New
Original MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V NewOriginal MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V New
Original MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V NewAUTHELECTRONIC
 
Jack_Knutson_SNUG_2003_Slides_Clock_Skew
Jack_Knutson_SNUG_2003_Slides_Clock_SkewJack_Knutson_SNUG_2003_Slides_Clock_Skew
Jack_Knutson_SNUG_2003_Slides_Clock_SkewJack Knutson
 
Unit 6 electrical and electronic principle capacitor calculations
Unit 6   electrical and electronic principle capacitor calculationsUnit 6   electrical and electronic principle capacitor calculations
Unit 6 electrical and electronic principle capacitor calculationsReece Hancock
 
LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)
LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)
LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)Tsuyoshi Horigome
 
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
RF Module Design - [Chapter 7] Voltage-Controlled OscillatorRF Module Design - [Chapter 7] Voltage-Controlled Oscillator
RF Module Design - [Chapter 7] Voltage-Controlled OscillatorSimen Li
 

Similar to file (1).ppt (20)

HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
 
Contamination delay
Contamination delayContamination delay
Contamination delay
 
Chapter 09
Chapter 09Chapter 09
Chapter 09
 
features of tcp important for the web
features of tcp  important for the webfeatures of tcp  important for the web
features of tcp important for the web
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Max 232
Max 232Max 232
Max 232
 
Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...
Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...
Original N-CHANNEL IGBT GB10NC60KD STGB10NC60KDT4 10A 600V TO-263 New STMicro...
 
Te442 lecture02-2016-14-4-2016-1
Te442 lecture02-2016-14-4-2016-1Te442 lecture02-2016-14-4-2016-1
Te442 lecture02-2016-14-4-2016-1
 
Ece4510 notes10
Ece4510 notes10Ece4510 notes10
Ece4510 notes10
 
Original MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V New
Original MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V NewOriginal MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V New
Original MOSFET N-Channel STGF10NC60KD GF10NC60KD 10NC60 10N60 10A 600V New
 
Jack_Knutson_SNUG_2003_Slides_Clock_Skew
Jack_Knutson_SNUG_2003_Slides_Clock_SkewJack_Knutson_SNUG_2003_Slides_Clock_Skew
Jack_Knutson_SNUG_2003_Slides_Clock_Skew
 
5006278.ppt
5006278.ppt5006278.ppt
5006278.ppt
 
28 c64a mimemory
28 c64a  mimemory28 c64a  mimemory
28 c64a mimemory
 
Unit 6 electrical and electronic principle capacitor calculations
Unit 6   electrical and electronic principle capacitor calculationsUnit 6   electrical and electronic principle capacitor calculations
Unit 6 electrical and electronic principle capacitor calculations
 
tran.pdf
tran.pdftran.pdf
tran.pdf
 
LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)
LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)
LED電源回路アプリケーションガイド 浜松プレゼン資料(浜松プレゼン)
 
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
RF Module Design - [Chapter 7] Voltage-Controlled OscillatorRF Module Design - [Chapter 7] Voltage-Controlled Oscillator
RF Module Design - [Chapter 7] Voltage-Controlled Oscillator
 
Ds1307 datasheet
Ds1307 datasheetDs1307 datasheet
Ds1307 datasheet
 
Tcp traffic control and red ecn
Tcp traffic control and red ecnTcp traffic control and red ecn
Tcp traffic control and red ecn
 

Recently uploaded

Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Rndexperts
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCRdollysharma2066
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfShivakumar Viswanathan
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
group_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdfgroup_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdfneelspinoy
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一Fi sss
 
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一Fi L
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一Fi L
 
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in designnooreen17
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一z xss
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一F La
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
 

Recently uploaded (20)

Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025Top 10 Modern Web Design Trends for 2025
Top 10 Modern Web Design Trends for 2025
 
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
2024新版美国旧金山州立大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Nirman Vihar Delhi NCR
 
FiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdfFiveHypotheses_UIDMasterclass_18April2024.pdf
FiveHypotheses_UIDMasterclass_18April2024.pdf
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
Call Girls in Pratap Nagar, 9953056974 Escort Service
Call Girls in Pratap Nagar,  9953056974 Escort ServiceCall Girls in Pratap Nagar,  9953056974 Escort Service
Call Girls in Pratap Nagar, 9953056974 Escort Service
 
group_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdfgroup_15_empirya_p1projectIndustrial.pdf
group_15_empirya_p1projectIndustrial.pdf
 
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
(办理学位证)埃迪斯科文大学毕业证成绩单原版一比一
 
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
办理学位证(NUS证书)新加坡国立大学毕业证成绩单原版一比一
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
办理学位证(TheAuckland证书)新西兰奥克兰大学毕业证成绩单原版一比一
 
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
昆士兰大学毕业证(UQ毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Design principles on typography in design
Design principles on typography in designDesign principles on typography in design
Design principles on typography in design
 
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
办理(UC毕业证书)查尔斯顿大学毕业证成绩单原版一比一
 
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
办理(宾州州立毕业证书)美国宾夕法尼亚州立大学毕业证成绩单原版一比一
 
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制堪培拉大学毕业证(UC毕业证)#文凭成绩单#真实留信学历认证永久存档
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
 

file (1).ppt

  • 1. Elec 326 Sequential Circuit Timing 13.1 13. Sequential Circuit Timing Objectives This section covers several timing considerations encountered in the design of synchronous sequential circuits. It has the following objectives:  Define the following global timing parameters and show how they can be derived from the basic timing parameters of flip-flops and gates. Maximum Clock Frequency Maximum allowable clock skew Global Setup and Hold Times  Discuss ways to control the loading of data into registers and show why gating the clock signal to do this is a poor design practice.
  • 2. Elec 326 Sequential Circuit Timing 13.2 Reading Assignment  Much of the information in this section is not in the Brown & Vranesic text. There is material on clock skew in section 10.3. That section also discusses the effects of gating the clock.
  • 3. Elec 326 Sequential Circuit Timing 13.3 13.1. Maximum Clock Frequency The clock frequency for a synchronous sequential circuit is limited by the timing parameters of its flip- flops and gates. This limit is called the maximum clock frequency for the circuit. The minimum clock period is the reciprocal of this frequency. Relevant timing parameters  Gates: Propagation delays: min tPLH, min tPHL, max tPLH, max tPHL  Flip-Flops: Propagation delays: min tPLH, min tPHL, max tPLH, max tPHL Setup time: tsu Hold time: th
  • 4. Elec 326 Sequential Circuit Timing 13.4 Example D Q Q CK Q TW ≥ max tPFF + tsu  For the 7474, max tPLH = 25ns, max tPHL = 40ns, tsu = 20ns TW ≥ max (max tPLH + tsu, max tPHL + tsu) TW ≥ max (25+20, 40+20) = 60
  • 5. Elec 326 Sequential Circuit Timing 13.5 Example D Q CK Q TW ≥ max tPFF + max tPINV + tsu
  • 6. Elec 326 Sequential Circuit Timing 13.6  Example D Q Q D Q Q MUX 0 1 Q0 Q1 CK TW ≥ max tPFF + max tPMUX + tsu
  • 7. Elec 326 Sequential Circuit Timing 13.7  Example Paths from Q1 to Q1: Paths from Q1 to Q2: Paths from Q2 to Q1: Paths from Q2 to Q2: None TW ≥ max tPDFF +tJKsu = 20 +10 = 30 ns TW ≥ max tPDFF + max tAND + tJKsu = 20 + 12 + 10 = 42 ns TW ≥ max tPJKFF + tOR + TDsu = 25 + 10 + 5 = 40 ns TW ≥ max tPJKFF + max tAND + tJKsu = 25 + 12 + 10 = 47 ns TW ≥ 47 ns
  • 8. Elec 326 Sequential Circuit Timing 13.8 Clock Skew  If a clock edge does not arrive at different flip-flops at exactly the same time, then the clock is said to be skewed between these flip-flops. The difference between the times of arrival at the flip-flops is said to be the amount of clock skew.  Clock skew is due to different delays on different paths from the clock generator to the various flip-flops. Different length wires (wires have delay) Gates (buffers) on the paths Flip-Flops that clock on different edges (need to invert clock for some flip-flops) Gating the clock to control loading of registers (a very bad idea)
  • 9. Elec 326 Sequential Circuit Timing 13.9 Example (Effect of clock skew on clock rate)  Clock C2 skewed after C1 Q1 Q2 D Q Q D Q Q CK C1 C2 D2 TW ≥ max TPFF + max tOR + tsu (if clock not skewed, i.e., tINV = 0) TW ≥ max TPFF + max tOR + tsu - min tINV (if clock skewed, i.e., tINV > 0)
  • 10. Elec 326 Sequential Circuit Timing 13.10  Clock C1 skewed after C2 Q1 Q2 D Q Q D Q Q CK C1 C2 D2 TW ≥ max TPFF + max tOR + tsu (if clock not skewed, i.e., tINV = 0) TW ≥ max TPFF + max tOR + tsu + max tINV (if clock skewed, i.e., tINV > 0)
  • 11. Elec 326 Sequential Circuit Timing 13.11 Summary of maximum clock frequency calculations D Q Logic Network D Q C1 C2 Q1 D2 C1 Q1 D2 C2 TW tPFF tOR tsu tSK = tINV C1 Q1 D2 C2 TW tPFF tOR tsu tSK = tINV C2 skewed after C1: TW ≥ max TPFF + max tNET + tsu - min tINV C2 skewed before C1: TW ≥ max TPFF + max tNET + tsu + max tINV
  • 12. Elec 326 Sequential Circuit Timing 13.12 Example  For each of the following two connections find The minimum clock period The maximum and minimum delay from CLK to YOUT tXY = Network delay from X to Y tXD = Network delay from X to D tQY = Network delay from Q to Y tQD = Network delay from Q to D
  • 13. Elec 326 Sequential Circuit Timing 13.13  Circuit 1: max tPFF + max tQY + (n-2) max tXY +max tXD + tsu max tPFF + max tQD + tsu n ≥ 2 Tw ≥ Tw ≥ ≥ TW Minimum Clock Period: Maximum Delay: Minimum Delay: TCY ≤ TCY ≥ max tPFF + max tQY + (n-1) max tXY min tPFF + min tQY tXY= Network delay fromX to Y tXD = Network delay fromX to D tQY= Network delay fromQ to Y tQD = Network delay fromQ to D
  • 14. Elec 326 Sequential Circuit Timing 13.14  Circuit 2: n ≥ 2 max tPFF + max tXD + tsu max tPFF + max tQD + tsu Tw ≥ Tw ≥ Minimum Clock Period: Maximum Delay: Minimum Delay: TCY ≤ TCY ≥ max tPFF + max (max tXY, max tQY) min tPFF + min (min tXY, min tQY) tXY= Network delay fromX to Y tXD = Network delay fromX to D tQY= Network delay fromQ to Y tQD = Network delay fromQ to D
  • 15. Elec 326 Sequential Circuit Timing 13.15 13.2. Maximum Allowable Clock Skew How much skew between C1 and C2 can be tolerated in the following circuit?  Case 1: C2 delayed after C1 D Q Q D Q Q C2 Q1 D2 C1 tPFF > th + tSK tSK < min tPFF - th
  • 16. Elec 326 Sequential Circuit Timing 13.16  Case 2: C1 delayed from C2 D Q Q D Q Q C2 Q1 D2 C1
  • 17. Elec 326 Sequential Circuit Timing 13.17 How does additional delay between the flip-flops affect the skew calculations? tSK ≤ min tPFF - th tsk ≤ min tPFF + min tMUX - th
  • 18. Elec 326 Sequential Circuit Timing 13.18 Summary of allowable clock skew calculations tSK + th ≤ tPFF + tNET tSK ≤ min tPFF + min tNET - th
  • 19. Elec 326 Sequential Circuit Timing 13.19 Example: What is the minimum clock period for the following circuit under the assumption that the clock C2 is skewed after C1 (i.e., C2 is delayed from C1)? N1 N2 C1 C2 Q1 D2 Q2 D1 D Q Q D Q Q
  • 20. Elec 326 Sequential Circuit Timing 13.20  First calculate the maximum allowable clock skew.  Next calculate the minimum clock period due to the path from Q1 to D2.  Finally calculate the minimum clock period due to the path from Q2 to D1 N1 N2 C1 C2 Q1 D2 Q2 D1 D Q Q D Q Q tSK < min tPFF + min tN1 - th TW > max tPFF + max tN1 + tsu - min tSK TW > max tPFF + max tN1 + tsu + max tSK TW > max tPFF + max tN2 + tsu + (min tPFF + min tN1 - th) TW > max tPFF + min tPFF + max tN2 + min tN1 + tsu - th
  • 21. Elec 326 Sequential Circuit Timing 13.21 13.3. Global Setup Time, Hold Time and Propagation Delay Global setup and hold times (data delayed) TSU = tsu + max tNET TH = th - min tNET D Q Q X CK NET D CLK
  • 22. Elec 326 Sequential Circuit Timing 13.22 Global setup & hold time (clock delayed) D Q Q CK D CLK TSU = tsu - min tC TH = th + max tC
  • 23. Elec 326 Sequential Circuit Timing 13.23 Global setup & hold time (data & clock delayed) D Q Q X CK NET D CLK TSU = tsu + max tNET - min tC TH = th - min tNET + max tC
  • 24. Elec 326 Sequential Circuit Timing 13.24 Global propagation delay D Q Q CK NET CLK Y Q TP = tC + tFF + tNET
  • 25. Elec 326 Sequential Circuit Timing 13.25 Summary of global timing parameters TSU = tsu + max tPN - min tPC ≤ tsu + max tPN TH = th + max tPC - min tPN ≤ th + max tPC TP = tPFF + tPN + tPC
  • 26. Elec 326 Sequential Circuit Timing 13.26 Example  Find TSU and TH for input signal LD relative to CLK. LD D CLK CK Q D Q Q TSU = tsu +max tNET - min tC TH = th - min tNET + max tC = tsu + max tINV + max tNAND + max tNAND - min tINV = th - min tNAND - min tNAND + max TINV
  • 27. Elec 326 Sequential Circuit Timing 13.27 13.4. Register load control (gating the clock) A very bad way to add a load control signal LD to a register that does not have one is shown below The reason this is such a bad idea is illustrated by the following timing diagram. The flip-flop sees two rising edges and will trigger twice. The only one we want is the second one. D LD CLK CK D Q Q
  • 28. Elec 326 Sequential Circuit Timing 13.28  If LD was constrained to only change when the clock was low, then the only problem would be the clock skew.
  • 29. Elec 326 Sequential Circuit Timing 13.29 If gating the clock is the only way to control the loading of registers, then use the following approach:  There is still clock skew, but at least we only have one triggering edge. D LD CLK D Q Q
  • 30. Elec 326 Sequential Circuit Timing 13.30 The best way to add a LD control signal is as follows: LD D CLK D Q Q
  • 31. Elec 326 Sequential Circuit Timing 13.31 13.5. Synchronous System Structure and Timing
  • 32. Elec 326 Sequential Circuit Timing 13.32 13.6. Tips & Tricks  Use timing diagrams to determine the timing properties of sequential circuits 13.7. Pitfalls Using typical timing values from the data sheet (use only max and/or min values) Gating the clock
  • 33. Elec 326 Sequential Circuit Timing 13.33 13.8 Review How the flip-flop and gate timing parameters affect the maximum possible clock frequency.  How clock skew affect maximum possible clock frequency. How the delay of logic between flip-flops affects the maximum allowable clock skew. How flip-flop setup and hold times are translated by the combinational logic delays to get global setup and hold times. The detrimental effect of gating the clock signal.