0% found this document useful (0 votes)
16 views

5.seq Logic

This document discusses sequential logic circuits such as latches and registers. It covers static latches and registers that use positive feedback, as well as dynamic latches and registers that use charge-based storage. Master-slave edge-triggered registers are described as consisting of two latches to sample inputs on the rising and falling edges separately. Timing parameters for registers like setup time and propagation delay are also defined. Both static and dynamic implementations of latches and registers are compared.

Uploaded by

wqy15902896758
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

5.seq Logic

This document discusses sequential logic circuits such as latches and registers. It covers static latches and registers that use positive feedback, as well as dynamic latches and registers that use charge-based storage. Master-slave edge-triggered registers are described as consisting of two latches to sample inputs on the rising and falling edges separately. Timing parameters for registers like setup time and propagation delay are also defined. Both static and dynamic implementations of latches and registers are compared.

Uploaded by

wqy15902896758
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

数字集成电路原理

Sequential Logic Circuits

刘佳欣
[email protected]
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

2
Logic Circuits
p Combinational logic p Sequential logic
p Output depends on current p Output depends on current
inputs and previous inputs

3
Sequential Logic

I n p u O u t
C O M B
L O G I

C u r r tSt
ae
N e x
R e g i
Q D

C L K

p 2 types of storage mechanisms


• positive feedback: static
• charge-based: dynamic

4
Sequential Logic
q Latch and register are two types of typical sequential
logic, both in static and dynamic

q Name conventions
§ In our text:
– a latch is level sensitive
– a register is edge-triggered

§ There are many different naming conventions


– For instance, many books call edge-triggered elements
flip-flops
– This leads to confusion however

5
Latch versus Register
q Latch q Register
level sensitive edge triggered

D Q D Q

Clk Clk

Clk Clk

D D

Q Q

6
Latches

P o s i veLatc h N e g

I n D Q O u t I n D Q O u
G G

C L K C L K

c l k c l k

I n I n

O u t O u t

O u Ot u t O u Ot u t
s t f a o l b l s tsIn f a o l

7
Latch versus Register: Timing

tD 2 Q

D Q D Q

C l k C l k

tC 2 Q tC 2 Q

Register Latch

8
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

9
Static Latch

V i1 V o1 V i2 = V o2

V o2 V i1 =
Cross-coupled inverter pair

10
Static Latch
V o1 Vi2

V i1 V o1 V i2 = V o2
V i1 V o2

A
V i 2 = V o1
V o2 V i1 =
C

Cross-coupled inverter pair B


Ø Positive feedback V i 1 = V o2

Ø 3 possile operation points

11
Bi-Stability & Meta-Stability

p A and B are stable states


Ø Gain at A/B is <<1

p C is meta-stable state
Ø Gain at C >>1
Ø A small disturbance at C will move the latch to A/B

12
Changing the State for a Flip Flop
p Flip Flop: Another name for bistable circuits

13
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

14
Mux-Based Latches

15
Mux-Based Latches

16
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

17
Master-Slave Register

p Two opposite latches make a register


p Also called master-slave latch pair

p How to make a negtive edge-triggered register?


18
Master-Slave Register

p CLK=0, T1 is on, T2 is off, input D is sampled on QM


p T3 is off, T4 is on, slave latch holds the last state
p CLK=1, T1 is off, T2 is on, master latch holds the state QM
p T3 is on, T4 is off, QM is copied to Q
19
Register: Timing Definitions
CLK
Register t
D Q tsetup thold

D DATA
CLK STABLE t
tcq

Q DATA
STABLE t

p Setup time (Tsetup)


Ø the time before the rising edge of the clock that the input data D
must become valid.
p Hold time (Thold)
Ø the time that the input must be held stable after the rising edge of
the clock.
p Propagation delay (tcq)
Ø the time for the value of QM to propagate to the output Q.
20
Register: Timing Definitions

pSetup time (Tsetup)


Ø the 2*tpd_inv + tpd_tx
pHold time (Thold)
Ø0
pPropagation delay (tcq)
Ø tpd_tx + tpd_inv
21
Simulation of Propagation Delay

160ps
180ps

22
Timing Constraints

Tc > tpcq + tpd + tsetup


23
Reduced Clock Load Master-Slave Register

CLK CLK

D T1 I1 T2 I3 Q

I2 I4
CLK CLK

24
Reduced Clock Load Master-Slave Register

CLK CLK

D T1 I1 T2 I3 Q

I2 I4
CLK CLK

25
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

26
Static VS. Dynamic: Storage Mechanisms

Static Latch Dynamic Latch

C L K CLK

Q D Q

C L K

D CLK

C L K

• positive feedback • charge-based

27
Dynamic Edge-Triggered Register

28
Dynamic Edge-Triggered Register

• Timing constraint:
29
Making a Dynamic Latch Pseudo-Static
CLK Easily disturbed node

D Q

CLK

C L K

D D

Keeper
C L K
Robustness can be improved significantly !

30
Pseudo-Static Register

31
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

32
Other Latches/Registers: C2MOS
p C2MOS: clock controlled MOS logic

“Keepers” can be added to make circuit pseudo-static


33
Insensitive to Clock-Overlap
p Block the direct connection from D to Q

0 0 1 1

0 0 1 1

34
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

35
True Single-Phase Clocked Latches
p True Single-Phase Clocked (TSPC)

VD D VD D VD D VD D

O u t

I nC L K C L K I nC L K C L K

O u t

Positive latch Negative latch


(transparent when CLK= 1) (transparent when CLK= 0)

36
True Single-Phase Clocked Register
p Build register using two opposite latches

VD D VD D VD D VD D

O u t

I nC L K C L K I nC L K C L K

O u t

Positive latch Negative latch


(transparent when CLK= 1) (transparent when CLK= 0)

37
Outline
pIntroduction
pStatic Latches and Registers
pBistability Principle
pMultiplexer-Based Latches
pMaster-Slave Edge-Triggered Registers
pDynamic Latches and Registers
pDynamic Transmission-gate Edge Triggered Registers
pC2MOS Registers
pTrue Single-Phase Clocked Registers
pPipelining

38
Pipelining

39
Pipelined Computations

40
Thank you!

You might also like