Digital logic COMP214  Lecture 1 Dr. Sarah M.Eljack Chapter 1 1.

Slides:



Advertisements
Similar presentations
Data Representation COE 202 Digital Logic Design Dr. Aiman El-Maleh
Advertisements

Binary Systems1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
A digital system is a system that manipulates discrete elements of information represented internally in binary form. Digital computers –general purposes.
Data Storage – Part 1 CS 1 Introduction to Computers and Computer Technology Rick Graziani Fall 2013.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, Java Version, Third Edition.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition.
Data Representation Computer Organization &
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third & Fourth Edition Spring 2008:
Data Representation COE 205
Overview Digital Systems, Computers, and Beyond
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition.
Chapter 1 Data Storage. 2 Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns.
SYEN 3330 Digital Systems Jung H. Kim Chapter 1 1 SYEN 3330 Digital Systems Chapter 1.
Overview Digital Systems, Computers, and Beyond
Overview Digital Systems, Computers, and Beyond
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
A digital system is a system that manipulates discrete elements of information represented internally in binary form. Digital computers –general purposes.
Digital Computers and Information
Information Representation and Number Systems BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Mantıksal Tasarım – BBM231 M. Önder Efe
CPS-304 DIGITAL LOGIC & DESIGN Instructor : Ms. Saba Iqbal.
Introduction to Digital Logic Design
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Digital Logic Dr. Walid Abu-Sufah Read Chapter 1: Sections 1-7 Based on notes by A. Lastra and slides provided by the text publisher.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 1 – Digital Systems and Information Logic.
Computers Organization & Assembly Language
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 1 – Number Systems and.
Logic and Digital System Design - CS 303
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
مدار منطقي مظفر بگ محمدي Course Structure & Grading Homework: 25% Midterm: 30% Final:50% There is 5% extra! ( =105!) Textbook:
CE1111 :Digital Logic Design lecture 01 Introduction Dr. Atef Ali Ibrahim.
ENG241 Digital Design Week #1 Digital Computers and Information.
Dr. Ahmed Telba EE208: Logic Design Lecture# 1 Introduction & Number Systems.
1 Dr. Mohamed Abdur Rahman Office hours Sunday: 10:00- 12:00 & Tuesday: 3:00 - 3:50 Course website: Has been created
1.8 Binary Storage and Registers
ACOE161 – Digital Logic for Computers
Digital Systems and Binary Numbers
Digital Circuits Text Book –M. M. Mano, "Digital Design," 3rd Ed., Prentice Hall Inc., Reference –class notes Grade –quizzes:15% –mid-term:27.5%
June 10, 2002© Howard Huang1 Number systems To get started, we’ll discuss one of the fundamental concepts underlying digital computer design:
Chapter 1 Digital Systems and Binary Numbers
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 1 Tom Kaminski & Charles R.
Chapter 1: Binary Systems
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 1 – Digital Systems and Information Logic.
Overview 1-1 Information Representation
CSC 331: DIGITAL LOGIC DESIGN COURSE LECTURER: E. Y. BAAGYERE. CONTACT: LECTURE TIME: 15:40 – 17:45 hrs. VENUE: SP-LAB.
BINARY SYSTEMS ENGR. KASHIF SHAHZAD 1. BINARY NUMBERS 1/2 Internally, information in digital systems is of binary form groups of bits (i.e. binary numbers)
Digital Logic Design Ch1-1 Chapter 1 Digital Systems and Binary Numbers Mustafa Kemal Uyguroğlu Digital Logic Design I.
Chapter 1 – Digital Systems and Information Logic and Computer Design Fundamentals.
1 Chap. 1 Computers and Information ECE2030 Dr. John A. Copeland “Logic and Computer Design Fundamentals” 2nd Edition M. Morris Mano & Charles R. Kime.
Logic and Computer Design Fundamentals
Logic and Computer Design Fundamentals
Chapter 1 Digital Systems and Binary Numbers
Invitation to Computer Science, C++ Version, Fourth Edition
ENG2410 Digital Design “Introduction to Digital Systems”
Lec 3: Data Representation
Digital Systems and Binary Numbers
Digital Systems and Binary Numbers
Chapter 1 Digital Systems and Binary Numbers
University of Gujrat Department of Computer Science
Invitation to Computer Science, Java Version, Third Edition
SYEN 3330 Digital Systems Chapter 1 SYEN 3330 Digital Systems.
INTRODUCTION TO LOGIC DESIGN Chapter 1 Digital Systems and Binary Numbers gürtaçyemişçioğlu.
Chapter 1 Data Storage.
Some Information Instructor Details Main Book. Some Information Instructor Details Main Book.
Overview Digital Systems and Computer Systems
The Building Blocks: Binary Numbers, Boolean Logic, and Gates
Number Systems Lecture 2.
Digital Systems and Binary Numbers
Data Representation and Organization
Presentation transcript:

