330 likes | 523 Views
Lecture #29 CMOS fabrication, clocked and latched circuits. Last lecture: PMOS Physical structure CMOS Dynamic circuits (Ring oscillators) This lecture: CMOS fabrication Clocked and latched circuits. CMOS PARAMETERS 3 generations of CMOS. Return. Interconnect layers.
E N D
Lecture #29 CMOS fabrication, clocked and latched circuits • Last lecture: PMOS • Physical structure • CMOS • Dynamic circuits (Ring oscillators) • This lecture: • CMOS fabrication • Clocked and latched circuits EE 42 fall 2004 lecture 29
CMOS PARAMETERS 3 generations of CMOS Return EE 42 fall 2004 lecture 29
Interconnect layers • On top of the transistor layers, many metal layers interconnect the logic Illustration Actual TEM photo EE 42 fall 2004 lecture 29
W L Thin oxide MOS Fabrication and LAYOUT Device dimensions are larger than gate dimensions Drain contact Gate Length = L Gate (over oxide) Gate Width = W Source contact Thick oxide on silicon EE 42 fall 2004 lecture 29
Integrated Circuit Fabrication Goal: Mass fabrication (i.e. simultaneous fabrication) of hundreds of “Chips”, each a circuit (such as a microprocessor or memory chip) containing millions of transistors Method: Lay down thin films of semiconductors, metals and insulators and pattern each layer with a process much like printing (lithography). Minimum set of materials in an integrated circuit • Si substrate • SiO2 insulator • Polysilicon gate • Metal contacts and wiring Other materials generally used (but not discussed here) Tungsten metal, Silicon nitride insulator, TiN and TiSi conductor regions EE 42 fall 2004 lecture 29
Patterning the Layers - Lithography Goal: Transfer the desired pattern information to the wafer (for example the geometry of a wire) Scheme: Subtractive Patterning … that means for example deposit a uniform film of Aluminum and then selectively remove it (etch it away) where you don’t want it. Process for applying the pattern: Photolithography How Photolithography works: • Coat the the uniform film to be etched with a photosensitive material • Expose the photosensitive material with a “picture” of the desired pattern (much like photographic printing) • Develop away the exposed areas • Use the resulting pattern to mask the etching of the underlying film . EE 42 fall 2004 lecture 29
We will shine UV light onto mask Mask Image of mask will appear here photoresist Lens oxide Si wafer Exposure Process A glass mask with a black/clear pattern is used to expose a wafer coated with about 1 m of photoresist (image projected with optical system) EE 42 fall 2004 lecture 29
UV light Mask Image of mask will appear here (3 dark areas, 4 light areas) Lens Review Exposure Process • A glass mask with a black/clear pattern is used to expose a wafer coated with about 1 m of photoresist photoresist oxide wafer Areas exposed to UV light are susceptible to being chemically removed (developed) EE 42 fall 2004 lecture 29
photoresist Exposed areas of Developed photoresist oxide layer oxide layer oxide layer Photoresist Development and Etching • Solutions with high pH dissolve the areas exposed to UV; unexposed areas (under the black patterns) are not dissolved After developing the photoresist After etching the oxide EE 42 fall 2004 lecture 29
D G G D S S oxide p n p n P-Si n-well CMOS EE 42 fall 2004 lecture 29
VDD CMOS Inverter p-ch IN Inverter OUT VDD n-ch OUT IN Example layout of CMOS Inverter Basic CMOS Inverter EE 42 fall 2004 lecture 29
Al “wires” VDD IN PMOS Gate N-WELL OUT NMOS Gate GROUND EE 42 fall 2004 lecture 29
Data Synchronization problem • Combinatorial logic gates can give incorrect answers prematurely and may take several gate propagation delays produce an answer. • Clocks (signals as to when to proceed) and latches (which capture and hold the correct outputs) can provide synchronization. EE 42 fall 2004 lecture 29
Combinatorial vs Sequential logic • In the digital circuits we have created so far, the output was a function only of the instantaneous inputs. • combinationallogic circuits. • If the action of circuits depends on the history of the inputs, or on past operations, they are • sequentiallogic circuits. EE 42 fall 2004 lecture 29
Combinatorial • A combinatorial circuit can be schematically represented as a black box, and is completely described by a truth table of the outputs as a function of the current inputs EE 42 fall 2004 lecture 29
dynamic circuit • the output is a function not only of the current inputs, but of the internal state of the circuits, residual from previous inputs. The circuit can not be described by a truth table of the inputs only. A B C Outputs EE 42 fall 2004 lecture 29
STAGE 101 STAGE 1 VDD Vout Ring oscillator as an example of a dynamic circuit At at time equal to exactly 1001 gate delays, the input to stage 1 will go high, and after another equal time it will go low, etc. This is a “RING OSCILLATOR”, which toggles at a frequency equal to 1/(1001 tdelay ). Such ring oscillators are commonly used to estimate the performance of a technology. No switch is actually needed, the output is permanently wired to the input, and the oscillations start when power is applied. EE 42 fall 2004 lecture 29
Unpredictability of dynamic circuits • In the case of the ring oscillator, the output just oscillates forever without regard to its inputs. • If there are many different paths and possible delays, the output of the circuit can be highly unpredictable or chaotic, because just what may happen at an instant in time can depend on the exact value of all the previous delays. EE 42 fall 2004 lecture 29
Representing a Discrete Sequence in Continuous Time • From our viewpoint, time appears to be a continuous variable. • For a digital sequence, we want discrete values • [x0,!x1, x2, x3, …], not a continuous function x(t). • The typical way to handle this is to use a clock. • The continuous sequence is “sampled” at regularly spaced times, when the clock “ticks”. EE 42 fall 2004 lecture 29
Making time discrete • The most common answer to this complexity is the same one we used for simplifying circuits before, but this now we make time discrete. • Rather than letting all of the internal nodes take logical states at arbitrary times, we use latches to prevent the change of state of some nodes until a specific time. EE 42 fall 2004 lecture 29
sequential circuit • In a sequential circuit, the circuit can be described by a truth table as a function of the inputs and the values held byf internal latches. A B C Outputs EE 42 fall 2004 lecture 29
VDD VOUT Dynamic Latch To synchronize the data, L remains low until the data is correct. When L goes high the inverse of the data is passed. Note that in a dynamic latch, the old value is just held by the capacitance, which works in CMOS because of the low leakage of the switches, and the fact that the next gate consumes no current. When L is low, the voltage at the output is left floating VIN COUT EE 42 fall 2004 lecture 29
Latches • A latch remembers one bit, either a 0 or 1. • The bit is held while the latch is low, until the next time the latch is high. • Each time the latch line pulses, whatever value (0 or 1) exists at the flip-flop’s input is remembered; the old value is lost. • While the latch is high, the output will follow the input EE 42 fall 2004 lecture 29
H Q H Q Feedback Can Provide Memory Feed back between gates can form a circuit with static memory. This kind of circuit is called a flip-flop L H L H EE 42 fall 2004 lecture 29
H Q H Q the Opposite State H L H L EE 42 fall 2004 lecture 29
S Q Q R Set/Reset EE 42 fall 2004 lecture 29
Set/Reset flip-flop • This circuit will do the following • If S=0 and R=0, Q will not change, but will remember its former value. • If S=1 and R=0, then Q=1 • If S=0 and R=1, then Q=0 • S=1 and R=1 is an illegal combination EE 42 fall 2004 lecture 29
Q Q Set/Reset flip-flop with clock S φ R EE 42 fall 2004 lecture 29
sequential circuit • In a dynamic circuit with latches, we still have a race when a latch passes a value, of its output feeds back to its input. A B C Outputs EE 42 fall 2004 lecture 29
Two phase latches • If we put two latches into every feedback path, and make sure both latches are never open at the same time, we can insure predicable results. A B C Outputs EE 42 fall 2004 lecture 29
Asynchronous vs. clocked logic • One straightforward way of making sure that the behavior is predictable, and does exactly what it was designed to do, is to latch all of the circuits in the block by one signal, which is called a clock. • If a dynamic circuit is built without a clock, it is called asynchronous logic. • It is possible to build fast, low power asynchronous circuits, but difficult to make complex systems which behave correctly EE 42 fall 2004 lecture 29
Clocked logic • If we put two latches into every feedback path, and make sure both latches are never open at the same time, we can insure predicable results. A B C Outputs EE 42 fall 2004 lecture 29