Number Systems ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.

Slides:



Advertisements
Similar presentations
DAT2343 Summary of Standard Data Encoding © Alan T. Pinck / Algonquin College; 2003.
Advertisements

HEXADECIMAL NUMBERS Code
Chapter 1 Binary Systems 1-1. Digital Systems
Assembly Language and Computer Architecture Using C++ and Java
Number Systems Decimal (Base 10) Binary (Base 2) Hexadecimal (Base 16)
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
VIT UNIVERSITY1 ECE 103 DIGITAL LOGIC DESIGN CHAPTER I NUMBER SYSTEMS AND CODES Reference: M. Morris Mano & Michael D. Ciletti, "Digital Design", Fourth.
ECE 301 – Digital Electronics Number Systems and Conversion, Binary Arithmetic, and Representation of Negative Numbers (Lecture #10) The slides included.
1 CSE-221 Digital Logic Design (DLD) Lecture-1: Digital Systems & Number Systems.
DIGITAL SYSTEMS TCE1111 Representation and Arithmetic Operations with Signed Numbers Week 6 and 7 (Lecture 1 of 2)
Number System and Codes
Mantıksal Tasarım – BBM231 M. Önder Efe
1 Lecture 2: Number Systems Binary numbers Base conversion Arithmetic Number systems  Sign and magnitude  Ones-complement  Twos-complement Binary-coded.
Digital Systems and Binary Numbers
The 8051 Microcontroller and Embedded Systems
Combinational Design ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Logic and Digital System Design - CS 303
ECE 3110: Introduction to Digital Systems Review #1 (Chapter 1,2)
Binary Arithmetic & Data representation
Computer Fundamentals ELEC 330 Digital Systems Engineering Dr. Ron Hayne.
1 Digital Systems and Binary Numbers EE 208 – Logic Design Chapter 1 Sohaib Majzoub.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 2 Number.
Chapter 2 Number Systems + Codes. Overview Objective: To use positional number systems To convert decimals to binary integers To convert binary integers.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
Lecture 1 Binary Representation Topics Terminology Base 10, Hex, binary Fractions Base-r to decimal Unsigned Integers Signed magnitude Two’s complement.
1 Digital Design: Number Systems Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals of Logic.
Number Systems Decimal (Base 10) –10 digits (0,1,2,3,4,5,6,7,8,9) Binary (Base 2) –2 digits (0,1) Digits are often called bits (binary digits) Hexadecimal.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
مدار منطقي مظفر بگ محمدي Course Structure & Grading Homework: 25% Midterm: 30% Final:50% There is 5% extra! ( =105!) Textbook:
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
CE1111 :Digital Logic Design lecture 01 Introduction Dr. Atef Ali Ibrahim.
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Unsigned and Signed Numbers, Binary Arithmetic of Signed Numbers, and Binary Codes (Lecture #2)
Dr. Ahmed Telba EE208: Logic Design Lecture# 1 Introduction & Number Systems.
Number Systems Decimal (Base 10) –10 digits (0,1,2,3,4,5,6,7,8,9) Binary (Base 2) –2 digits (0,1) Digits are often called bits (binary digits) Hexadecimal.
ECE 2110: Introduction to Digital Systems Signed Addition/Subtraction.
ACOE2511 Assembly Language for the 80X86/Pentium Intel Microprocessors Lecturer: Dr. Konstantinos Tatas.
Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO
CEC 220 Digital Circuit Design Binary Codes
Digital Design Basics Analog vs Digital Why we need digital? Reproducibility, economy, programmability… Digital Devices Gates, FFs Combinational, sequential.
Lecture 2 Binary Arithmetic Topics Terminology Fractions Base-r to decimal Unsigned Integers Signed magnitude Two’s complement August 26, 2003 CSCE 211.
69 Decimal (Base 10) Numbers n Positional system - each digit position has a value n 2534 = 2*1, * *10 + 4*1 n Alternate view: Digit position.
CPS3340 Computer Architecture Fall Semester, 2013
CEC 220 Digital Circuit Design Binary Arithmetic & Negative Numbers Monday, January 13 CEC 220 Digital Circuit Design Slide 1 of 14.
CEC 220 Digital Circuit Design Binary Arithmetic & Negative Numbers Fri, Aug 28 CEC 220 Digital Circuit Design Slide 1 of 14.
CPEN Digital Logic Design Binary Systems Spring 2004 C. Gerousis © Digital Design 3 rd Ed., Mano Prentice Hall.
CEC 220 Digital Circuit Design Binary Codes Mon, Aug 31 CEC 220 Digital Circuit Design Slide 1 of 14.
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 DIGITAL LOGIC LECTURE 3: DIGITAL COMPUTER AND NUMBER SYSTEMS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/19/2016.
Number Representation 1 Lecture 2. Outcomes By the end of the session you should: – Understand what bits/bytes/words are. – Understanding conversion between.
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)
Memory unit terminology memory contains series of bits, grouped into addressable units word - unit of memory access and/or size of data registers, 16/32/64.
Number Systems. The position of each digit in a weighted number system is assigned a weight based on the base or radix of the system. The radix of decimal.
Chapter 6. Digital Arithmetic: Operations and Circuits
Number Systems Decimal (Base 10) –10 digits (0,1,2,3,4,5,6,7,8,9) Binary (Base 2) –2 digits (0,1) Digits are often called bits (binary digits) Hexadecimal.
Unit I From Fundamentals of Logic Design by Roth and Kinney.
1 CE 454 Computer Architecture Lecture 4 Ahmed Ezzat The Digital Logic, Ch-3.1.
CS2100 Computer Organisation
Lecture 1: Introduction and Numbers
Microprocessor and Microcontroller Fundamentals
Digital Logic and Computer Organization
Digital Systems and Number Systems
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
CHAPTER 1 : INTRODUCTION
University of Gujrat Department of Computer Science
C1 Number systems.
ECE 331 – Digital System Design
Chapter 1 Introduction.
Presentation transcript:

Number Systems ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning

311_012 Admin  Course materials available online  Students are encouraged to print lecture slides in advance and use them to take notes in class

311_013 Analog versus Digital  Analog Continuous Time Magnitude  Digital Discrete 1, 0 High, Low True, False

Digital Circuits  Combinational Circuits Logic Gates AND OR NOT  Sequential Circuits Flip-flops Stores State Memory 311_014

Computer-Aided Design Tools  Minimization of Logic Equations  Schematic Capture  Synthesis Tools Hardware Description Languages (HDLs)  Generation of Bit Patterns for PLDs Programmable Logic Devices  Test Generation  Simulation 311_015

Number Systems  Decimal (Base 10) = 9x x x x x10 -2  Binary (Base 2) = 1x x x x x x2 -2 = / / 4 = _016

7 Number Systems DecimalBinaryHex A B C D E F 311_01

8 Hexadecimal

Decimal to Binary Conversion  Decimal Integer Successive Division by 2 (Collect the Remainders) Successive Subtraction (Powers of 2)  Decimal Fraction Successive Multiplication by 2 (Collect the Integers) Successive Subtraction (Powers of 2) 311_019

10 Binary Addition (Full Adder)

Binary Multiplication  Multiplication Table 0 x 0 = 0 0 x 1 = 0 1 x 0 = 0 1 x 1 = 1 311_0111

Negative Numbers 311_0112

311_0113 2’s Complement  MSB serves as sign bit (fixed-width) 0 => positive 1 => negative  Negation Operation Complement all bits Add 1  Alternate Negation Operation Starting from right to left Copy up to and including the first 1 Complement the rest

311_0114 Overflow  Operation produces a result that exceeds the number system  Example (4-bits) Range -8 to +7  Detection Rule Overflow occurs if the addends’ signs are the same, but the sum’s sign is different from the addends’

311_0115 Binary-Coded Decimal (BCD)  Encodes digits 0 thru 9  4-bit unsigned binary 0000 thru 1001  6 unused code words 1010 thru 1111  Packed BCD 8-bit byte 2 BCD digits

Binary Codes 311_0116

ASCII Code (Table 1-3) 311_0117

311_0118 Summary  Number Systems (Conversions) Binary Hex  Negative Numbers Sign and Magnitude 2’s Complement  Arithmetic Addition (Subtraction) Multiplication  Codes BCD Gray Code