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

Chapter 3 Notes: 3.1 Representation of Binary Values

This document summarizes key concepts from Chapter 3 of the notes. It discusses: 1. The representation of binary values using positive and negative logic and voltages. It also explains logic gates using voltage truth tables. 2. The structure and operation of CMOS logic gates using transistors as switches controlled by input voltages. Common logic gates like inverters, AND, OR, NAND and NOR are described. 3. Factors that affect signal propagation, including propagation delay, transition times, input/output loading, fanout, fanin, and noise margins. Cumulative delays in logic chains are discussed.

Uploaded by

mpkkbtech
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Chapter 3 Notes: 3.1 Representation of Binary Values

This document summarizes key concepts from Chapter 3 of the notes. It discusses: 1. The representation of binary values using positive and negative logic and voltages. It also explains logic gates using voltage truth tables. 2. The structure and operation of CMOS logic gates using transistors as switches controlled by input voltages. Common logic gates like inverters, AND, OR, NAND and NOR are described. 3. Factors that affect signal propagation, including propagation delay, transition times, input/output loading, fanout, fanin, and noise margins. Cumulative delays in logic chains are discussed.

Uploaded by

mpkkbtech
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Chapter 3 Notes

1. 3.1 Representation of binary values


○ Real logic devices receive input and produce output in the form of voltages.
○ Necessary to define a voltage representation for binary logic values 0 and 1.
○ Positive logic represents True or 1 with a high voltage and False or 0 with a low
voltage.
○ Negative logic represents True or 1 with a low voltage and False or 0 with a high
voltage.
○ The following repeats the Light switch example, adding voltage representation.
○ Positive
Negative
○ A B |LIGHT A B| LIGHT Ab Bb| LIGHTb A B| LIGHT A B|
LIGHT
○ Down Down| OFF F F| F 0 0 | 0 L L| L H H|
H
○ Down Up | ON F T| T 0 1 | 1 L H| H H L|
L
○ Up Down| ON T F| T 1 0 | 1 H L| H L H|
L
Up Up | OFF T T| F 1 1 | 0 H H| L L L|
H
○ Interestingly, a positive logic OR device also implements a negative logic AND
as seen in the following:
○ Input Output Positive Negative
○ Voltage Voltage Logic Logic
○ x y | z x y | z x y | z
○ L L | L 0 0 | 0 1 1 | 1
○ L H | H 0 1 | 1 1 0 | 0
○ H L | H 1 0 | 1 0 1 | 0
○ H H | H 1 1 | 1 0 0 | 0
OR AND
2. 3.2 Structure and Operation of CMOS gates
○ Can model transistor operation as switch that is opened or closed by a control
voltage. In the left diagram, with the gate to Ground open there is greater
resistance to Ground than to positive Vdd voltage, the voltage at Output is Vdd. In
the right diagram, with the gate to Ground closed there is less resistance to the
Ground than to positive Vdd voltage, the voltage at Output is low.
Behavior of transistors can be modeled by adding a control voltage to open or
close the gate as in the diagram below. When a high is applied to the Gate
Control Input the gate is closed and Output is connected to the Ground. When the
Gate Control Input is low, the gate is open and Output is connected to positive
Vdd. The two figures below are equivalent, the right figure replacing the switch
representation with that of a transistor.

○ 3.2.2 Inverter or NOT gate - In the above diagram, a high input results in a low
output, a low input results in a high output. The device acts as a voltage inverter.
Using positive logic the voltage representation and graphics symbol would be:

○ Gate Control Input | Output x | z


○ H | L 1 | 0
L | H 0 | 1
○ Circles are commonly used to represent an active low input. In the below diagram,
the circle on the Gate Control Input indicates that when the input voltage is low
the gate is closed and when high the gate is open. This notation is for an p-MOS
transistor. The notation for an n-MOS transistor has no circle as in the above
diagram.

○ 3.2.3 Other Logic - Other popular logic devices such as AND, OR, NAND,
NOR, etc. can be constructed. The following device must have both A and B
input high to connect the Output to Ground or low. If either A or B is low, then
Output is connected to Vdd or high voltage. Using positive logic it is a NAND
gate, negative logic it acts as a NOR.
AND OR NAND NOR
+ | - - | + + | + - | -
Voltage
A B | A B | A B | A B |
A B | Output
Output Output Output Output
L L | H
0 0 | 0 1 1 | 1 0 0 | 1 1 1 | 0
L H | H
0 1 | 0 1 0 | 1 0 1 | 1 1 0 | 0
H L | H
1 0 | 0 0 1 | 1 1 0 | 1 0 1 | 0
H H | L
1 1 | 1 0 0 | 0 1 1 | 0 0 0 | 1

