1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.

Slides:



Advertisements
Similar presentations
Combinational Circuits
Advertisements

Functions and Functional Blocks
التصميم المنطقي Second Course
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Chapter 4 Gates and Circuits.
Informationsteknologi Friday, October 19, 2007Computer Architecture I - Class 81 Today’s class Digital Logic.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Any logic circuits can be transformed to an implementation where only NAND gates (and inverters) are used. The general approach to finding a NAND-gate.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
A presentation on Counters
Logic Gates Combinational Circuits
ETE Digital Electronics
Chapter 3: Boolean Algebra
ENGSCI 232 Computer Systems Lecture 5: Synchronous Circuits.
Chapter 4 Gates and Circuits.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Boolean Algebra and Digital Logic Chapter 3. Chapter 3 Objectives  Understand the relationship between Boolean logic and digital computer circuits. 
Boolean Algebra and Digital Logic
Boolean Algebra and Digital Logic Nizamettin AYDIN
ECE 101 An Introduction to Information Technology Digital Logic.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Dept. of Computer Science Engineering Islamic Azad University of Mashhad 1 DIGITAL LOGIC CIRCUITS Dept. of Computer Science Engineering Islamic Azad University.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Rabie A. Ramadan Lecture 3
CPS120: Introduction to Computer Science
School of Computer Science G51CSA 1 Computer Systems Architecture Fundamentals Of Digital Logic.
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /10/2013 Lecture 5: Combinational Logic Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE.
1 © 2015 B. Wilkinson Modification date: January 1, 2015 Designing combinational circuits Logic circuits whose outputs are dependent upon the values placed.
1 Lecture #7 EGR 277 – Digital Logic Reading Assignment: Chapter 4 in Digital Design, 3 rd Edition by Mano Chapter 4 – Combinational Logic Circuits A)
4. Electrons and electronics 4.5 Digital electronics.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
מבנה מחשב תרגול 2. 2 Boolean AND Operation Truth Table Equivalent Gate Different notations:
Abdullah Said Alkalbani University of Buraimi
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Arithmetic Circuits. Half Adder ABSumCarry
Computer logic Data and programs in digital computers are represented and processed by electronic circuit networks called digital logic circuits or logic.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Logic Design / Processor and Control Units Tony Diep.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Lecture 3 Boolean Algebra and Digital Logic Lecture Duration: 2 Hours.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
COMBINATIONAL AND SEQUENTIAL CIRCUITS Guided By: Prof. P. B. Swadas Prepared By: BIRLA VISHVAKARMA MAHAVDYALAYA.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Digital Signals Digital Signals have two basic states:
Flip Flop.
Lecture 3 Boolean Algebra and Digital Logic Lecture Duration: 2 Hours
Digital Design Fundamentals
NAND-ONLY LOGIC CIRCUITS
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Digital Logic.
Logic Gates.
DIGITAL ELECTRONICS B.SC FY
Chapter 2 Gates.
FLIP-FLOPS.
Digital Circuits and Logic
Unit IV Adders Subtractors Flip Flops Counters Multiplexes and De multiplexes. Integrated circuits-Op. amp – Characteristics Inverting amplifier - Non-inverting.
Presentation transcript:

1 DIGITAL ELECTRONICS

2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary numbers. –referred to as digital electronic circuits or logic circuits –Digital implies that the circuits are operating on numbers or digits, and "logic" implies that the circuits carry out logical or boolean operations.

3 OVERVIEW –information processed by digital electronic circuits is in the form of electrical, binary signals. –Signals are voltage levels, there are two possible values that they may have. –Most common systems use voltages of less than 1 volt to represent a 0 (False, Off), and voltages in the range of 3.5 to 5 volts to represent a 1 (True, On).

4 OVERVIEW integrated circuits - chips a number of circuits all on one device –small-scale integrated circuits (SSI), less than 100 components –medium-scale (MSI), up to a thousand components –large-scale (LSI), up to a hundred thousand components –very-large scale (VLSI), up to a million components –super-large scale (SLSI), more than a million components

5 LOGIC GATE OPERATION – Digital circuits that are used to carry out Boolean logic operations are referred to as gates. –They perform a set of three basic operations from which all the other circuits can be developed. –Gates are manufactured as chips with a number of gates of a particular type on a chip.

