The document discusses different types of transistors including MOSFETs and BJTs. It then covers the basic construction and operation of MOSFETs and CMOS logic gates like inverters, NOR gates, and NAND gates. Decoder circuits are also summarized. The remainder discusses static hazards, output characteristics testing, and common logic interface levels.
This document discusses different circuit families for combinational logic design, including static CMOS, ratioed circuits, CVSL, dynamic circuits, and pass-transistor circuits. It focuses on static CMOS, explaining how to simplify logic using DeMorgan's laws and discussing the effects of input ordering, asymmetric gates, symmetric gates, and skewed gates on delay. Skewed gates can favor one transition over another, reducing the size of non-critical transistors. The document cautions that pMOS transistors contribute significantly more capacitance than nMOS.
Lec4 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMOSHsien-Hsin Sean Lee, Ph.D.
油
1. The document describes CMOS inverters and how to construct CMOS networks for basic logic gates like NAND, NOR, and XOR from pull-up and pull-down networks.
2. It provides a systematic method for drawing the CMOS network from a Boolean equation by first constructing either the pull-up network or pull-down network based on the equation.
3. Examples are given to demonstrate how to apply the method to draw CMOS networks for equations with multiple variables like XOR, XNOR, and complex equations with nested terms.
Lec14 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Se...Hsien-Hsin Sean Lee, Ph.D.
油
This document discusses sequential logic circuits, which differ from combinational logic circuits in that they have state information stored in memory elements like flip-flops. The output of a sequential circuit depends on both the inputs and the present state. Common types of sequential elements discussed include SR latches, D latches, and edge-triggered flip-flops. Master-slave configurations are used to avoid problems with transparency in latches. Dual-phase non-overlapping clocks are introduced to control the transfer of data between latches in a flip-flop.
This document discusses dynamic combinational circuit design. Dynamic logic uses a clocked pMOS pullup and operates in two modes: precharge and evaluate. Dynamic circuits require monotonically rising inputs during evaluation. To address this, dynamic gates are followed by inverting static gates to form domino logic. Domino logic evaluates gates sequentially but precharges in parallel, making evaluation critical. Issues like leakage, charge sharing, and noise must also be addressed. Domino logic can provide faster speeds than static CMOS but has challenges to overcome.
This document summarizes a lecture on static combinational circuit design. It discusses how to convert AND/OR logic to NAND/NOR logic using DeMorgan's laws. It also discusses designing a 2-input multiplexer using NAND gates. Finally, it covers topics like calculating delay, annotating designs with transistor sizes, modeling parasitic delay, asymmetric gates, skewed gates, and creating a catalog of skewed gates.
This document discusses different logic families including Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor-Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It provides circuit diagrams and explanations of the working principles for each logic family. Key characteristics like fan-in, fan-out, propagation delay, noise immunity, and power dissipation are compared for each logic family.
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...Hsien-Hsin Sean Lee, Ph.D.
油
1) The document discusses switches and CMOS transistors. It describes how a basic switch works and analogizes it to a transistor.
2) It then covers transistor characteristics like cut-off, linear, and saturation regions. Threshold voltage and factors affecting it are also discussed.
3) Switch logic is examined for switches in series (AND function) and parallel (OR function).
4) CMOS transistors are introduced, including nMOS and pMOS types. A transmission gate using both is described for transmitting signals without degradation.
The document provides an overview of phase-locked loops (PLLs), including their history, applications, components, and design requirements. It discusses how PLLs work, beginning with an early use in 1932 for radio signal reception. Key applications include frequency multiplication, modulation/demodulation, data synchronization, and use in devices like cell phones and hard disk drives. Diagrams and equations are provided to illustrate the relationships between phase and frequency in a PLL system and its voltage-controlled oscillator, phase detector, and charge pump components.
The PLL consists of a phase detector, low pass filter, error amplifier, and voltage controlled oscillator (VCO). The phase detector compares the input signal frequency to the VCO output frequency and generates an error voltage if they differ. This error voltage is filtered and amplified to control the VCO frequency, shifting it toward the input signal frequency, forming a feedback loop that locks the VCO frequency to the input signal frequency.
The document discusses multi-level gate circuits and their terminology. It provides examples of realizing functions with AND-OR, OR-AND, OR-AND-OR circuits. It also discusses realizing circuits using only NAND or NOR gates. The procedures for designing two-level and multi-level circuits with NAND and NOR gates are described. Alternative gate symbols and examples of designing circuits to realize multiple functions are also presented.
The document discusses the IC 555 timer integrated circuit. It describes how the IC 555 has been widely used since 1971, with over 1 billion units sold. It can be used in various operating modes like monostable, astable, and bistable. The document provides examples of using the IC 555 in monostable and astable modes for applications like turning on an LED periodically or building a clap-activated robot. Formulas for calculating timing are also given.
The 555 timer is a versatile integrated circuit that can be used to generate accurate timing signals. It works by using internal comparators and a flip-flop to accurately time an external resistor-capacitor circuit. The 555 timer can be used in various configurations (monostable, bistable, astable) to generate pulses or oscillations for applications like timers, flashing lights, and tone generation. It is an inexpensive and robust chip contained in an 8-pin package that can drive loads directly from its output.
The document discusses phase-locked loops (PLLs), including what they are, how they are modeled and operate, properties of PLLs, and applications. A PLL is a negative feedback system that automatically adjusts the frequency and phase of a control signal to match a reference signal. It consists of a phase detector, loop filter, and voltage-controlled oscillator. The document provides examples of modeling and simulating a PLL using Simulink. It also summarizes tests of a PLL design under different conditions and discusses other applications of PLLs beyond frequency demodulation.
The document describes a lab experiment using a 555 timer chip to generate an oscillator clock source. Students are instructed to calculate component values to produce a 400-500Hz signal and assemble the circuit. Measurements show the unbuffered output distorts when feeding logic gates. Buffering the output with inverters preserves the signal integrity at the gate inputs. The results demonstrate the importance of buffering signals driving logic inputs.
The document discusses the monostable operation of the 555 IC timer. It aims to describe the circuit operation and applications of a monostable multivibrator, and calculate the pulse width. Specifically, it explains how the 555 IC can be used in a monostable multivibrator circuit to generate a single output pulse with a duration determined by the external resistor and capacitor. Diagrams and examples are provided to illustrate the internal circuitry and timing of the monostable mode.
This document describes experiments performed to characterize active band-pass and band-stop filters, including plotting the gain-frequency response curves to determine cutoff frequencies and bandwidth, calculating quality factors and center frequencies, and comparing measured and expected voltage gains. Procedures are provided to implement and analyze a multiple-feedback band-pass filter and a two-pole Sallen-Key notch filter using op-amps and passive components.
A 4-bit Johnson counter uses 4 D flip-flops connected in a loop. On each clock pulse, the value shifts from one flip-flop to the next in a circular fashion, incrementing the counter. If an illegal state occurs, correction gates block the invalid input and force the next flip-flop to the correct state to maintain the proper counting sequence. The Johnson counter allows for all possible state combinations and self-corrects any illegal states through the use of correction gates.
Edge Trigged Flip Flpps, this presentation will cover the following topics
Flip Flops
Properties of flip flops
Edge trigged flip flops
THE EDGE TRIGGERED S-R FLIP FLOPS
THE EDGE TRIGGERED J-K FLIP FLOPS
THE EDGE TRIGGERED D FLIP FLOPS
THE EDGE TRIGGERED T FLIP FLOPS
Operating characteristics of edge trigged flip flops
This document provides an overview of four different logic families: Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It describes the basic circuit, truth table, and working principle for each logic family. RTL was the first non-monolithic logic family and uses resistors and transistors. DTL uses diodes and transistors in its NAND gate configuration. TTL became widely popular and uses additional transistors in a totem-pole output stage. ECL is a non-saturated logic family that provides OR and NOR functions using differential input amplifiers and emitter followers.
This document discusses the design and operation of a 4-bit synchronous up/down counter using JK flip-flops. It explains that in a synchronous counter, all output bits change state simultaneously in response to a clock signal. The circuit connects all flip-flop clock inputs together. For an up counter, the J and K inputs of each flip-flop are configured to toggle the flip-flop when the outputs of all previous flip-flops are high. For a down counter, the circuit recognizes bit patterns where preceding bits are low before a toggle by using the Q' outputs of each flip-flop. The least significant bit toggles on every clock cycle while more significant bits toggle less frequently in a divide
counter using 4 master slave flip-flops ZunAib Ali
油
This document describes how to design a 4-bit counter using master-slave JK flip-flops. It begins by explaining what a flip-flop is and describing common flip-flop types like the SR, JK, and master-slave JK flip-flop. It then shows how to connect 4 master-slave JK flip-flops in a ring configuration to form a counter that will count from 0 to 15 (hexadecimal F). The document concludes by presenting the circuit design of a 4-bit counter created using DSCH simulation software, along with output waveforms and a timing diagram verifying the counter operates as intended.
Sequential circuits are combinational circuits with memory elements that store previous states and feedback. The output depends on external inputs and stored information from previous inputs. Memory devices called flip-flops or bistables store binary information. There are two types of sequential circuits: synchronous use a master clock and change state at clock pulses, while asynchronous depend on input signal order and can change at any time. Flip-flops are binary memory cells that store a bit indefinitely until an input signal changes its state, having two stable states and two outputs: true and complement. There are four basic flip-flop types: S-R, D, J-K, and T.
The document discusses sequential circuits and their basic components. It describes how SR latches can store a bit using feedback and how their behavior can be represented using truth tables and state diagrams. SR latches are glitch sensitive. D latches and D flip-flops are also discussed, with latches being level sensitive and flip-flops edge triggered. Other types of flip-flops include T and J-K flip-flops. A master-slave J-K flip-flop is shown to realize a clocked J-K flip-flop using two SR latches.
1. The document describes a final project to build an analog PID control circuit using op-amps. It includes objectives, a list of components, and detailed instructions on assembling the circuit and testing it.
2. Key steps include deriving the transfer functions for the proportional, derivative, and integral controllers. Tests are done to observe input-output waveforms for each section alone and for the combined PID controller.
3. Optional tests include modifying the derivative and integral sections, testing with different input signals, closed-loop simulations, and integrating the PID controller into a double integrator plant model.
The PLL consists of a phase detector, low pass filter, error amplifier, and voltage controlled oscillator (VCO). The phase detector compares the input signal frequency to the VCO output frequency and generates an error voltage if they differ. This error voltage is filtered and amplified to control the VCO frequency, shifting it toward the input signal frequency, forming a feedback loop that locks the VCO frequency to the input signal frequency.
The document discusses multi-level gate circuits and their terminology. It provides examples of realizing functions with AND-OR, OR-AND, OR-AND-OR circuits. It also discusses realizing circuits using only NAND or NOR gates. The procedures for designing two-level and multi-level circuits with NAND and NOR gates are described. Alternative gate symbols and examples of designing circuits to realize multiple functions are also presented.
The document discusses the IC 555 timer integrated circuit. It describes how the IC 555 has been widely used since 1971, with over 1 billion units sold. It can be used in various operating modes like monostable, astable, and bistable. The document provides examples of using the IC 555 in monostable and astable modes for applications like turning on an LED periodically or building a clap-activated robot. Formulas for calculating timing are also given.
The 555 timer is a versatile integrated circuit that can be used to generate accurate timing signals. It works by using internal comparators and a flip-flop to accurately time an external resistor-capacitor circuit. The 555 timer can be used in various configurations (monostable, bistable, astable) to generate pulses or oscillations for applications like timers, flashing lights, and tone generation. It is an inexpensive and robust chip contained in an 8-pin package that can drive loads directly from its output.
The document discusses phase-locked loops (PLLs), including what they are, how they are modeled and operate, properties of PLLs, and applications. A PLL is a negative feedback system that automatically adjusts the frequency and phase of a control signal to match a reference signal. It consists of a phase detector, loop filter, and voltage-controlled oscillator. The document provides examples of modeling and simulating a PLL using Simulink. It also summarizes tests of a PLL design under different conditions and discusses other applications of PLLs beyond frequency demodulation.
The document describes a lab experiment using a 555 timer chip to generate an oscillator clock source. Students are instructed to calculate component values to produce a 400-500Hz signal and assemble the circuit. Measurements show the unbuffered output distorts when feeding logic gates. Buffering the output with inverters preserves the signal integrity at the gate inputs. The results demonstrate the importance of buffering signals driving logic inputs.
The document discusses the monostable operation of the 555 IC timer. It aims to describe the circuit operation and applications of a monostable multivibrator, and calculate the pulse width. Specifically, it explains how the 555 IC can be used in a monostable multivibrator circuit to generate a single output pulse with a duration determined by the external resistor and capacitor. Diagrams and examples are provided to illustrate the internal circuitry and timing of the monostable mode.
This document describes experiments performed to characterize active band-pass and band-stop filters, including plotting the gain-frequency response curves to determine cutoff frequencies and bandwidth, calculating quality factors and center frequencies, and comparing measured and expected voltage gains. Procedures are provided to implement and analyze a multiple-feedback band-pass filter and a two-pole Sallen-Key notch filter using op-amps and passive components.
A 4-bit Johnson counter uses 4 D flip-flops connected in a loop. On each clock pulse, the value shifts from one flip-flop to the next in a circular fashion, incrementing the counter. If an illegal state occurs, correction gates block the invalid input and force the next flip-flop to the correct state to maintain the proper counting sequence. The Johnson counter allows for all possible state combinations and self-corrects any illegal states through the use of correction gates.
Edge Trigged Flip Flpps, this presentation will cover the following topics
Flip Flops
Properties of flip flops
Edge trigged flip flops
THE EDGE TRIGGERED S-R FLIP FLOPS
THE EDGE TRIGGERED J-K FLIP FLOPS
THE EDGE TRIGGERED D FLIP FLOPS
THE EDGE TRIGGERED T FLIP FLOPS
Operating characteristics of edge trigged flip flops
This document provides an overview of four different logic families: Resistor Transistor Logic (RTL), Diode Transistor Logic (DTL), Transistor Transistor Logic (TTL), and Emitter Coupled Logic (ECL). It describes the basic circuit, truth table, and working principle for each logic family. RTL was the first non-monolithic logic family and uses resistors and transistors. DTL uses diodes and transistors in its NAND gate configuration. TTL became widely popular and uses additional transistors in a totem-pole output stage. ECL is a non-saturated logic family that provides OR and NOR functions using differential input amplifiers and emitter followers.
This document discusses the design and operation of a 4-bit synchronous up/down counter using JK flip-flops. It explains that in a synchronous counter, all output bits change state simultaneously in response to a clock signal. The circuit connects all flip-flop clock inputs together. For an up counter, the J and K inputs of each flip-flop are configured to toggle the flip-flop when the outputs of all previous flip-flops are high. For a down counter, the circuit recognizes bit patterns where preceding bits are low before a toggle by using the Q' outputs of each flip-flop. The least significant bit toggles on every clock cycle while more significant bits toggle less frequently in a divide
counter using 4 master slave flip-flops ZunAib Ali
油
This document describes how to design a 4-bit counter using master-slave JK flip-flops. It begins by explaining what a flip-flop is and describing common flip-flop types like the SR, JK, and master-slave JK flip-flop. It then shows how to connect 4 master-slave JK flip-flops in a ring configuration to form a counter that will count from 0 to 15 (hexadecimal F). The document concludes by presenting the circuit design of a 4-bit counter created using DSCH simulation software, along with output waveforms and a timing diagram verifying the counter operates as intended.
Sequential circuits are combinational circuits with memory elements that store previous states and feedback. The output depends on external inputs and stored information from previous inputs. Memory devices called flip-flops or bistables store binary information. There are two types of sequential circuits: synchronous use a master clock and change state at clock pulses, while asynchronous depend on input signal order and can change at any time. Flip-flops are binary memory cells that store a bit indefinitely until an input signal changes its state, having two stable states and two outputs: true and complement. There are four basic flip-flop types: S-R, D, J-K, and T.
The document discusses sequential circuits and their basic components. It describes how SR latches can store a bit using feedback and how their behavior can be represented using truth tables and state diagrams. SR latches are glitch sensitive. D latches and D flip-flops are also discussed, with latches being level sensitive and flip-flops edge triggered. Other types of flip-flops include T and J-K flip-flops. A master-slave J-K flip-flop is shown to realize a clocked J-K flip-flop using two SR latches.
1. The document describes a final project to build an analog PID control circuit using op-amps. It includes objectives, a list of components, and detailed instructions on assembling the circuit and testing it.
2. Key steps include deriving the transfer functions for the proportional, derivative, and integral controllers. Tests are done to observe input-output waveforms for each section alone and for the combined PID controller.
3. Optional tests include modifying the derivative and integral sections, testing with different input signals, closed-loop simulations, and integrating the PID controller into a double integrator plant model.
This document discusses various types of analog-to-digital converters (ADCs) and digital-to-analog converters (DACs). It describes the basic principles of operation for successive approximation (SAR) ADCs, resistor ladder DACs, and R-2R DACs. It also covers specifications for converters like resolution, speed, settling time, and linearity. Common applications that use DACs are also mentioned such as function generators, digital oscilloscopes, and video conversion.
The document discusses CMOS inverters, NAND gates, and NOR gates. It describes the components and operation of each circuit. For CMOS inverters, it explains that one p-channel and one n-channel MOSFET are connected in series, with their gates connected as the input and drains as the output. A NAND gate uses two p-channel MOSFETs in parallel and two n-channel in series, while a NOR gate uses two p-channel in series and two n-channel in parallel. Truth tables are provided for each gate. Advantages of CMOS circuits include low power consumption and high noise immunity, while disadvantages are low switching speed and greater propagation delay.
Design and implementation of cyclo converter for high frequency applicationscuashok07
油
This document presents a design and implementation of a 3-phase cyclo-converter for high frequency applications. It uses an H-bridge inverter to generate a constant voltage at an RLC load. MOSFETs are used as switching devices due to their high switching speed. The purpose is to convert low frequency AC to high frequency AC without switching losses. MATLAB Simulink and Keil software are used to simulate the power and control circuits respectively.
The document describes the operation and design considerations of a buck/boost DC-DC converter circuit. It provides equations to calculate component ratings for the input inductor, output capacitor, MOSFET, diode, and other parts. Design examples are given to illustrate how to select appropriate component values and ratings to ensure continuous inductor currents and minimize output voltage ripple.
The document describes the operation and design considerations of a buck/boost DC-DC converter circuit. It provides equations to calculate component ratings for the input inductor, output capacitor, MOSFET, diode, and other parts. Design examples are given to illustrate how to select appropriate component values and ratings to ensure continuous inductor currents and minimize output voltage ripple.
The document describes the operation and design considerations of a buck/boost DC-DC converter circuit. It provides equations to calculate component ratings for the input inductor, output capacitor, MOSFET, diode, and other parts. Design examples are given to illustrate how to select appropriate component values and ratings to ensure continuous inductor currents and minimize output voltage ripple.
This document summarizes testing of a one-stage pipelined analog-to-digital converter (ADC). It first describes the architecture of pipelined ADCs and the components of a single stage, including a sub-ADC comparator and multiplying digital-to-analog converter (MDAC). It then discusses fault models for circuit components and generates test inputs to detect faults. Specifically, it uses two test input voltages to generate output patterns that can detect faults like output stuck at supply voltages or capacitor opens/shorts through the digital outputs of each stage. Simulation parameters are provided and the document concludes by thanking the reader.
This document describes the design and operation of an inexpensive battery-powered tester for testing line output transformers (LOPTs) and other high frequency wound components. The tester uses a "ring testing" principle where a pulse is applied to the component being tested and the decay of the resulting ringing waveform is measured. Faster decay indicates increased losses likely due to a fault. The tester outputs a bar graph display showing the number of ringing cycles above a threshold, with more LEDs indicating a healthier component. Feedback from technicians found the tester capable of identifying at least 80% of LOPT faults in TVs and monitors.
This document provides an overview of VLSI circuits and design. It discusses the evolution from transistors to integrated circuits, highlighting advantages like reduced size and cost. The VLSI design process involves problem specification, architecture definition, functional design, logic design, and physical design. CMOS technology is described, including transistor operation, fabrication, and basic gates. Dynamic CMOS uses precharge and evaluation phases to conditionally discharge outputs. Programmable logic devices like PLA, PAL, and FPGA are also summarized.
This document provides instructions for building and testing a differentiator circuit using an op amp. Key points:
- The circuit uses an LM356 op amp instead of the diagrammed uA741. Resistors and capacitors can be combined to achieve desired values.
- A series resistor and feedback capacitor are added to the ideal differentiator circuit to form high-pass and low-pass filters, stabilizing the circuit and reducing noise.
- As frequency increases, the capacitor acts less like an open circuit and more like a short circuit. This changes the circuit's behavior from a differentiator to an inverting amplifier to an integrator.
- Phase shift between input and output will vary from 90属
This document discusses design considerations for high step-down ratio buck converters. It begins with an overview of buck converter operation in continuous and discontinuous modes. It then lists typical specifications and design considerations such as input/output voltage ranges, efficiency targets, and size constraints. Improving efficiency is highlighted as critical for thermal management and reliability. Small signal modeling of the buck converter is presented, incorporating the PWM switch. Key MOSFET parameters like gate resistance and non-linear junction capacitance are also discussed.
This document provides details on designing and using an in-circuit tester for line output transformers (LOPTs) in TVs and computer monitors. The tester uses a "ring testing" principle where a pulse is applied to the LOPT primary winding and the decay of the resulting ringing waveform is measured. A faster decay indicates increased losses likely due to a fault. The circuit generates pulses and compares ringing amplitude to light LEDs, with more LEDs indicating a healthier LOPT. It is battery powered, inexpensive, and allows testing components in the circuit without removal.
This document summarizes a lecture on the MOS switch and MOS diode. It discusses the MOSFET as an ideal and non-ideal switch, including the influence of on resistance, off resistance, and parasitic capacitances. It describes channel charge injection that occurs when the switch turns off and clock feedthrough from the gate capacitance. Models are presented to analyze the varying on resistance during switching and the effects of charge injection and clock feedthrough. Methods for reducing these non-ideal effects are also discussed, such as minimizing parasitic capacitances and transition times.
The document discusses various topics related to clock generation and distribution in integrated circuits, including:
1) External clock sources are converted to internal clock signals using on-chip clock generation circuits.
2) Phase-locked loops (PLLs) are commonly used on-chip clock generators that can multiply the frequency of an external reference clock.
3) Factors that affect clock signals such as skew and jitter must be minimized to within 10% of the clock cycle for reliable operation of computer systems.
The document discusses MOS transistors and their operation. It introduces MOS structure, showing the metal-oxide-semiconductor makeup. It describes how applying a positive voltage to the gate can create an inversion layer channel between the source and drain, allowing current to flow. The threshold voltage is defined as the minimum gate voltage needed to form an conducting channel. The document covers MOS transistor regions of operation like accumulation, depletion and inversion modes in detail. It also discusses key characteristics like current-voltage relationships.
This document presents a proposed zero-voltage transition fifth-order boost converter. A fifth-order boost converter has higher voltage gain but limitations at higher switching frequencies. Soft-switching techniques can remove these limitations. The proposed converter utilizes zero-voltage transition technique to achieve soft switching and improve efficiency. It analyzes the steady state operation and develops state-space models of the converter. The objective is to design a limitation free controller and simulate the complete system to validate the performance.
5. BJT Symbols
collector
base
emitter
collector
base
emitter
npn bipolar transistor pnp bipolar transistor
6. MOSFET Symbols
gate body
A circle is sometimes
used on the gate terminal
to show active low input
drain
gate body
source
or or
drain
gate
body
source
drain
source
drain
gate
body
source
A. n-channel MOSFET B. p-channel MOSFET
8. Basic CMOS Logic Technology
Based on the fundamental inverter circuit
Transistors (two) are enhancement-mode MOSFETs
N-channel with its source grounded
P-channel with its source connected to +V
Input: gates connected together
Output: drains connected
10. CMOS Inverter - Operation
Since the gate is essentially an open circuit it draws no current, and the
output voltage will be equal to either ground or to the power supply
voltage, depending on which transistor is conducting.
When input A is grounded (logic 0), the N-channel MOSFET is
unbiased, and therefore has no channel enhanced within itself. It is an
open circuit, and therefore leaves the output line disconnected from
ground. At the same time, the P-channel MOSFET is forward biased,
so it has a channel enhanced within itself, connecting the output line to
the +Vsupply. This pulls the output up to +V (logic 1).
When input A is at +V (logic 1), the P-channel MOSFET is off and the
N-channel MOSFET is on, thus pulling the output down to ground
(logic 0). Thus, this circuit correctly performs logic inversion, and at
the same time provides active pull-up and pull-down, according to the
output state.
12. CMOS 2-Input NOR - Operation
This basic CMOS inverter can be expanded into NOR and
NAND structures by combining inverters in a partially series,
partially parallel structure. A practical example of a CMOS 2-
input NOR gate is shown in the figure.
In this circuit, if both inputs are low, both P-channel MOSFETs
will be turned on, thus providing a connection to +V. Both N-channel
MOSFETs will be off, so there will be no ground
connection. However, if either input goes high, that P-channel
MOSFET will turn off and disconnect the output from +V, while
that N-channel MOSFET will turn on, thus grounding the output.
Note the two p-channel FETs in series.
14. CMOS 2-Input NAND - Operation
A two-input NAND gate: a logic 0 at either input will force the output to
logic 1; both inputs at logic 1 will force the output to go to logic 0.
Note the two n-channel FETs in series and the two p-channel FETs in
parallel.
The pull-up and pull-down resistances at the output are never the same,
and can change significantly as the inputs change state, even if the output
does not change logic states. The result is uneven and unpredictable rise
and fall times for the output signal. This problem was addressed, and was
solved with the buffered, or B-series CMOS gates.
16. CMOS 2-Input NAND: Buffered
The technique here is to follow the actual NAND gate with a pair of inverters. Thus,
the output will always be driven by a single transistor, either P-channel or N-channel.
Since they are as closely matched as possible, the output resistance of the gate will
always be the same, and signal behavior is therefore more predictable. Typically, the p-channel
transistor is approximately twice as wide as the n-channel transistor, because of
the difference in conductivity between electronics and holes.
Note that we have not gone into all of the details of CMOS gate construction here. For
example, to avoid damage caused by static electricity, different manufacturers
developed a number of input protection circuits, to prevent input voltages from
becoming too high. However, these protection circuits do not affect the logical behavior
of the gates, so we will not go into the details here. This is not strictly true for most
CMOS devices for applications that are power-switched; special inputs are required for
power-off isolation between circuits.
18. Decoder Fundamentals
Route data to one specific output line.
Selection of devices, resources
Code conversions.
Arbitrary switching functions
implements the AND plane
Asserts one-of-many signal; at most one output will be
asserted for any input combination
19. Encoding
Binary
Decimal Unencoded Encoded
0 0001 00
1 0010 01
2 0100 10
3 1000 11
Note: Finite state machines may be unencoded ("one-hot")
or binary encoded. If the all 0's state is used, then
one less bit is needed and it is called modified
one-hot coding.
21. 2:4 Decoder
1 1
1 0
0 1
00
D 0
D 1
A
B
A
B
A
B
A
B
AND 2
AND 2 A
AND 2 A
AND 2 B
Y
Y
Y
Y
E Q 3
E Q 2
E Q 1
E Q 0
What happens when the inputs goes from 01 to 10?
22. 2:4 Decoder with Enable
1 1
1 0
0 1
00
D 0
D 1
ENABLE
A
B
C
A
B
C
A
B
C
A
B
C
Y
Y
Y
Y
E Q 3
E Q 2
E Q 1
E Q 0
AND 3
AND 3 A
AND 3 A
AND 3 B
24. Static Hazard
2:1 Mux implemented by
minimized Sum-of-Products
A
S
B
A
B
A
B
Idealized matched delays
Y X1
Y X2
A
B
Y Y
25. Static Hazard
In real circuits, delays don't
exactly match; Added delay
for illustration
A
S
B
A
B
A
B
Y X1
Y X2
A
B
Y Y
A Y S D
BUFF
AND 2
AND 2 A
OR 2
27. Static Hazard
S=0
S=1
A B
0 0 0 1 1 1 1 0
0 1 1 0
0 0 1 1
Illustrating the minimized function on a Karnaugh map.
Only two 2-input AND gates are needed for the product terms
28. Static Hazard
0
1
A B
0 0 0 1 1 1 1 0
0 1 1 0
0 0 1 1
S
The blue oval shows the redundant term used to cover the
transition between product terms.
29. Static Hazard
How can we verify the
presence and operation
of this gate?
Y S D
A
B
A
B
A
B
A
B
C
Y X1
Y X2
Y X3
A
S
B
Y Y
A BUFF
AND 2
AND 2 A
OR 3
AND 2
30. Static Hazard 0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 10
1011 11
1100 12
1101 13
1110 14
1111 15
0000 16
Terminal count of
a 4-bit synchronous
counter.
CLDCK
ACLR
D Q
DFC1B
CLK
CLR
D Q
DFC1B
CLK
CLR
D Q
DFC1B
CLK
CLR
D Q
DFC1B
CLK
CLR
A
B
C
D
AND 4
Y
TCNT
31. Static Hazard
Flight Design Example
TMR Triplet Majority Voter
High-skew buffer
D Q
DF1
CLK
D Q
DF1
CLK
D Q
DF1
CLK
D Q
DF1
CLK
A Y
VCC
Y
Y
Y
GND
D0
D1
D2
D3
S1 S0
32. Static Hazard
Flight Design Example
Care is needed when using TMR circuits. First,
the output of the voter may be susceptible to a
logic hazard glitch. This is not a problem if the
TMR is feeding the input of another synchronous
input. However, the TMR output should never
feed asynchronous inputs such as flip-flop
clocks, clears, sets, read/write inputs, etc.
Design Techniques for Radiation-Hardened FPGAs
Actel Corporation, September 1997
-- based on SEU Hardening of Field Programmable Gate Arrays (FPGAs) for Space
Applications and Device Characterization, R. Katz, R. Barto, et. al., IEEE Transactions
on Nuclear Science, Dec. 1994.
33. Static Hazard
We have covered static hazards. There are also
dynamic hazards. An example of a dynamic
hazard would be when a circuit is supposed to
switch as follows:
0 1
But instead switches:
0 1 0 1
Any circuit that is static hazard free is also
dynamic hazard free.
34. Common Output Stage
Definitions
VOH - Output voltage when driving high
VOL - Output voltage when driving low
IOH - Output current when driving high
IOL - Output current when driving low
tT - Transition time, usually measured between 10% and
90% of the waveform (2.2)