DLD Chapter 3 CS
DLD Chapter 3 CS
CHAPTER THREE
2 nd Year 1 st Sem.
2
NOT
• Changes one logic level to opposite logic level
AND
• Produces a HIGH output only when all inputs are HIGH,
otherwise the output is LOW.
OR
• Produces a HIGH output when one or more inputs are
HIGH.
• The output is LOW only when all inputs are LOW.
3
The logic operations can also be defined in the form of a
table, called a truth table.
Truth table for AND and OR operation:
4
A network of gates is often called a logic network or simply a logic
circuit.
Implements logic function (Eg: Comparison, Arithmetic, Code conversion, … )
Truth table
5
Timing diagram
An other logic circuit can have output that changes in
the same way. Such as the one shown below.
Functionally equivalent
6
3. Logic Gates and Logic Families
Discrete Realization of Logic Gates
Digital ICs are often categorized according to the complexity of their circuits,
as measured by the number of logic gates in a single package.
Small‐scale integration (SSI) devices contain several independent gates in a single
package. The number of gates is usually fewer than 10 and is limited by the number of
pins available in the IC.
Medium‐scale integration (MSI) devices have a complexity of approximately 10 to 1,000
gates in a single package. MSI digital functions are introduced in Chapters ahead as
decoders, adders, and multiplexers, registers and counters.
Large‐scale integration (LSI) devices contain thousands of gates in a single package.
They include digital systems such as processors, memory chips, and programmable logic.
Very large‐scale integration (VLSI) devices now contain millions of gates within a single
package. Examples are large memory arrays and complex microcomputer chips.
7
Contin….
Digital integrated circuits are classified not only by their
complexity or logical operation, but also by the specific
circuit technology to which they belong. The circuit
technology is referred to as a digital logic family.
Many different logic families of digital integrated circuits
have been introduced commercially. The following are the
most popular:
9
NMOS:
- Turned on when gate
terminal is High.
- The drain is pulled
down to ground.
PMOS:
- Turned on when the
gate terminal is Low.
- The drain is
pulled up to VDD
10
NMOS Logic Gates
The earlier schemes for building logic gates with MOSFETs.
NOT gate
When Vx = 0 V, the NMOS transistor is
turned off. No current flows through the
resistor R, and Vf = 5 V.
When Vx = 5 V, the transistor is turned on
and pulls Vxf to a low
f voltage level.
Truth table:0 1
1 0
11
NAND gate
12
NOR gate
Vf be pulled up to 5 V.
x1 x2 f
Truth table:0 0 1
0 1 0
1 0 0
1 1 0
13
AND gate OR gate
Truth table:
x1 x2 f
x1 x2 f
0 0 0
0 0 0
0 1 0 Truth table:0 1 1
1 0 0
1 0 1
1 1 1
14 1 1 1
CMOS Logic Gates
CMOS circuits are introduced later to PMOS and NMOS
circuits
CMOS: Complementary MOSFET.
- Combines NMOS and PMOS.
pull-up network (PUN) is
built using PMOS transistors
Pull-down network (PDN) is
build using NMOS.
Either the PDN pulls Vf down
to Gnd or the PUN pulls Vf up
to VDD.
15
The categories of CMOS in terms of the dc supply voltages are the 5V
CMOS, the 3.3V CMOS, the 2.5V CMOS, and the 1.8V CMOS.
The series within the CMOS family are designated by the prefix 74
(commercial grade) or 54 (military grade) followed by a letter or letters
that indicate the series and then a number that indicates the type of logic
device.
The basic CMOS series for the 5V category and their designations include
74HC and 74HCT – High-speed CMOS (the “T” indicates TTL compatibility)
74AC and 74ACT – Advanced CMOS
74AHC and 74AHCT – Advanced High-speed CMOS
The basic CMOS series for the 3.3V category and their designations
include
74LV – Low-voltage CMOS
74LVC – Low-voltage CMOS
74ALVC – Advanced low-voltage CMOS
16
Input and output logic level (5V CMOS)
17
NOT gate
When Vx = 0 V, transistor T2 is off and
18
NAND gate
19
NOR gate
20
AND gate
- Built by connecting a NAND OR gate
gate to - Constructed with a NOR gate
an inverter. followed by a NOT gate.
21
Thank You !
22/5/2023 15