ECE 2110: Introduction to Digital Systems 2. Number Systems & Codes.

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.
Digital Electronics Dr. Bahawodin Baha, University of Brighton, UK.
Code Converters, Multiplexers and Demultiplexers
Arithmetic Operations and Circuits
Binary Representation
EE 365 Introduction, Logic Circuits. Digital Logic Binary system -- 0 & 1, LOW & HIGH, negated and asserted. Basic building blocks -- AND, OR, NOT.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
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.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
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
COE 202: Digital Logic Design Number Systems Part 1
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.
Revision Introductory Lesson
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.
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
CS101 Introduction to Computing Lecture 8 Binary Numbers & Logic Operations.
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.
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.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Number Systems and Codes
ECE 3110: Introduction to Digital Systems Introduction (Contd.)
ECE 2110: Introduction to Digital Systems Introduction (Contd.)
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
Number Bases and Representation. Denary Number System (Base 10) Our number system uses 10 digits (0-9) As you move from right to left each number is worth.
CMP 100 Introduction to Computing Lecture Binary Numbers & Logic Operations.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Digital Design Basics Analog vs Digital Why we need digital? Reproducibility, economy, programmability… Digital Devices Gates, FFs Combinational, sequential.
CSC 205 Lecture 11 CSC205 Jeffrey N. Denenberg Lecture #1 Introduction, Logic Circuits.
ECE 3110: Introduction to Digital Systems Number Systems.
ECE 2110: Introduction to Digital Systems Number Systems.
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
EE121 John Wakerly Lecture #1 Introduction, Logic Circuits.
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.
Programmable Logic Controller
EKT 124 / 3 DIGITAL ELEKTRONIC 1
VLSI Tarik Booker.
ENEL 111 Digital Electronics
Introduction Molecules: made up of atoms of individual elements.
ECE 3110: Introduction to Digital Systems
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.
Principles & Applications
Number Systems Rayat Shikshan Sanstha’s
XOR Function Logic Symbol  Description  Truth Table 
Number Systems Rayat Shikshan Sanstha’s
Number Systems.
ENEL 111 Digital Electronics
Presentation transcript:

ECE 2110: Introduction to Digital Systems 2. Number Systems & Codes

2 Previous class Summary Electronics aspects of digital design Integrated Circuits (wafer, die, SSI, MSI, LSI, VLSI)

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

4 Digital Design Levels Transistor-level circuit diagrams Example: Multiplexor

5 Truth tables Gate-level Logic diagrams: Test it at Logisim circuit

6 Prepackaged building blocks, e.g. multiplexer Equations: Z = S  A  + S  B

7 Various hardware description languages  ABEL  VHDL

8 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

9 2. Number Systems & Codes To talk about binary data, we must first talk about number systems The decimal number system (base 10) we are all familiar with! What if??? Decimal is a Positional number system.  Which system is not?

10 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.

11 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’.

= 9 x x x x x = = = 1x x x x x x2 -2 = = A2F 16 = 10x x x16 0 = 10 x x x 1 = = 2607 Base 10, Base 2, Base 16

13 Common Powers 2 -3 = = = = = = = = = = = = = = = = = 1 = = 16 = = 256 = = 4096 = = 1024 = 1 K 2 20 = = 1 M (1 Megabits) = 1024 K = 2 10 x = = 1 G (1 Gigabits)

14 Least Significant Digit Most Significant Digit = Most Significant Digit (has weight of 2 5 or 32). For base 2, also called Most Significant Bit (MSB). Always LEFTMOST digit. Least Significant Digit (has weight of 2 0 or 1). For base 2, also called Least Significant Bit (LSB). Always RIGHTMOST digit.

15 Next… Number system conversions Addition/Subtraction Check HW #1, HW#2 due dates on the web:  15/homework.htm 15/homework.htm