1 Logic Design Logic design deals with the basic concepts and tools used to design digital hardware consisting of logic circuits Digital devices: airbags,

Slides:



Advertisements
Similar presentations
                      Digital Audio 1.
Advertisements

Number Systems and Codes
Calculating in Other Bases
Information Processing & Digital Systems COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University.
Digital Design 2e Copyright © 2010 Frank Vahid 1 Digital Design Chapter 1: Introduction Slides to accompany the textbook Digital Design, with RTL Design,
Digital Design Copyright © 2007 Frank Vahid 1 Digital Design Chapter 1: Introduction Slides to accompany the textbook Digital Design, First Edition, by.
Logic Design Logic design deals with the basic concepts and tools used to design digital hardware consisting of logic circuits Digital devices: airbags,
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Fundamentals of Data & Signals School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 5, Tuesday 2/6/2007)
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
COE 202: Digital Logic Design Number Systems Part 1
Number Systems and Codes In PLC
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
Number Systems.
Programmable Logic Controllers
COMT 222 Tools for a Digital World. Digital? What makes information Digital? If it helps:  When is information not analog? Answer:  A finite number.
Data Usually computing systems are complex devices, dealing with a vast array of information categories.
CSC212 – Computer Organization and Design
©zaher elsir Sudan Academy for Banking & Financial Sciences Decimal Number System Base (Radix)10 Digits0, 1, 2, 3, 4, 5, 6, 7, 8, 9 e.g The magnitude.
IT253: Computer Organization
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Data Types and Representation CS French Chapter 6 + Chapter 7 – Number Bases.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
Data Representation – Chapter 3 Section 3-1. Terminology “Digital” –Discrete, well defined values/steps –Opposite of analog –Analogy: digital is to analog.
Agenda Last class: Software and extensions Today: Memory –How computers store data –Number systems –Digitization.
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Positional Notation 642 in base 10 positional notation is:
Data Representation – Chapter 3 Section 3-1. Terminology “Digital” –Discrete, well defined values/steps –Opposite of analog –Analogy: digital is to analog.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Basic Electricity and Electronics Module Two Basic Electronics Copyright © Texas Education Agency, All rights reserved.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Programming Logic Controllers Number Systems and Codes - Chapter 3.
Digital Systems Digital Logic and Design Dr. Musab Bassam Zghool Text Book: Mano Morris M. “ Digital Logic And Computer Design ”
Machine Architecture and Number Systems
CMSC Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number.
NUMBER SYSTEMS.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
ECE 362 Microprocessor Systems and Interfacing ©5-1 Lecture 1 Hexadecimal Computation Outline n Decimal n Binary n Octal n Hexadecimal.
CPEN Digital Logic Design Binary Systems Spring 2004 C. Gerousis © Digital Design 3 rd Ed., Mano Prentice Hall.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Number Systems. ASCII – American Standard Code for Information Interchange – Standard encoding scheme used to represent characters in binary format on.
Basic Electricity and Electronics Module Two Basic Electronics Copyright © Texas Education Agency, All rights reserved.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Computer Architecture and Number Systems
Number Systems and Codes
Discrete Mathematics Numbering System.
Working with DIGITAL Information
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
CHAPTER 1 : INTRODUCTION
Combinational Circuits
Number Systems.
CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS
Number Systems and Binary Arithmetic
Number Systems and Codes
Number Systems Base 2, 10, 16.
Binary / Hex Binary and Hex The number systems of Computer Science.
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Machine Architecture and Number Systems
Machine Architecture and Number Systems
COMS 161 Introduction to Computing
Binary Lesson 4 Hexadecimal and Binary Practice
Machine Architecture and Number Systems
Dr. Clincy Professor of CS
Presentation transcript:

1 Logic Design Logic design deals with the basic concepts and tools used to design digital hardware consisting of logic circuits Digital devices: airbags, auto-focus cameras, aircraft navigators, cell phones, credit card readers, digital cameras, DVD players, personal computers, portable music players, …

2 What Does “Digital” Mean? Analog signal –Inifinite possible values Ex: voltage on a wire created by microphone value time value time analog signal digital signal Digital signal –Finite possible values Ex: button pressed on a keypad Possible values: 1.00, 1.01, ,... infinite possibilities Possible values: 0, 1, 2, 3, or 4. That’s it.

3 Example of Digitization Benefit Analog signal (e.g., audio) may lose quality –Voltage levels not saved/copied/transmitted perfectly Digitized version enables near-perfect save/cpy/trn. –“Sample” voltage at particular rate, save sample using bit encoding –Voltage levels still not kept perfectly –But we can distinguish 0s from 1s time Volts original signal lengthy transmission (e.g, cell phone) time received signal How fix -- higher, lower, ? lengthy transmission (e.g, cell phone) same time Volts digitized signal time 0 1 a2d Volts d2a Let bit encoding be: 1 V: “01” 2 V: “10” 3 V: “11” time Can fix -- easily distinguish 0s and 1s, restore 0 1 Digitized signal not perfect re-creation, but higher sampling rate and more bits per encoding brings closer.

4 Digitized Audio: Compression Benefit Digitized audio can be compressed –e.g., MP3s –A CD can hold about 20 songs uncompressed, but about 200 compressed Compression also done on digitized pictures (jpeg), movies (mpeg), and more Digitization has many other benefits too Example compression scheme: 00 --> > X --> X

5 Benefits of Digital Reliable storage (CD, DVD, …) Compression (MP3, JPEG, …) Reliable transmission (cell phones, digital TVs, …) Conversion from Analog to Digital Technology

6 Digital Encodings and Binary Numbers We can represent any digital data using only binary digits (0 and 1), or bits. ASCII encoding: A B … … Base ten: decimal numbers (0,1,2,3,4,5,6,7,8,9) Base two: binary numbers (0,1) Base eight: octal numbers (0,1,2,3,4,5,6,7) Base sixteen: hexadecimal numbers (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F) Why binary numbers?

7 Converting from Decimal to Binary Numbers: Subtraction Method Example Q: Convert the number “23” from decimal to binary A: Remaining quantityBinary Number Done! 23 in decimal is in binary is more than 7, can’t use

8 Base Sixteen: Another Base Sometimes Used by Digital Designers Nice because each position represents four base two positions –Used as compact means to write binary numbers Known as hexadecimal, or just hex AF AF hexbinary A B C D E F hexbinary Q: Write in hex F0