ECE 3110: Introduction to Digital Systems

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

Introduction to Digital Electronics. Suplementary Reading Digital Design by - John F. Wakerly – - you will find some solutions at this site.
DATA REPRESENTATION CONVERSION.
Digital Electronics Dr. Bahawodin Baha, University of Brighton, UK.
Arithmetic Operations and Circuits
Binary Representation
Number Systems Decimal (Base 10) Binary (Base 2) Hexadecimal (Base 16)
1 Number Systems. 2 Numbers Each number system is associated with a base or radix – The decimal number system is said to be of base or radix 10 A number.
Chapter 1 Number Systems and Codes William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
VLSI Tarik Booker. VLSI? VLSI – Very Large Scale Integration Refers to the many fields of electrical and computer engineering that deal with the analysis.
Arithmetic Operations and Circuits Lecture 5. Binary Arithmetic let’s look at the procedures for performing the four basic arithmetic functions: addition,
Number Systems and Arithmetic
Number Systems and Codes In PLC
ENEL 111 Digital Electronics Richard Nelson G.1.29
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
Chapter 1 Number Systems and Codes 1. Outline 1. NUMBER SYSTEMS AND CODES 2. DIGITAL ELECTRONIC SIGNALS AND SWITCHES 3. BASIC LOGIC GATES 4. PROGRAMMABLE.
Binary and Hexadecimal Numbers
Number Systems.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
BR 8/99 Digital Devices Integrated Circuits that operate on Digital Data are in 95% of every electrical powered device in the U.S. The theory of operation.
Chapter 1 Basic Principles of Digital Systems. 2 Analog vs. Digital Analog: –A way of representing a physical quantity by a proportional continuous voltage.
Computers Organization & Assembly Language
Introduction to Digital Design
Assembly Language for x86 Processors 7th Edition
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
ECE 3110: Introduction to Digital Systems Review #1 (Chapter 1,2)
Digital Electronics. Digital circuits work on the basis of a transistor being used as a switch. Consider a light switch, a transistor can be considered.
ECE 3110: Introduction to Digital Systems Number Systems.
Engineering 1040: Mechanisms & Electric Circuits Spring 2014 Number Systems.
1-1 Lecture 1 Class Overview and Appendix A -- Number Systems.
1 CS103 Guest Lecture Number Systems & Conversion Bitwise Logic Operations.
Binary Number System & Logic Operations. The focus of the last lecture was on the microprocessor During that lecture we learnt about the function of the.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Number Systems and Codes
ECE 2110: Introduction to Digital Systems 2. Number Systems & Codes.
ECE 3110: Introduction to Digital Systems Introduction (Contd.)
ECE 3110: Introduction to Digital Systems Introduction (Contd.)
CMP 100 Introduction to Computing Lecture Binary Numbers & Logic Operations.
Digital Design Basics Analog vs Digital Why we need digital? Reproducibility, economy, programmability… Digital Devices Gates, FFs Combinational, sequential.
ECE 3110: Introduction to Digital Systems Number Systems.
ECE 2110: Introduction to Digital Systems Number Systems.
CSC 331: DIGITAL LOGIC DESIGN COURSE LECTURER: E. Y. BAAGYERE. CONTACT: LECTURE TIME: 15:40 – 17:45 hrs. VENUE: SP-LAB.
ECE 2110: Introduction to Digital Systems
ECE 3110: Introduction to Digital Systems Introduction (Contd.)
ABFC... Home page Introduction Binary number system Hexadecimal number system Binary coded decimal Objectives Octal number system Click.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
Digital System Design. Objective Distinguish between Two worlds Understand the Properties digital system.
ECE 2110: Introduction to Digital Systems Number Systems: conversions.
1 Digital Logic Design (41-135) Chapter 5 Number Representation & Arithmetic Circuits Younglok Kim Dept. of Electrical Engineering Sogang University Spring.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
ECE 3110: Introduction to Digital Systems
Programmable Logic Controller
Digital Design Chapter One Digital Systems and Binary Numbers
Numbering Systems.
Number Systems and Codes
VLSI Tarik Booker.
Data Representation Binary Numbers Binary Addition
ENEL 111 Digital Electronics
Digital Electronics Jess 2008.
Number Systems.
Digital Devices Integrated Circuits that operate on Digital Data are in 95% of every electrical powered device in the U.S. The theory of operation of these.
Fundamentals & Ethics of Information Systems IS 201
Invitation to Computer Science, Java Version, Third Edition
Programmable Logic Devices: CPLDs and FPGAs with VHDL Design
Binary Number System And Conversion
Number Systems Rayat Shikshan Sanstha’s
Number Systems Rayat Shikshan Sanstha’s
Arithmetic Circuits.
UNIT – 3 & 4. Data Representation and Internal
ENEL 111 Digital Electronics
Presentation transcript:

