Documente Academic
Documente Profesional
Documente Cultură
Outline
Switch Logic
Dynamic Logic Stack up
Naser Mohammadzadeh
Switch Logic
Can implement Boolean formulas as networks of switches
Can build switches from MOS transistors transmission
Naser Mohammadzadeh
Types of Switches
Complementary
N-MOS
Naser Mohammadzadeh
P-MOS
4
conducting:
conducts logic 0 perfectly introduces threshold drop into logic 1
Naser Mohammadzadeh
levels
VDD
Naser Mohammadzadeh
Naser Mohammadzadeh
Naser Mohammadzadeh
Naser Mohammadzadeh
VA = VDD
VB
Naser Mohammadzadeh
10
TG Circuits: MUX
Naser Mohammadzadeh
11
TG Circuits: 4 to 1 MUX
Multiplexers can easily
be done with TG Never forget that TG are bi-directional Compact layout by combining identical gates
Naser Mohammadzadeh
12
TG Circuits: XOR
8 transistors
6 transistors
Naser Mohammadzadeh
13
Switch Logic
Advantage: Can help save area and parasitics in some specialized Disadvantages: Is not universal Many TG in series provoke large delays Introduce hard-to-trace electrical problems Charge Sharing
Naser Mohammadzadeh
14
Charge Sharing
The most insidious electrical problem in switch networks
MOS transistors have parasistic capacitances at their
sources and drains thanks to the source/drain diffusion Solution: design the switch network so that its output is always driven by a power supply
Naser Mohammadzadeh
15
Charge Sharing
Naser Mohammadzadeh
16
Dynamic Logic
Overview: Domino DCVSL NORA Zipper
Goal
You are familiar with dynamic logic gates and its different
families You can handle the dynamic logic problems like charge sharing and timing
Naser Mohammadzadeh 17
Things not to like about CMOS gates: N inputs 2N fets (i.e., one nfet and one pfet)
Reduces static power consumption (good!) Increases output rise time (bad!)
the output is connected to either GND or VDD via a low resistance path. Dynamic circuits rely on the temporary storage of signal values on the capacitance of high impedance nodes.
Naser Mohammadzadeh
20
Dynamic Gates
Precharge
Evaluation
Naser Mohammadzadeh 21
Dynamic Gates
Naser Mohammadzadeh
22
Dynamic Gates
Inputs must be stable before CLK goes high because once
output has been discharged it wont go high again until next cycle For same reason, noise/glitches on inputs cannot exceed nfet threshold, a much more stringent requirement than for static CMOS gates
Naser Mohammadzadeh
23
Naser Mohammadzadeh
24
Cascading Problem
Solution: develop techniques that avoid races CMOS Domino logic CMOS NORA (no race) logic & CMOS Zipper logic
Naser Mohammadzadeh 25
Naser Mohammadzadeh
27
Naser Mohammadzadeh
28
evaluate phase if its not being pulled down through nfets gate is static in both clock phases.
Naser Mohammadzadeh
29
node gets pulled down during evaluate phase. When buffer output goes high it switches keeper off saving static power. Good for leakage current problems...
Note that you can put an even number of static gates after the inverter and before the next domino gate.
Naser Mohammadzadeh
30
Naser Mohammadzadeh
31
phase, gates which have only domino output nodes as inputs dont need the evaluate nfet since all the nfets in the pulldown will be off anyway. But remember: if evaluate nfet is removed, precharge will ripple through cascaded gates just like evaluates do. Maybe only remove for gates where nfet stack is tall (i.e. resistive) enough that pullup will start to win anyway before ripple reaches gates and turns off pulldowns.
Naser Mohammadzadeh
32
happen as quickly as possible. We can size fets to optimize evaluation phase speed.
Some designers also grade the sizes of the nfets, smallest at the top (increase in R offset by decrease in C)
CLK
Naser Mohammadzadeh 33
small, the gate delay can be cut almost in half! However, the other edge is very slow, so ripple precharge is a problem.
Naser Mohammadzadeh
34
and the dynamic node can unintentionally reduce the voltage of the dynamic node enough to switch output buffer The addition of the output inverter makes domino gates noninverting. One can often design around this limitation, but some circuits cannot be implemented solely using domino logic unless both polarities (true and complement) of the inputs are available. If both polarities of inputs are available then we can generate both polarities of internal signals with two domino gates so subsequent stages will have both polarities of their inputs available too
Naser Mohammadzadeh 35
Charge Sharing
Fortunately this situation is easily detected by CAD tools
capacitance of dynamic node (faster output buffer may compensate for larger internal capacitance).
Naser Mohammadzadeh
37
Charge Sharing
Additional precharge
Naser Mohammadzadeh
38
Look for CMOS gates followed by inverter Use Demorgans Law to create non-inv gates
Naser Mohammadzadeh
39
Naser Mohammadzadeh
40
Naser Mohammadzadeh
41
DCVS Logic
DCVSL = differential cascade voltage switch logic
Static logicconsumes no dynamic power Uses latch to compute output quickly Requires true/complement inputs, produces
true/complement outputs
Naser Mohammadzadeh
42
DCVS Structure
Naser Mohammadzadeh
43
DCVS Operation
Exactly one of true/complement pull-down networks will
complete a path to the power supply Pull-down network will lower output voltage, turning on other p-type, which also turns off p-type for node which is going down
Naser Mohammadzadeh
44
DCVS Example
Naser Mohammadzadeh
45
Naser Mohammadzadeh
46
build the logic block, we get a logic gate that precharges low and discharges high. By using these gates in an alternating sequence with regular nfet dynamic gates we can eliminate the race problem we had with nfet-only dynamic gate sequences and hence we dont need the buffer inverter present in domino gates.
Naser Mohammadzadeh
47
Naser Mohammadzadeh
48
CMOS Zipper
Naser Mohammadzadeh
49
CMOS Zipper
Similar architecture with CMOS NORA
The clock signals are different
VDD + VTH,p
Naser Mohammadzadeh
50
Naser Mohammadzadeh
51
Naser Mohammadzadeh
52
F A
B
VDD
VDD
A B B A
VDD VDD C C C
Vout=?
VDD
A
B B
Naser Mohammadzadeh
Out
53
Out A B C