0% found this document useful (0 votes)
48 views27 pages

Algebra Report (Logic Gates)

The document discusses basic concepts of digital logic design including logic gates, combinational and sequential logic circuits. It provides examples of logic gates like AND, OR, NOT, NAND and NOR gates. The document also gives examples of combinational logic circuits like multiplexers and sequential logic circuits like SR latches.

Uploaded by

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

Algebra Report (Logic Gates)

The document discusses basic concepts of digital logic design including logic gates, combinational and sequential logic circuits. It provides examples of logic gates like AND, OR, NOT, NAND and NOR gates. The document also gives examples of combinational logic circuits like multiplexers and sequential logic circuits like SR latches.

Uploaded by

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

BENHA UNIVERSITY

FACULTY OF ENGINEERING

Digital Logic Design


BY : Adham Ashraf Salah Waheed
Section: 4
Under the supervision of Dr: 1
Tamer Rageh, Mourad Semary
Agenda

Basic Concepts

Logic Gates

Examples of Logic Circuits


2
Digital logic is the foundation for digital computers!

BASIC CONCEPTS
Digital Electronics
• Digital electronic circuits, are electronics that represent signals by
discrete bands of analog levels, rather than by continuous ranges (as
used in analogue electronics).

• In most cases the number of states is two.


• They are represented by two voltage bands: one near a reference
value (typically termed as "ground" or zero volts), and the other a
value near the supply voltage.
• These correspond to the "false" ("0") and "true" ("1") values of the
Boolean domain, respectively, yielding binary code.

4
Digital Electronics..
Advantages:
• Digital techniques are useful because it is easier to get an electronic
device to switch into one of a number of known states than to
accurately reproduce a continuous range of values.
• Signals represented digitally can be transmitted without degradation
due to noise.
• Computer-controlled digital systems can be controlled by software,
allowing new functions to be added without changing hardware.

Disadvantage:
• In some cases, digital circuits use more energy than analog circuits to
accomplish the same tasks, thus producing more heat which
increases the complexity of the circuits such as the inclusion of heat 5
sinks.
Digital Electronics…
• A digital circuit is often constructed from small electronic
circuits called logic gates that can be used to create
combinational logic.
• Each logic gate represents a function of boolean logic.
• A logic gate is an arrangement of electrically controlled
switches, better known as transistors.
• Logic gates often use the fewest number of transistors in
order to reduce their size, power consumption and cost, and
increase their reliability.
• Integrated circuits are the least expensive way to make logic
gates in large volumes. Integrated circuits are usually designed
by engineers using electronic design automation software 6
Classification of Integrated Circuits
• Small Scale Integration or (SSI) – Contain up to 10 transistors or a few
gates within a single package such as AND, OR, NOT gates.
• Medium Scale Integration or (MSI) – between 10 and 100 transistors or
tens of gates within a single package and perform digital operations
such as adders, decoders, counters, flip-flops and multiplexers.
• Large Scale Integration or (LSI) – between 100 and 1,000 transistors or
hundreds of gates and perform specific digital operations such as I/O
chips, memory, arithmetic and logic units.
• Very-Large Scale Integration or (VLSI) – between 1,000 and 10,000
transistors or thousands of gates and perform computational operations
such as processors, large memory arrays and programmable logic
devices.
• Super-Large Scale Integration or (SLSI) – between 10,000 and 100,000
transistors within a single package and perform computational
operations such as microprocessor chips, micro-controllers, basic PICs
and calculators.
• Ultra-Large Scale Integration or (ULSI) – more than 1 million transistors – 7
the big boys that are used in computers CPUs, GPUs, video processors,
micro-controllers, FPGAs and complex PICs.
LOGIC GATES
8
BASIC LOGIC BLOCK (GATE)
Binary Binary
Digital Gate Digital
Input .. Output
.
Signal Signal

• Types of Basic Logic Blocks


- Combinational Logic Block
Logic Blocks whose output logic value depends only on the input logic values
- Sequential Logic Block
Logic Blocks whose output logic value depends on the input values and the
state (stored information) of the blocks

• Functions of Gates can be described by


- Truth Table
- Boolean Function
9
- Karnaugh Map
NOT Gate -- Inverter
If A is NOT true, then Q is true

• The Logic NOT Gate Truth Table

10
NOT Gate – Inverter..
• Transistor NOT Gate
• 7404 NOT Gate or Inverter

11
OR Gate
If either A or B is true, then Q is true

• 2-input Transistor OR Gate • The 2-input Logic OR Gate

12
OR Gate

• The 3-input Logic OR Gate

• Multi-input OR Gate

13
AND Gate
If both A and B are true,
then Q is true
14
AND Gate

• 2-input Transistor AND Gate • Multi-input AND Gate

15
OR/AND Gates using
diodes
74xx IC
• 7432 Quad 2-input Logic OR Gate • 7408 Quad 2-input AND Gate

17
NOR Gate
7402 Quad 2-input NOR Gate
18
NAND Gate
7400 Quad 2-input Logic NAND Gate
NOR & NAND Universal Gate
• Any gate can be constructed using them.

20
XOR and XNOR
Gates
21
Truth Table Summary
EXAMPLES OF LOGIC CIRCUITS
22
Example of a Logic Function
3- input majority function • Logical expression form
A B C F F=AB+BC+AC
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1 24
Multiplexers
• An Example of Combinational Circuit
• Output depends only on the current inputs
4- data input MUX
• Multiplexer
• 2n data inputs
• n selection inputs
• a single output

• Selection input
determines the input
that should be
connected to the output

25
SR Latch
• A Sequential example
• Output depends on current as well as past inputs

26
• For more details, refer to:
• Digital Logic Tutorial, found online at
http://www.electronics-tutorials.ws/logic/logic_1.html
• Other Digital Logic online Tutorials & wiki.
• Reference books:
• M. Mano, Digital-Design, 4th ed.
• Fundamentals of Computer Organization and Design.
• For inquires, send to:
[email protected]
27

You might also like