EECC341 - Shaaban #1 Lec # 1 Winter 2001 12-4-2001 Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

Computer Science 210 Computer Organization Introduction to Logic Circuits.
Sistemas Digitais I LESI - 2º ano Lesson 1 - Introduction U NIVERSIDADE DO M INHO E SCOLA DE E NGENHARIA Prof. João Miguel Fernandes
Introduction Digital Electronics Logic Gates De Morgan’s Theorem
Introduction to Digital Electronics. Suplementary Reading Digital Design by - John F. Wakerly – - you will find some solutions at this site.
Introduction to Digital Systems By Dr. John Abraham UT-Panam.
Boolean Algebra and Logic Gate
Computer Organization Boolean Logic and the CPU i206 Fall 2010 John Chuang Some slides adapted from Marti Hearst, Brian Hayes, or Glenn Brookshear.
Transistor-Transistor Logic (TTL) Lecture L4.1. Transistor-Transistor Logic (TTL) Developed in mid-1960s Large family (74xx) of chips from basic gates.
Chapter 4 Gates and Circuits.
Henry Hexmoor 1 Computer Logic and Digital Design Chapter 1 Henry Hexmoor An Overview of Computer Organization Switches and Transistors Boolean Algebra.
1 Homework Reading –Tokheim, Chapter 3, 4, and –Logg-o on Analytical Engine Website Machine Projects –Continue on mp3 Labs –Continue in labs.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
EEM232 Digital Systems I. Course Information Instructor : Atakan Doğan Office hours: TBD Materials :
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Digital Design.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Introduction to Digital Electronics:
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
DIGITAL COMPONENTS By Sohaib.
Introduction Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Chapter 4 Gates and Circuits.
by Prof. Dr. Ali S. Hennache
Morgan Kaufmann Publishers
Introduction to Digital Design
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
Boolean Algebra and Logic Gates CE 40 B 18 June 2003.
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
Assembly Language for x86 Processors 7th Edition
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Elementary Digital Logic Apps O/S Arch  Arch Logic Digital Analog.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
CPS120: Introduction to Computer Science
Chapter 1: Introduction Digital Logics and Circuits
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
4. Electrons and electronics 4.5 Digital electronics.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
CSCI-100 Introduction to Computing Hardware Design Part I.
ECE 2110: Introduction to Digital Systems Introduction (Contd.)
Unit 1 Minimization Techniques and Logic Gates. Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Computer logic Data and programs in digital computers are represented and processed by electronic circuit networks called digital logic circuits or logic.
1 Logic Gates and Circuits  Logic Gates Logic Gates  The Inverter The Inverter  The AND Gate The AND Gate  The OR Gate The OR Gate  The NAND Gate.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Computer Organization IS F242. Course Objective It aims at understanding and appreciating the computing system’s functional components, their characteristics,
ECE 2110: Introduction to Digital Systems Introduction (Contd.)
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Logic Gates Unit 16.
Logic gates.
Homework Reading Machine Projects Labs
CS2100 Computer Organisation
Dr.Ahmed Bayoumi Dr.Shady Elmashad
CS2100 Computer Organisation
ECE 331 – Digital System Design
Introduction to Logic Gates
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
NAND-ONLY LOGIC CIRCUITS
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Computer Science 210 Computer Organization
Fundamentals of Computer Science Part i2
Logic Gates.
1.Introduction to Advanced Digital Design (14 marks)
Presentation transcript:

EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take on any value across a continuous range. Digital systems use digital circuits that process digital signals which can take on one of two values, we call: 0 and 1 (digits of the binary number system) or LOW and HIGH or FALSE and TRUE Digital computers represent the most common digital systems. Once-analog Systems that use digital systems today: –Audio recording (CDs, DAT, mp3) – Phone system switching –Automobile engine control –Movie effects –Still and video cameras…. High Low Digital circuit inputsoutputs :: Analog Signal Digital Signal

EECC341 - Shaaban #2 Lec # 1 Winter Advantages of Digital Systems Over Analog Systems Reproducibility of the results and accuracy. More reliable than analog systems due to better immunity to noise. Ease of design: No special math skills needed to visualize the behavior of small digital (logic) circuits. Flexibility and functionality. Programmability. Speed: A digital logic element can produce an output in less than 10 nanoseconds (10 -8 seconds). Economy: Due to the integration of millions of digital logic elements on a single miniature chip forming low cost integrated circuit (ICs).

