Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.

Slides:



Advertisements
Similar presentations
ADDER, HALF ADDER & FULL ADDER
Advertisements

Conversion and Coding (12)10.
ECE 331 – Digital System Design
Appendix 1 Number Systems Objectives: Review of number systems and radix conversion methods Review of binary, octal, hexadecimal and BCD unsigned codes.
Binary Systems1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Lecturer: Omid Jafarinezhad Sharif University of Technology Department of Computer Engineering 1 Fundamental of Programming (C) Lecture 2 Number Systems.
Number Systems Discussion D4.1 Appendix C. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
CS 151 Digital Systems Design Lecture 3 More Number Systems.
Computer ArchitectureFall 2008 © August 25, CS 447 – Computer Architecture Lecture 3 Computer Arithmetic (1)
Digital Circuit Why Digital Circuit? – Digital signals ( 0 and 1) are very easy to handle with electronic circuits only 2 states needed: Switch ON or OFF,
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Number Representation (1) Fall 2005 Lecture 12: Number Representation Integers and Computer Arithmetic.
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.
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Number System and Codes
Slide 1EE100 Summer 2008Bharathwaj Muthuswamy EE100Su08 Lecture #16 (August 1 st 2008) OUTLINE –Project next week: Pick up kits in your first lab section,
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
1.6 Signed Binary Numbers.
Binary Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
Simple Data Type Representation and conversion of numbers
ES 244: Digital Logic Design Chapter 1 Chapter 1: Introduction Uchechukwu Ofoegbu Temple University.
A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.
Binary Arithmetic & Data representation
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
Topic: Arithmetic Circuits Course: Digital Systems Slide no. 1 Chapter # 5: Arithmetic Circuits.
Logic Design Dr. Yosry A. Azzam. Binary systems Chapter 1.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Number Systems ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
CPU Internal memory I/O interface circuit System bus
ECE 331 – Digital System Design
Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.
Positional Number Systems
AEEE2031 Data Representation and Numbering Systems.
By Jariya Phongsai A two's-complement system is a system in which negative numbers are represented by the two's complement of the absolute value; this.
Digital Systems and Binary Numbers
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Lecture 2 Binary Arithmetic Topics Terminology Fractions Base-r to decimal Unsigned Integers Signed magnitude Two’s complement August 26, 2003 CSCE 211.
Outline Binary Addition 2’s complement Binary Subtraction Half Adder
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
COMBINATIONAL LOGIC.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits
IT1004: Data Representation and Organization Negative number representation.
ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
ECE 2110: Introduction to Digital Systems
©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.
In decimal we are quite familiar with placing a “-” sign in front of a number to denote that it is negative The same is true for binary numbers a computer.
Number Representation (Part 2) Computer Architecture (Fall 2006)
1 Ethics of Computing MONT 113G, Spring 2012 Session 4 Binary Addition.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 7 Logic Circuits.
Exercise 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy
Digital Logic Design Lab 1,2 By Nora Alaqeel.
Arithmetic Circuits I. 2 Iterative Combinational Circuits Like a hierachy, except functional blocks per bit.
Unit 1 Introduction Number Systems and Conversion.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Digital Systems and Binary Numbers
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Digital Systems and Binary Numbers
CSE 102 Introduction to Computer Engineering
Principles & Applications
Number Systems and Circuits for Addition
Digital Systems and Binary Numbers
Chapter 1 Introduction.
Presentation transcript:

Digital Circuits

Analog and Digital Signals

Noise margins in Logic Circuits VMVM

Noise margin high Noise margin low V IH V IL Undefined Region "1" "0" V OH V OL NM H L Gate Output Gate Input V DD V GND

Digital to Binary Conversion Conversion of the integer part

Digital to Binary Conversion Conversion of the fractional part

Binary Addition One bit binary adder ABCABC Sum Carry FA A 0 B 0 S 0 A 1 B 1 S 1 A 2 B 2 S 2 A 3 B 3 S 3 C i,0 C o (  C i,1 ) C o C o,2 C o,3

Binary Coded Decimal and Hexadecimal Representation = BCD To get BCD replace each digit by a group of 4 bits Binary to hexadecimal conversion (0,1,..9,A,..,F) =EA95 16 Exercise: Represent 25 by its BCD and binary codes

Binary Coded Decimal and Hexadecimal Representation = BCD To get BCD replace each digit by a group of 4 bits Binary to hexadecimal conversion (0,1,..9,A,..,F) =EA95 16 Exercise: Represent 25 by its BCD and binary codes 25/2 = 12 rem 1 12/2 = 6 rem 0 6/2 = 3 rem 0 3/2 = 1 rem 1 1/2 = 0 rem 1 25 = BCD 25 =

Binary and Grey Codes

Two’s Complement and Binary Addition One’s complement id obtained by inverting all the bits Two’s complement is obtained as one’s complement + 1 invert

Positive and Negative Binary Numbers Signed two’s complement of a number is used a the negative number value. This can be used in subtraction operation.

Positive and Negative Binary Numbers This can be used in subtraction operation. To subtract number B from A we add two’s complement of B to A Example: Compute A-B=25-11 using binary adders 1)Find binary representations A=, B= 2)Find two’s complement of B -B= 3)Add A+(-B) using binary notation

Positive and Negative Binary Numbers This can be used in subtraction operation. To subtract number B from A we add two’s complement of B to A Example: Compute A-B=25-11 using binary adders 1)Find binary representations A=011001, B= )Find two’s complement of B -B= )Add A+(-B) using binary notation = 14