ECE 3110: Introduction to Digital Systems Number Systems

Previous class Summary Electronics aspects of digital design Integrated Circuits (wafer, die, SSI, MSI, LSI, VLSI) PLDs: PLAs, PALs, CPLD, FPGA ASIC

Digital Design Levels Many representations of digital logic Device Physics and IC manufacturing Moore’s Law [1965, Gordon Moore]: Transistor level --->Logic design, functional building blocks The number of transistors per square inch in an IC doubles every year [18months].

Digital Design Levels Transistor-level circuit diagrams Example: Multiplexor

Truth tables Gate-level Logic diagrams

Prepackaged building blocks, e.g. multiplexer Equations: Z = S¢ × A + S × B

Various hardware description languages ABEL VHDL

Binary Representation The basis of all digital data is binary representation. Binary - means ‘two’ 1, 0 True, False Hot, Cold On, Off We must be able to handle more than just values for real world problems 1, 0, 56 True, False, Maybe Hot, Cold, Warm, Cool On, Off, Leaky

Number Systems To talk about binary data, we must first talk about number systems The decimal number system (base 10) you should be familiar with! Positional number system

Positional Notation Value of number is determined by multiplying each digit by a weight and then summing. The weight of each digit is a POWER of the BASE and is determined by position.

The decimal number system (base 10) you should be familiar with! A digit in base 10 ranges from 0 to 9. A digit in base 2 ranges from 0 to 1 (binary number system). A digit in base 2 is also called a ‘bit’. A digit in base R can range from 0 to R-1 A digit in Base 16 can range from 0 to 16-1 (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F). Use letters A-F to represent values 10 to 15. Base 16 is also called Hexadecimal or just ‘Hex’.

Base 10, Base 2, Base 16 953.7810 = 9 x 102 + 5 x 101 + 3 x 100 + 7 x 10-1 + 8 x 10-2 = 900 + 50 + 3 + .7 + .08 = 953.78 1011.112 = 1x23 + 0x22 + 1x21 + 1x20 + 1x2-1 + 1x2-2 = 8 + 0 + 2 + 1 + 0.5 + 0.25 = 11.75 A2F16 = 10x162 + 2x161 + 15x160 = 10 x 256 + 2 x 16 + 15 x 1 = 2560 + 32 + 15 = 2607

Common Powers 2-3 = 0.125 2-2 = 0.25 2-1 = 0.5 20 = 1 21 = 2 22 = 4 23 = 8 24 = 16 25 =32 26 = 64 27 = 128 28 = 256 29 = 512 210 = 1024 211 = 2048 212 = 4096 160 = 1 = 20 161 = 16 = 24 162 = 256 = 28 163 = 4096 = 212 210 = 1024 = 1 K 220 = 1048576 = 1 M (1 Megabits) = 1024 K = 210 x 210 230 = 1073741824 = 1 G (1 Gigabits)

Least Significant Digit Most Significant Digit 5310 = 1101012 Most Significant Digit (has weight of 25 or 32). For base 2, also called Most Significant Bit (MSB). Always LEFTMOST digit. Least Significant Digit (has weight of 20 or 1). For base 2, also called Least Significant Bit (LSB). Always RIGHTMOST digit.

Hex (base 16) to Binary Conversion Each Hex digit represents 4 bits. To convert a Hex number to Binary, simply convert each Hex digit to its four bit value. Hex Digits to binary: 016 = 00002 116 = 00012 216 = 00102 316 = 00112 416 = 01002 516 = 01012 616 = 01102 716 = 01112 816 = 10002 Hex Digits to binary (cont): 916 = 10012 A16 = 10102 B16 = 10112 C16 = 11002 D16 = 11012 E16 = 11102 F16 = 11112

Hex to Binary, Binary to Hex A2F16 = 1010 0010 11112 34516 = 0011 0100 01012 Binary to Hex is just the opposite, create groups of 4 bits starting with least significant bits. If last group does not have 4 bits, then pad with zeros for unsigned numbers. 10100012 = 0101 00012 = 5116 Padded with a zero

Next… More conversions Addition/Subtraction HW #2