CSCE 211: Digital Logic Design

Slides:



Advertisements
Similar presentations
ECE 331 – Digital System Design
Advertisements

Data Representation COE 202 Digital Logic Design Dr. Aiman El-Maleh
Digital Fundamentals Floyd Chapter 2 Tenth Edition
Assembly Language and Computer Architecture Using C++ and Java
Assembly Language and Computer Architecture Using C++ and Java
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
Number System and Codes
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
ES 244: Digital Logic Design Chapter 1 Chapter 1: Introduction Uchechukwu Ofoegbu Temple University.
Computers Organization & Assembly Language
EKT 121 / 4 ELEKTRONIK DIGIT 1 CHAPTER 1 : INTRODUCTION.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Number Systems and Codes. CS2100 Number Systems and Codes 2 NUMBER SYSTEMS & CODES Information Representations Number Systems Base Conversion Negative.
1 EENG 2710 Chapter 1 Number Systems and Codes. 2 Chapter 1 Homework 1.1c, 1.2c, 1.3c, 1.4e, 1.5e, 1.6c, 1.7e, 1.8a, 1.9a, 1.10b, 1.13a, 1.19.
Dr. Ahmed Telba EE208: Logic Design Lecture# 1 Introduction & Number Systems.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Positional Notation 642 in base 10 positional notation is:
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.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Digital Fundamentals Tenth Edition Floyd Chapter 2 © 2008 Pearson Education.
Number Representation and Arithmetic Circuits
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
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.
Digital logic COMP214  Lecture 2 Dr. Sarah M.Eljack Chapter 1 1.
N 3-1 Data Types  Binary information is stored in memory or processor registers  Registers contain either data or control information l Data are numbers.
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.
Chapter 1 Introduction Digital Systems Digital systems: computation, data processing, control, communication, measurement - Reliable, Integration.
Unit 1 Introduction Number Systems and Conversion.
Invitation to Computer Science, C++ Version, Fourth Edition
Addition and Subtraction
Digital Design Chapter One Digital Systems and Binary Numbers
Lec 3: Data Representation
CS2100 Computer Organisation
Chapter 02 Nell Dale & John Lewis.
Digital Logic and Computer Organization
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
CHAPTER 1 : INTRODUCTION
Number System Submitted by: Submitted to: Devashish Bhardwaj Miss.Hina
Number Systems.
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Number System conversions
Number Systems.
Fundamentals & Ethics of Information Systems IS 201
Chapter 1 Number Systems, Number Representations, and Codes
Invitation to Computer Science, Java Version, Third Edition
SYEN 3330 Digital Systems Chapter 1 SYEN 3330 Digital Systems.
CSCE 211: Digital Logic Design
BEE1244 Digital System and Electronics BEE1244 Digital System and Electronic Chapter 2 Number Systems.
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Data Representation Data Types Complements Fixed Point Representation
Digital Systems: Number Systems and Codes
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Digital Logic Design (ECEg3141) 2. Number systems, operations & codes 1.
CSCE 211: Digital Logic Design
Digital Systems and Binary Numbers
Chapter 1 Number System RGGP, Narwana.
ECE 301 – Digital Electronics
Chapter Four Data Representation in Computers By Bezawit E.
CSCE 211: Digital Logic Design
Computer Organization
Chapter 1 Introduction.
Presentation transcript:

CSCE 211: Digital Logic Design Chin-Tser Huang huangct@cse.sc.edu University of South Carolina

Chapter 1: Introduction

Digital Systems They are everywhere! They are usually binary: operating on two-valued signals Take an arbitrary number of inputs and produce an arbitrary number of outputs Some systems require a timing signal called clock 08/18/2016

08/18/2016

Examples A system with three inputs, A, B, and C, and one output Z, such that Z = 1 if and only if two of the inputs are 1 A system with eight inputs, representing two 4-bit binary numbers, and one 5-bit output, representing the sum 08/18/2016

Examples A system with one input, A, plus a clock, and one output, Z, which is 1 iff the input was one at the last three consecutive clock times A traffic controller on two streets: the light is green on each street for a fixed period of time, then goes to yellow for another fixed period and finally to red. The only input to this system is the clock 08/18/2016

Truth Table Describe the behavior of a digital system in tabular form 08/18/2016

08/18/2016

A Brief Review of Number Systems Integers are usually written using a positional number system N = an-1rn-1 + an-2rn-2 + … + a2r2 + a1r + a0 where 0  ai < r 08/18/2016

Conversion between Number Systems How to convert from binary to decimal? Evaluate the power series Example: 1010112 = ? 08/18/2016

Conversion between Number Systems How to convert from decimal to binary? Two algorithms Repeatedly subtract from the number the largest power of 2 less than that number and put a 1 in corresponding position Repeatedly divide the number by 2 and put the remainder from right to left 08/18/2016

08/18/2016

08/18/2016

Hexadecimal Radix r = 16 Why use hexadecimal? Shorthand notation for binary Grouping 4 bits in binary to get 1 digit in hexadecimal 08/18/2016

Binary Addition 08/18/2016

One-bit Adder 08/18/2016

4-bit Adder 08/18/2016

Overflow Overflow occurs when the result of an arithmetic operation is out of range and indicates an error For example, in a computer with n-bit words, if the addition of two n-bit integers produces an (n+1)-bit result, we call it overflow 08/18/2016

Binary Coded Decimal (BCD) Most computers operate on binary numbers However, for computers to interface with humans, the mode of communication is generally decimal Convert from decimal to binary on input Convert from binary to decimal on output But the decimal output still needs to be coded into binary, digit by digit 08/18/2016

Binary-Coded Decimal Codes 08/18/2016

Other Codes ASCII: used to transmit alphanumeric information Gray code: consecutive numbers differ in only one bit Particularly useful in coding the position of a continuous device and error detection 08/18/2016

08/18/2016

08/18/2016