Digital logic COMP214  Lecture 1 Dr. Sarah M.Eljack Chapter 1 1

مقرر المنطق الرقمي 1. Concepts and basic components of computer hardware and software.  2. Systems numbers  3. binary Systems  4. Boolean algebra  5. Logical expressions  6. Logic gates  7. Digital circuit design Structural  8. Sequential digital circuits Chapter 1 2

References المراجع:  1. Digital Design, Mano, M. Morris, 3 rd edition, ISBN , Prentice- Hall,  2. Fundamentals of logic Design, 5 th edition, Brooks/Cole Thomson Learning,  3. Introduction to Digital Systems, M. Ercegovac, T. Lang, and J. Moreno, Wiley and Sons  Chapter 1 3

Outline  Introduction  Numbering Systems  Binary & Hexadecimal Numbers  Base Conversions  Integer Storage Sizes  Binary and Hexadecimal Addition  Signed Integers and 2's Complement Notation  Binary and Hexadecimal subtraction  Carry and Overflow  Character Storage

Chapter 1 5 Overview  Digital Systems and Computer Systems  Information Representation  Number Systems [binary, octal and hexadecimal]

Chapter 1 6 Digital System  Takes a set of discrete information inputs and discrete internal information (system state) and generates a set of discrete information outputs. System State Discrete Information Processing System Discrete Inputs Discrete Outputs

Chapter 1 7 Digital System Example: A Digital Counter (e. g., odometer): Count Up Reset Inputs: Count Up, Reset Outputs:Visual Display State: "Value" of stored digits Synchronous or Asynchronous?

Chapter 1 8 A Digital Computer Example Synchronous or Asynchronous? Inputs: Keyboard, mouse, modem, microphone Outputs: CRT, LCD, modem, speakers

Chapter 1 9 Signal  An information variable represented by physical quantity.  For digital systems, the variable takes on discrete values.  Two level, or binary values are the most prevalent values in digital systems.  Binary values are represented abstractly by: digits 0 and 1 words (symbols) False (F) and True (T) words (symbols) Low (L) and High (H) and words On and Off.  Binary values are represented by values or ranges of values of physical quantities

Chapter 1 10 Signal Examples Over Time Analog Asynchronous Synchronous Time Continuous in value & time Discrete in value & continuous in time Discrete in value & time Digital

Chapter 1 11 Signal Example – Physical Quantity: Voltage Threshold Region

Chapter 1 12  What are other physical quantities represent 0 and 1? CPU Voltage Disk CD Dynamic RAM Binary Values: Other Physical Quantities Magnetic Field Direction Surface Pits/Light Electrical Charge

Introduction  Computers only deal with binary data (0s and 1s), hence all data manipulated by computers must be represented in binary format.  Machine instructions manipulate many different forms of data: Numbers:  Integers: 33, +128,  Real numbers: 1.33, , -6.76E12, +4.33E-03 Alphanumeric characters (letters, numbers, signs, control characters): examples: A, a, c, 1,3, ", +, Ctrl, Shift, etc. Images (still or moving): Usually represented by numbers representing the Red, Green and Blue (RGB) colors of each pixel in an image, Sounds: Numbers representing sound amplitudes sampled at a certain rate (usually 20kHz).  So in general we have two major data types that need to be represented in computers; numbers and characters. Chapter 1 13

Chapter 1 14 Number Systems – Representation  Positive radix, positional number systems  A number with radix r is represented by a string of digits: A n - 1 A n - 2 … A 1 A 0. A - 1 A - 2 … A - m  1 A - m in which 0  A i < r and. is the radix point.  The string of digits represents the power series:  (Number) r =   j = - m j j i i = 0 i rArA (Integer Portion) + (Fraction Portion) i = n - 1 j = - 1

.  Numbering systems are characterized by their base number.  In general a numbering system with a base r will have r different digits (including the 0) in its number set. These digits will range from 0 to r-1  The most widely used numbering systems are listed in the table below: Chapter 1 15

Chapter 1 16

Chapter 1 17 Number Systems – Examples GeneralDecimalBinary Radix (Base)r102 Digits0 => r - 10 => 90 => Powers of 4 Radix r 0 r 1 r 2 r 3 r 4 r 5 r -1 r -2 r -3 r -4 r , ,

Chapter 1 18 Special Powers of 2  2 10 (1024) is Kilo, denoted "K"  2 20 (1,048,576) is Mega, denoted "M"  2 30 (1,073, 741,824)is Giga, denoted "G"

Binary Numbers  Each digit (bit) is either 1 or 0  Each bit represents a power of 2  Every binary number is a sum of powers of 2