Unit I From Fundamentals of Logic Design by Roth and Kinney.

Slides:



Advertisements
Similar presentations
ECE 331 – Digital System Design
Advertisements

ECE 331 – Digital System Design
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Number Systems and Conversion, Binary Arithmetic, and Representation of Negative Numbers (Lecture #10) The slides included.
Number System and Codes
Data Representation – Chapter 3 Sections 3-2, 3-3, 3-4.
FIGURES FOR CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Computer Organization & Programming Chapter2 Number Representation and Logic Operations.
Data Representation – Binary Numbers
Chapter 7 Arithmetic Operations and Circuits Binary Arithmetic Addition –When the sum exceeds 1, carry a 1 over to the next-more-significant column.
Binary Arithmetic & Data representation
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Number Systems ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Unsigned and Signed Numbers, Binary Arithmetic of Signed Numbers, and Binary Codes (Lecture #2)
Summer 2012ETE Digital Electronics1 Binary Arithmetic of Signed Binary Numbers.
Positional Number Systems
ECE 331 – Digital System Design Representation and Binary Arithmetic of Negative Numbers and Binary Codes (Lecture #10) The slides included herein were.
ECE 301 – Digital Electronics Representation of Negative Numbers, Binary Arithmetic of Negative Numbers, and Binary Codes (Lecture #11) The slides included.
WEEK #2 NUMBER SYSTEMS, OPERATION & CODES (PART 1)
CEC 220 Digital Circuit Design Binary Codes
CEC 220 Digital Circuit Design Binary Arithmetic & Negative Numbers Monday, January 13 CEC 220 Digital Circuit Design Slide 1 of 14.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
Introduction To Number Systems Binary System M. AL-Towaileb1.
CEC 220 Digital Circuit Design Binary Arithmetic & Negative Numbers Fri, Aug 28 CEC 220 Digital Circuit Design Slide 1 of 14.
DIGITAL SYSTEMS Number systems & Arithmetic Rudolf Tracht and A.J. Han Vinck.
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.
©2010 Cengage Learning SLIDES FOR CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION Click the mouse to move to the next page. Use the ESC key to exit.
Nguyen Le CS147.  2.4 Signed Integer Representation  – Signed Magnitude  – Complement Systems  – Unsigned Versus Signed Numbers.
COSC2410: LAB 2 BINARY ARITHMETIC SIGNED NUMBERS FLOATING POINT REPRESENTATION BOOLEAN ALGEBRA 1.
11001 / 101, / ) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the result.
973cs111_add_posneg.ppt Integers Whole numbers Do NOT contain decimal points (as in money) 43,689 is an integer 43, is NOT an integer (it is floating.
Lecture 4: Digital Systems & Binary Numbers (4)
Negative Number Sign-Magnitude: left-most bit as the sign bit –16 bits –Example: 4-bit numbers is given by is given by ’s complement:
Chapter 1 Introduction Digital Systems Digital systems: computation, data processing, control, communication, measurement - Reliable, Integration.
Unit 1 Introduction Number Systems and Conversion.
David Kauchak CS 52 – Spring 2017
Lecture 1: Introduction and Numbers
디지털 로직 및 CAD 실습 Fundamentals of Logic Design (6e) Charles H. Roth, Jr.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
CHAPTER 9 COMPUTER ARITHMETIC - ALU
Digital Systems and Number Systems
Integer Real Numbers Character Boolean Memory Address CPU Data Types
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
11001 / 101 , / ) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the.
CHAPTER 1 : INTRODUCTION
Digital Arithmetic Wen-Hung Liao, Ph.D..
Number Systems.
Exercise: Add these two single precision IEEE 754 numbers: … …0 Left number: 1.101x24 Right number: 1.011x 22= x24.
Addition and Substraction
Arithmetic operations Programming
Data Representation in Computer Systems
CSC 143 Two' s complement.
Data Representation – Chapter 3
Digital Logic Design (ECEg3141) 2. Number systems, operations & codes 1.
Unit 18: Computational Thinking
C1 Number systems.
COMS 161 Introduction to Computing
ECE 301 – Digital Electronics
ECE 331 – Digital System Design
CSC 220: Computer Organization Signed Number Representation
COMS 161 Introduction to Computing
Chapter 1 (Part c) Digital Systems and Binary Numbers
Introduction To Number Systems
Chapter 1 Introduction.
Presentation transcript:

Unit I From Fundamentals of Logic Design by Roth and Kinney

1.1 Digital Systems and Switching Circuits Basic Switching Circuit—Figure 1.1, page 7

1.2 Number Systems and Conversions Representations: Power series –Let R be the base –R n then n is a whole number (integer) –a n is the coefficient of the power series term. To convert numbers into decimal, use power series.

Conversions Example, page 10, use the division method to convert a whole number decimal, into another base. Example, page 11, use the multiplication method to convert a fraction in decimal, into another base. Example, page 10 (second example) illustrates that the fraction process does not always terminate. Example, page 12 illustrates how to convert a whole number and a fraction.

1.3 Binary Arithmetic Basic Operations –0+0 =0; 0+1 =1; 1+0=1; 1+1=0 and carry 1 to next column. Example : Binary Addition—page 13 Example: Binary Subtraction—page 13. Note that 1’s are used to indicate carries and borrows. (Note that borrows can propagate.)

Binary Subtraction Can be confusing; when you borrow from a column n, you subtract 1 from that column and add 2 to the next column, n-1; this is because of the power series concepts.

1.4 Representation of Negative Numbers (Table 1.1, page16) Sign and Magnitude 0=+, 1= - Two’s complement –Let N be a binary number. –Complement each bit and add 1 –Addition—add the numbers and ignore any carries from the sign position. One’s complement –Complement each bit; in addition add the last carry.

Overflows Overflow—page 16-- “if an operation, such as addition and subtraction, is performed on two numbers and the result is outside the range of representation, then we say that an overflow has occurred.” Example: Addition of two positive numbers results in a negative value.

1.5 Binary Codes Binary Coded Decimal (BCD) or –Note that only 10 values are valid. Table 1-2, page 22 shows BCD and other codes. Table 1-3 is ASCII.