Chapter 5 Number Represent and Arithmetic Ciacuit 逻辑电路及其完成的算术运算 (217)

Slides:



Advertisements
Similar presentations
Number Bases Informatics INFO I101 February 9, 2004 John C. Paolillo, Instructor.
Advertisements

ARITHMETIC, LOGIC INSTRUCTIONS, AND PROGRAMS
Lecture Adders Half adder.
CMP 101 Fundamentals of Computer and programming in C Rohit Khokher.
Kevin Walsh CS 3410, Spring 2010 Computer Science Cornell University Arithmetic See: P&H Chapter 3.1-3, C.5-6.
Chapter 1 Representing Data in a Computer
Assembly Language and Computer Architecture Using C++ and Java
Computer ArchitectureFall 2008 © August 25, CS 447 – Computer Architecture Lecture 3 Computer Arithmetic (1)
Digital Arithmetic Wen-Hung Liao, Ph.D.. Objectives Perform binary addition, subtraction, multiplication, and division on two binary numbers. Add and.
Number Representation (1) Fall 2005 Lecture 12: Number Representation Integers and Computer Arithmetic.
Decimal Addition What is going on? (carry) (subtract the base)
Computer ArchitectureFall 2007 © August 29, 2007 Karem Sakallah CS 447 – Computer Architecture.
Introduction to Number Systems
1 Lecture 2: Number Systems Binary numbers Base conversion Arithmetic Number systems  Sign and magnitude  Ones-complement  Twos-complement Binary-coded.
©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.
Chapter 2 Introduction to Number System & Data Formats.
Digital Design: Principles and Practices Chapter 2 Number Systems and Codes.
Conversion Between Lengths Positive number pack with leading zeros +18 = = Negative numbers pack with leading ones -18 =
Binary Arithmetic Stephen Boyd March 14, Two's Complement Most significant bit represents sign. 0 = positive 1 = negative Positive numbers behave.
Chapter 7 Arithmetic Operations and Circuits Binary Arithmetic Addition –When the sum exceeds 1, carry a 1 over to the next-more-significant column.
计算机组成与结构 Lecture 6 - Logic & Arithmetic Reading: , B.5, B.6 ORACLE Arithmetic Unit Image Source: Oak Ridge National Laboratory 本课件内容源于美国 Lafayette.
Chapter 7 Logic Circuits Electrical Engineering and Electronics II Scott.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
Chapter 6-1 ALU, Adder and Subtractor
Figure 5.1 Conversion from decimal to binary. Table 5.1 Numbers in different systems.
Topic: Arithmetic Circuits Course: Digital Systems Slide no. 1 Chapter # 5: Arithmetic Circuits.
CSE 241 Computer Organization Lecture # 9 Ch. 4 Computer Arithmetic Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
46 Number Systems Problem: Implement simple pocket calculator Need: Display, adders & subtractors, inputs Display: Seven segment displays Inputs: Switches.
CHAPTER 2 NUMBER SYSTEMS, OPERATIONS, AND CODES 数制系统、运算和编码 主讲教师:谷雷.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Chapter four – The 80x86 Instruction Set Principles of Microcomputers 2015年10月19日 2015年10月19日 2015年10月19日 2015年10月19日 2015年10月19日 2015年10月19日 1 Chapter.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Chapter Two– Data Numbering & Character Encoding System in Microcomputer Principles of Microcomputers 2015年10月22日 2015年10月22日 2015年10月22日 2015年10月22日 2015年10月22日.
ECE2030 Introduction to Computer Engineering Lecture 2: Number System Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Operations on Bits Arithmetic Operations Logic Operations
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
CHAPTER 4 Combinational Logic Design- Arithmetic Operation (Section 4.6&4.9)
Computer Organization Department of CSE, SSE Mukka Chapter 6 : ARITHMETIC | Website for students | VTU NOTES.
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
1 Arithmetic and Logic Operations Patt and Patel Ch. 2 & 3.
Kavita Bala CS 3410, Spring 2014 Computer Science Cornell University.
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.
CEC 220 Digital Circuit Design Binary Arithmetic & Negative Numbers Monday, January 13 CEC 220 Digital Circuit Design Slide 1 of 14.
Outline Binary Addition 2’s complement Binary Subtraction Half Adder
ECE 331 – Digital System Design Multi-bit Adder Circuits, Adder/Subtractor Circuit, and Multiplier Circuit (Lecture #12)
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 5: Arithmetic Circuits Chapter 5 (minus 5.3.4)
CEC 220 Digital Circuit Design Binary Arithmetic & Negative Numbers Fri, Aug 28 CEC 220 Digital Circuit Design Slide 1 of 14.
Number Representation and Arithmetic Circuits
Number Representation (Part 2) Computer Architecture (Fall 2006)
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
Arithmetic Circuits I. 2 Iterative Combinational Circuits Like a hierachy, except functional blocks per bit.
Chapter 6. Digital Arithmetic: Operations and Circuits
1 Digital Logic Design (41-135) Chapter 5 Number Representation & Arithmetic Circuits Younglok Kim Dept. of Electrical Engineering Sogang University Spring.
1 CHAPTER 2 NUMBER SYSTEMS, OPERATIONS, AND CODES.
Lecture 6: Functions of Combinational Logic
Addition and Subtraction
Introduction to Computing
Integer Real Numbers Character Boolean Memory Address CPU Data Types
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Digital Arithmetic Wen-Hung Liao, Ph.D..
CSE 102 Introduction to Computer Engineering
Reference: Moris Mano 4th Edition Chapter 4
IT 0213: INTRODUCTION TO COMPUTER ARCHITECTURE
Principles & Applications
CPS120: Introduction to Computer Science
COE 202: Digital Logic Design Number Systems Part 2
Lecture 2 Adders Half adder.
Presentation transcript:

Chapter 5 Number Represent and Arithmetic Ciacuit 逻辑电路及其完成的算术运算 (217)

5.1 Positional Number Representation LSB 最低有效位 MSB 最高有效位 Nibble 半字节 Byte 字节 Left Shift -- multiply Right shift -- divider

Conversion between each other Binary Decimal 十进制 Octal 八进制 Hexadecimal 十六进制

5.2 Addition of unsigned numbers Half adder-no carry in Full adder-with carry in Ripple-carry Adder ( 行波)逐位进位 (并行加法器)

Arithmetic Circuit Adder 加法器 HA 、 FA 、 RCA 、 Multiplication 乘法器

5.3 Signed numbers Negatives numbers 负数 Sign-and-magnitude 符号-量 ’s complement 反码 ’s complement 补码

5.3.2 Addition and subtraction 1’complement add: Result: add “n” become all 1, then is negative “n” Ex: =1111, negative 3 ! carry out from the sign bit should add bake to the LSB position! Not simple

2’complement add: Result: add “n” become all 0, then is negative “n” Ex: =0000, negative 3 carry out from the sign simply ignore simple! Subtrahend 减数 Minuend 被减数

5.3.4 Radix-Complement Schemes 9’s complement 十进制反码 10’s complement 十进制补码

5.3.5 Arithmetic overflow Carry out of Sign bit XOR MSB

Price / performance ratio Speed The path that causes the longest delay is called critical path 关键路径

5.4 Fast Adder Carry-lookahead adder 超前进位加法器