6 AND Gate –The AND gate is a gate whose output is a 1 only if all of it's inputs are 1's. In the case of a 2-input gate as illustrated, the output C is a 1 only if both A and B are 1's. –This is stated arithmetically as: C = A · B

7 Two Input AND Gate

8 –The truth table for the gate is:

9 THE OR GATE –The OR gate is a gate whose output is a one if any of it's inputs are one. In the case of a 2- input gate as illustrated, the output C will be a 1 if either A or B or both A and B are 1's. This is stated arithmetically as: C = A + B

10 OR Gate

11 –The truth table for the OR gate is:

12 THE INVERTER (NOT GATE) –The Inverter is a single input gate whose output is the inverse or opposite of it's input. arithmetically this is stated as: B = A

13 NOT Gate

14 –The truth table of the inverter is:

15 THE EXCLUSIVE OR GATE –The Exclusive OR gate is a gate whose output is a 1 if either of it's inputs is a one, but not if both of them are ones. Arithmetically this is stated as: C = A  B

16

17 –The truth table for the Exclusive OR gate:

18 NEGATIVE OUTPUT GATES There are two other major gates that are effectively created by adding an inverter to the outputs of the AND and OR gates.

19 THE NAND GATE –The NAND gate is a gate whose output is a 0 only if all of it's inputs are 1's. Arithmetically this is stated as: C = A · B

20 The NAND Gate

21 –The truth table for the NAND gate:

22 THE NOR GATE –The NOR gate is a gate whose output is a 0 if any of it's inputs are 1's. Arithmetically this is stated as: C = A + B

23 NOR Gate

24 –The truth table of the NOR gate:

25 DEMORGAN'S THEOREMS –Demorgan's theorems are very useful to us as we analyze and describe logic circuits. They simplify expressions in which the product or sum of variables is complemented.

26 DEMORGAN'S THEOREMS A. B = A + B

27 DEMORGAN'S THEOREMS A + B = A · B

28 Digital Adders Adders are a major function of a computer. –Found in the Central Processor Unit in the Arithmetic Logic area.

29 Half-Adder

30 Full Adder

31 Decoding Circuits Have to be able to decode particular combinations of signals. –Used to transfer data from or to memory or peripherals. –Need to decode the address lines to determine where the data is to go. –Take a number of input signals and provide enough outputs to indicate what the input was.

32 Decoding Circuits If the input is two binary signals, there would have to be four outputs. One output for each input combination.

33 Two Bit Decoder D1 D

34 Data Selector (Multiplexer) Combination of decoder and bus enable logic Used when a number of different signals have to be gated to a bus.

35 Data Selector

36 Data Selector

37 Data Selector Above circuit would have to be repeated 32 times for a 32-bit bus is example of choosing only one of two lines to be transferred with the circuit being duplicated four times on the same chip.

38 FLIP-FLOPS Basic logic circuit used to store binary information. Forms basis of circuits used to create timing and counting signals. Foundation for memory and a major component in processor registers.

39 FLIP-FLOPS F/F remember a binary value. Said to be “Set” when a 1 has been stored. Said to be “Cleared” when a 0 has been stored. Most often a signal, usually the computer clock signal, is used to tell F/F to store a value. Output from circuit is Q, sometimes its compliment is also present.

40 Clocked S-R Flip-Flop

41 D-TYPE FLIP-FLOP Simplified input. Does not allow F/F to be set and cleared at the same time. Needs a clock signal to be set or cleared.

42 D-TYPE FLIP-FLOP

43 D-TYPE FLIP-FLP PRE and CLR are used to set and clear the F/F without a clock signal. A ‘0’ on PRE would set F/F A ‘0’ on CLR would clear F/F

44 D-TYPE FLIP-FLOP

45 J-K FLIP-FLOP

46 J-K FLIP-FLOP Differs from D and S-R F/F in following ways: –Changes state on falling edge of clock signal. –Toggles when J and K are high. –J corresponds to S, K corresponds to R.

47 REGISTERS Used to store binary data. Similar to a memory location but normally in the processor. Consists of a number of F/F whose inputs represent the digits of a binary number. Data is loaded into all F/F of register simultaneously by a clock input.

48 REGISTERS

49 COUNTERS Used to count clock pulses at the clock inputs. How high the counter counts depends on the number of F/F in counter.

50 TWO-BIT COUNTER

51 TWO-BIT COUNTER