○ The following device, when either A or B are high, Output is low. Using positive
logic it is a NOR gate, negative logic it acts as a NAND.
OR AND NOR NAND
+ | - - | + + | + - | -
Voltage
A B | A B | A B | A B |
A B | Output
Output Output Output Output
L L | H
0 0 | 0 1 1 | 1 0 0 | 1 1 1 | 0
L H | L
0 1 | 1 1 0 | 0 0 1 | 0 1 0 | 1
H L | L
1 0 | 1 0 1 | 0 1 0 | 0 0 1 | 1
H H | L
1 1 | 1 0 0 | 0 1 1 | 0 0 0 | 1
○ 3.2.4 Positive Logic AND and OR - Constructed by adding an inverter to a
positive logic NAND or NOR.
AND OR

○ 3.3 Propagation Delays, Transition Times, and Effect of Load


Propagation delay is the time between when the device input changes to when its
output changes. For a NOT gate, when the input is 1 the output is 0, if the input
changes to 0 the output changes to 1. However, the change is not instantaneous,
depending upon the technology used for the gate, it the gate responds at different
rates. The technology mostly used for this course has a propagation delay for a
NOT gate of 7.5 nanoseconds as illustrated in the following simulation diagram.
The input A changes and the output NOT A does not change for 7.5 ns.

○ In contrast to the
simulation showing
that input and output
voltages change
instantly from low to
high or high to low,
due to capacitance
(charging and
discharging of the
device), the inputs
and outputs require time to reach low or high voltage. The time to propagate a
high to low change is tpHL and the time to propagate a low to high change is tpLH.
The propagation time usually considered the interval from 50% of the input signal
change to 50% of the output signal change. The diagram of A input and NOT A
output at right illustrates this behavior. Because device charge and discharge
times may differ, tpHL and tpLH may differ, though generally the greater the
capacitance, the greater the propagation delay.
○ Unfortunately propagation delays are cumulative in a series of gates. If one NOT
gate delays the signal change by 7.5 ns., two NOT gates in series delay the signal
change by 15 ns., three by 22.5 ns., 4 by 30 ns., etc.

○ Input and Output Loading - An output must drive a voltage for every connected
input. For the same reason that one can connect only a limited number of
appliances to a wall plug before surprising things begin to happen, logic device
outputs can only provide power for a limited number of device inputs.
○ Fanout - The maximum number of inputs that a device can drive. TTL
(Transistor Transistor Logic) compatible device outputs generally can drive 10
TTL inputs, CMOS outputs can drive12 CMOS inputs. Individual device fanout is
stated in terms of standard loads, a TTL device with 2 standard loads could drive
20 inputs, a CMOS device with 3 standard loads could drive 36 CMOS inputs.
○ Fanin - The number of inputs to a device, a two-input AND gate has a fanin of
two. Usually, the larger the number of inputs, the larger the delay.
○ 3.4 - Voltage Variations and Noise Margin - Devices can operate reliably only
within fixed ranges of input voltages. For CMOS, a high is above 2.0 volts, a low
is below 0.8 volts. In between is forbidden for reliable operation so during voltage
transitions the output is unreliable.

The noise margin is the voltage difference between what the input will tolerate
and what the output produces. A device that requires a minimum high voltage for
input of 2.0 volts and outputs a high voltage of 3.0 volts has a noise margin of 1.0
volts for high.

○ 3.6 Buses and Three-state Drivers - For the devices seen so far, outputs cannot
be connected together. But for busing applications several devices must supply
input on a common wire (computer systems have many devices connected to the
CPU via a common bus). The devices, in addition to the two binary states where 0
or 1 is output, can be disconnected from the output. As long as only a single
device is connected to the common wire at a time, there is no conflict. These very
useful devices are known as three or tri-state devices since they have 0 or 1 state
when selected and disconnect state when not selected (disconnect is represented

by Z for high-impedence). The symbol for a tri-state driver is .


The truth table for a device that outputs its input (0 or 1) when enabled or
disconnects when not enabled is: below on the left, the device itself is on the
right.

Enabled Input | Output

0 0 | Z
0 1 | Z
1 0 | 0
1 1 | 1

○ Busing - An example of using tri-state devices to connect several outputs A0, A1,
and A2 to the common Output is given below. When Enable2 = 1, Enable0 = 0,
Enable1 = 0, Output is the value of A2 input.

You might also like