EECC341 - Shaaban #3 Lec # 1 Winter Boolean Algebra Boolean Algebra named after George Boole who used it to study human logical reasoning – calculus of proposition. Elements : true or false ( 0, 1) Operations: a OR b; a AND b, NOT a e.g. 0 OR 1 = 1 0 OR 0 = 0 1 AND 1 = 1 1 AND 0 = 0 NOT 0 = 1 NOT 1 = 0 What is an Algebra? (e.g. algebra of integers) set of elements (e.g. 0,1,2,..) set of operations (e.g. +, -, *,..) postulates/axioms (e.g. 0+x=x,..)

EECC341 - Shaaban #4 Lec # 1 Winter Boolean Algebra Set of Elements: {0,1} Set of Operations: {., +, ¬ } Signals: High = 5V = 1; Low = 0V = 0 xyxy x.y xyxy x+y x x' Sometimes denoted by ’, for example a’ AND OR NOT

EECC341 - Shaaban #5 Lec # 1 Winter Digital (logic) Elements: Gates Digital devices or gates have one or more inputs and produce an output that is a function of the current input value(s). All inputs and outputs are binary and can only take the values 0 or 1 A gate is called a combinational circuit because the output only depends on the current input combination. Digital circuits are created by using a number of connected gates such as the output of a gate is connected to to the input of one or more gates in such a way to achieve specific outputs for input values. Digital or logic design is concerned with the design of such circuits.

EECC341 - Shaaban #6 Lec # 1 Winter Logic Gates EXCLUSIVE OR abab a.b abab a+b aa' abab (a+b)' abab (a.b)' abab a  b abab a.b & abab a+b 11 AND aa' 1 abab (a.b)' & abab (a+b)' 11 abab a  b =1 OR NOT NAND NOR Symbol set 1 Symbol set 2 (ANSI/IEEE Standard )

EECC341 - Shaaban #7 Lec # 1 Winter Truth Tables Provides a listing of every possible combination of values of binary inputs to a digital circuit and the corresponding outputs. Example (2 inputs, 2 outputs): Digital circuit inputs outputs x y inputs outputs x + y x. y Truth table

EECC341 - Shaaban #8 Lec # 1 Winter Realizing Logic in Hardware Boolean Algebra and truth tables are essential important tools to express logical relationships. To use these tools in the real world, we must have some physical way to represent TRUE and FALSE (T and F). In, digital electronic circuits, T and F are represented by voltage levels: –The transistor-transistor logic (TTL) 74LS family of digital integrated circuits produces two voltage levels: <.5V which represents low voltage L (0) and, > 2.7V which represents high voltage H (1) for the digital device.

EECC341 - Shaaban #9 Lec # 1 Winter Logic Gates: The Inverter The Inverter AA'A Ground Vcc Top View of a TTL 74LS family 74LS04 Hex Inverter IC Package Truth table

EECC341 - Shaaban #10 Lec # 1 Winter Logic Gates: The AND Gate ABAB A.B Truth table Ground Vcc Top View of a TTL 74LS family 74LS08 Quad 2-input AND Gate IC Package The AND Gate

EECC341 - Shaaban #11 Lec # 1 Winter Circuit to determine AND Gate Truth Table (From Lab 1)

EECC341 - Shaaban #12 Lec # 1 Winter Logic Gates: The OR Gate ABAB A+B The OR Gate Truth table Top View of a TTL 74LS family 74LS08 Quad 2-input OR Gate IC Package

EECC341 - Shaaban #13 Lec # 1 Winter Logic Gates: The NAND Gate The NAND Gate ABAB (A.B)' ABAB  Truth table Top View of a TTL 74LS family 74LS00 Quad 2-input NAND Gate IC Package NAND gate is self-sufficient (can build any logic circuit with it). Can be used to implement AND/OR/NOT. Implementing an inverter using NAND gate: xx'

