Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Integrated Circuits A Design Perspective

Similar presentations


Presentation on theme: "Digital Integrated Circuits A Design Perspective"— Presentation transcript:

1 Digital Integrated Circuits A Design Perspective
Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic Designing Sequential Logic Circuits November 2002

2 Sequential Logic 2 storage mechanisms • positive feedback
• charge-based

3 Naming 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

4 Latch versus Register Latch Register stores data when clock is low
stores data when clock rises D Q D Q Clk Clk Clk Clk D D Q Q

5 Latches

6 Latch-Based Design N latch is transparent when f = 0
P latch is transparent when f = 1 f N P Logic Latch Latch Logic In synchronous sequential circuits the next cycle cannot begin unless all current computations have completed and system has come to rest. The clock period T, at which the sequential ckt., operates, must thus accommodate the longest delay of any stage in the network.

7 Timing Definitions CLK t t t D DATA Register STABLE t D Q t CLK Q DATA
su hold D DATA Register STABLE t D Q t c 2 q CLK Q DATA STABLE t

8 Maximum Clock Frequency
Also: tcdreg + tcdlogic > thold tcd: contamination delay = minimum delay tclk-Q + tp,comb + tsetup = T

9 Static versus Dynamic Memory
Feedback loop stores data till power is supplied Data stored on capacitor (needs refreshing)

10 Positive Feedback: Bi-Stability
1 A C B o 2 = o1 Vi2

11 Meta-Stability Gain should be larger than 1 in the transition region

12 Writing into a Static Latch
Use the clock as a decoupling signal, that distinguishes between the transparent and opaque states D CLK Forcing the state (can implement as NMOS-only) Converting into a MUX

13 Mux-Based Latches Negative latch Positive latch
(transparent when CLK= 0) Positive latch (transparent when CLK= 1) CLK 1 D Q 1 D Q CLK

14 Mux-Based Latch clock load of 4 transistors

15 Mux-Based Latch Noise margin issue nMOS pass Vdd -Vtn D NMOS only
Non-overlapping clocks

16 Master-Slave (Edge-Triggered) Register
Two opposite latches trigger on edge Also called master-slave latch pair

17 Master-Slave Register
Multiplexer-based latch pair using TG (smaller clock load) setup time = (through I1, T1, I3 and I2) tc-q=tpd_tx +tpd_inv (through T3 and I6)

18 Clk-Q Delay simulation of propagation delay of Transmission Gate register

19 Reduced Clock Load Master-Slave Register
Feedback transmission gate can be eliminated by directly cross coupling the inverters Reverse conduction possible in the transmission gate As long as I4 is a weak device this is not a problem

20 Avoiding Clock Overlap (clock skew)
X CLK CLK Q A D B if there is clock overlap between CLK and CLK’ node A can be driven by both D and B, resulting in an undefined state CLK (a) Schematic diagram CLK CLK CLK (b) Overlapping clock pairs

21 Overpowering the Feedback Loop ─ Cross-Coupled Pairs (static)
NOR-based set-reset

22 Cross-Coupled NAND Added clock Cross-coupled NANDs
This is not used in datapaths any more, but is a basic building memory cell CMOS clocked SR flip-flop

23 Output voltage dependence on transistor width
Sizing Issues Output voltage dependence on transistor width Transient response

24 Storage Mechanisms Dynamic (charge-based) Static
C consisting of gate cap of Inv and junction cap of TG setup time is simply the delay of T1 hold time is zero since T1 turns OFF on next clock edge and further i/p changes are ignored tc-q is equal to two inverter delays plus delay of T2

25 Making a Dynamic Latch Pseudo-Static
Slight cost in delay, it improves the noise immunity

26 Other Latches/Registers: C2MOS
“Keepers” can be added to make circuit pseudo-static

27 Insensitive to Clock-Overlap
DD DD DD DD M M M M 2 6 2 6 D M M 4 8 X X Q D Q 1 M 1 M 3 7 M M M M 1 5 1 5 (a) (0-0) overlap (b) (1-1) overlap

28 Pipelining Resource utilization Pipelined Reference

29 Other Latches/Registers: TSPC
True Single Phase Clocked - register Positive latch (transparent when CLK= 1) Negative latch (transparent when CLK= 0)

30 Including Logic in TSPC
Example: logic inside the latch AND latch

31 TSPC Register


Download ppt "Digital Integrated Circuits A Design Perspective"

Similar presentations


Ads by Google