Docsity

Basic Digital Logic: Understanding Combinational Logic, NAND and NOR Gates, and Chips, Study notes of Digital & Analog Electronics

Partial preview of the text

Download Basic Digital Logic: Understanding Combinational Logic, NAND and NOR Gates, and Chips and more Study notes Digital & Analog Electronics in PDF only on Docsity!

Basic Digital Logic 2

Combinational Logic

Basic Digital Logic 2

Review

Review

โ—Š (^) There are 3 basic digital gates:

โ—Š (^) AND

โ—Š (^) OR

โ—Š (^) NOT

Review

AND, where ALL inputs must be โ€œ1โ€ for the output to be โ€œ1โ€ OR, where ANY of the inputs can be โ€œ1โ€ for the output to be โ€œ1โ€ NOT (or the Inverter) where the output is the opposite (compliment) of the input.

Basic Digital Logic 2

Basic Combinational Logic, NAND

and NOR gates

Combinational Logic

โ—Š (^) A circuit that utilizes more that 1 logic function has Combinational Logic.

โ—Š (^) As an example, if a circuit has an AND gate connected to an Inverter gate, this circuit has combinational logic.

NAND Gate

โ—Š (^) The NAND gate is the combination of an NOT gate with an AND gate.

The Bubble in front of the gate is an inverter.

Combinational logic

โ—Š (^) How would your describe the output of this combinational logic circuit?

NAND and NOR gates

โ—Š (^) The NAND and NOR gates are very popular as they can be connected in more ways that the simple AND and OR gates.

Exercise 1 โ€“ a bit challenging

Complete the Truth Table for the NAND and NOR Gates

Input Output 0 0 0 1 1 0 1 1

Input Output 0 0 0 1 1 0 1 1

NAND NOR

Hint: Think of the AND and OR truth tables. The outputs for the NAND and NOR are inverted.

Basic Digital Logic 2

Chips and Gates

Basic Digital Chips

โ—Š (^) Digital Electronics devices are usually in a chip format. โ—Š (^) The chip is identified with a part number or a model number. โ—Š (^) A standard series starts with numbers 74, 4, or 14. โ—Š (^) 7404 is an inverter โ—Š (^) 7408 is an AND โ—Š (^) 7432 is an OR โ—Š (^) 4011B is a NAND

Chips

โ—Š (^) Chips require a voltage to function

โ—Š (^) Vcc is equal to 5 volts and is typically pin 14

โ—Š (^) Ground is typically pin 7 Pin 1 Pin 7

Pin 14 (^) Pin 8

Chips โ€“ Specification Sheet

Diagram from http://www.onsemi.com

Voltage

Ground

The voltage and ground pins must be connected for the device to function. Check the specification sheet to make sure.