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

DLD Chapter 3 CS

Uploaded by

horeekoo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

DLD Chapter 3 CS

Uploaded by

horeekoo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 22

Slide 1

COLLEGE OF ENGINEERING AND TECHNOLOGY


DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING

Digital Logic Design

CHAPTER THREE

Introduction to Logic Circuits

2 nd Year 1 st Sem.

1 Prepared By: Mr. Simagn B. By Instructor:-11/16/2024


Simagn B.
Introduction to Logic Circuits
1. Basic Logic Functions
 Logic gate: Circuit that performs a specified logic
operation.
 Logic gate- A type of gate that allows a signal to pass
through when certain logical conditions are met.
 NOT, AND, and OR are basic logic operations.

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:

 Analysis: The process of determining the function


performed by an existing logic network.
 Synthesis: Designing a new network that implements
a desired functional behavior.

4
 A network of gates is often called a logic network or simply a logic
circuit.
 Implements logic function (Eg: Comparison, Arithmetic, Code conversion, … )

 The following network shows implementation of a logic function by a


network of gates.

Network that implements

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:

• TTL transistor–transistor logic;


• ECL emitter‐coupled logic;
• MOS metal‐oxide semiconductor;
• CMOS complementary metal‐oxide
8 semiconductor.
 Transistor Switches
 MOSFET (metal oxide semiconductor field-effect
transistor) is used for implementing a simple switch.
• Two different types of MOSFETs
- NMOS: n-channel MOSFET
- PMOS: p-channel MOSFET

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

 If Vx1= Vx2= 5 V, both transistors will

be on and Vf will be close to 0 V.


 But if either Vx1 or Vx2 is 0, then no

current will flow through the series-


connected transistors and Vf will be
x x f
pulled up to1
5 V.2
0 0 1
Truth table:
0 1 1
1 0 1
1 1 0

12
NOR gate

 If either Vx1= 5 V or Vx2= 5 V,

then Vf will be close to 0 V.


 Only if both Vx1 and Vx2 are 0 will

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

transistor T1 is on. This makes Vf = 5 V, and


since T2 is off, no current flows through the
transistors.
 When Vx = 5 V, T2 is on and T1 is off. Thus

Vf = 0 V, and no current flows because T1


x T1 T2 f
is off.
0 On Off 1
1 Truth
Off table:
On 0

18
NAND gate

 Under static conditions no path


exists for current flow from VDD to
Gnd.
Truth table and transistor
x1 x2 T1 T2 T3 T4 f
states:
0 0 on on off off 1
0 1 on off off on 1
1 0 off on on off 1
1 1 off off on on 0

19
NOR gate

 The circuit for the NOR gate is


derived from the logic expression
that defines the NOR operation
Truth table and transistor state:
x1 x2 T1 T2 T3 T4 f
0 0 on on off off 1
0 1 on off off on 0
1 0 off on on off 0
1 1 off off on on 0

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

You might also like