EECC341 - Shaaban #14 Lec # 1 Winter Logic Gates: The NOR Gate The NOR Gate  ABAB (A+B)' ABAB Truth table Top View of a TTL 74LS family 74LS02 Quad 2-input NOR Gate IC Package NOR gate is also self-sufficient (can build any logic circuit with it). Can be used to implement AND/OR/NOT. Implementing an inverter using NOR gate: xx'

EECC341 - Shaaban #15 Lec # 1 Winter Logic Gates: The XOR Gate Ground Vcc The XOR Gate ABAB A  B Truth table Top View of a TTL 74LS family 74LS86 Quad 2-input XOR Gate IC Package

EECC341 - Shaaban #16 Lec # 1 Winter Drawing Logic Circuits When a Boolean expression is provided, we can easily draw the logic circuit. Examples: F1 = xyz' (note the use of a 3-input AND gate) x y z F1 z'

EECC341 - Shaaban #17 Lec # 1 Winter Analysing Logic Circuits When a logic circuit is provided, we can analyse the circuit to obtain the logic expression. Example: What is the Boolean expression of F4? A'B' A'B'+C(A'B'+C)' A' B' C F4 F4 = (A'B'+C)'

EECC341 - Shaaban #18 Lec # 1 Winter Analysing Logic Circuit Example: What is Boolean expression of F5? z F5 x y F5 =

EECC341 - Shaaban #19 Lec # 1 Winter Simple Circuit Design: Two-input Multiplexer Multiplexer with two input bits, A, B and a control input bit S and output Z. Depending on the value of S, the circuit is to transfer either the the value of A or B to the output Z A B Z S S A B Z Truth table from circuit description Using logic design methods (to be studied later) we get the optimal logic function for Z Z = S’. A + S. B B Z A S S’. A S. B S’. A + S. B

EECC341 - Shaaban #20 Lec # 1 Winter Integrated Circuits An Integrated circuit (IC) is a number of logic gated fabricated on a single silicon chip. ICs can be classified according to how many gates they contain as follows: –Small-Scale Integration (SSI): Contain 1 to 20 gates. –Medium-Scale Integration (MSI): Contain 20 to 200 gates. Examples: Registers, decoders, counters. –Large-Scale Integration (LSI): Contain 200 to 200,000 gates. Include small memories, some microprocessors, programmable logic devices. –Very Large-Scale Integration (VLSI): Usually stated in terms of number of transistors contained usually over 1,000,000. Includes most microprocessors and memories.

EECC341 - Shaaban #21 Lec # 1 Winter Computer Hardware Generations The First Generation, : Vacuum Tubes, Relays, Mercury Delay Lines: –ENIAC (Electronic Numerical Integrator and Computer): First electronic computer, vacuum tubes, 1500 relays, 5000 additions/sec. –First stored program computer: EDSAC (Electronic Delay Storage Automatic Calculator). The Second Generation, : Discrete Transistors. (e.g IBM 7000 series, DEC PDP-1) The Third Generation, : Small and Medium-Scale Integrated (SSI, MSI) Circuits. (e.g. IBM 360 mainframe) The Fourth Generation, 1975-Present: The Microcomputer. VLSI-based Microprocessors.

EECC341 - Shaaban #22 Lec # 1 Winter Hierarchy of Computer Architecture I/O systemInstr. Set Proc. Compiler Operating System Application Digital Design Circuit Design Instruction Set Architecture Firmware Datapath & Control Layout Software Hardware Software/Hardware Boundary High-Level Language Programs Assembly Language Programs Microprogram Register Transfer Notation (RTN) Logic Diagrams Circuit Diagrams Machine Language Program

EECC341 - Shaaban #23 Lec # 1 Winter A Hierarchy of Computer Design Level Name Modules Primitives Descriptive Media 1 Electronics Gates, FF’s Transistors, Resistors, etc. Circuit Diagrams 2 Logic Registers, ALU’s... Gates, FF’s …. Logic Diagrams 3 Organization Processors, Memories Registers, ALU’s … Register Transfer Notation (RTN) 4 Microprogramming Assembly Language Microinstructions Microprogram 5 Assembly language OS Routines Assembly language Assembly Language programming Instructions Programs 6 Procedural Applications OS Routines High-level Language Programming Drivers.. High-level Languages Programs 7 Application Systems Procedural Constructs Problem-Oriented Programs Low Level - Hardware Firmware High Level - Software