1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

Number Systems and Codes
Analog-to-Digital Converter (ADC) And
Digital Systems: Introductory Concepts Wen-Hung Liao, Ph.D.
Analog to Digital Converters (ADC) 2 ©Paul Godin Created April 2008.
Information Processing & Digital Systems COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University.
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,
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,
Signals, Circuits, and Computers Part A Winncy Du Fall Based on Dr
PH4705/ET4305: A/D: Analogue to Digital Conversion
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
Number Systems and Codes In PLC
ENEL 111 Digital Electronics Richard Nelson G.1.29
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Number Systems.
Digital to Analog Converters (DAC) 1
Programmable Logic Controllers
ES 244: Digital Logic Design Chapter 1 Chapter 1: Introduction Uchechukwu Ofoegbu Temple University.
Basic Logic 2.1 Basic Digital Logic 2 Numbering Systems ©Paul Godin Created Aug 2007 Updated Aug 2013 gmail.com.
EKT 121 / 4 ELEKTRONIK DIGIT 1 CHAPTER 1 : INTRODUCTION.
IT-101 Section 001 Lecture #3 Introduction to Information Technology.
Analog to Digital Converters (ADC) 1
ECE 3110: Introduction to Digital Systems Review #1 (Chapter 1,2)
Data Types and Representation CS French Chapter 6 + Chapter 7 – Number Bases.
1 Digital Systems and Binary Numbers EE 208 – Logic Design Chapter 1 Sohaib Majzoub.
Introduction to Computer Design CMPT 150 Section: D Ch. 1 Digital Computers and Information CMPT 150, Chapter 1, Tariq Nuruddin, Fall 06, SFU 1.
Lecture 4 Last Lecture –Positional Numbering Systems –Converting Between Bases Today’s Topics –Signed Integer Representation Signed magnitude One’s complement.
1 DLD Lecture 18 Recap. 2 Recap °Number System/Inter-conversion, Complements °Boolean Algebra °More Logic Functions: NAND, NOR, XOR °Minimization with.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Data Representation, Number Systems and Base Conversions
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
June 10, 2002© Howard Huang1 Number systems To get started, we’ll discuss one of the fundamental concepts underlying digital computer design:
Digital Systems Digital Logic and Design Dr. Musab Bassam Zghool Text Book: Mano Morris M. “ Digital Logic And Computer Design ”
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
Lecture 2 Numbers and number systems. Some material from the last lecture Electronic computers represent information as voltage levels. To make the computer.
Phys 4330 Digital ElectronicsBinary System Digital circuits process signals that contain just two voltage levels or states, labeled logic "0" and logic.
MECH1500 Chapter 3.
Orange Coast College Business Division Computer Science Department CS 116- Computer Architecture Logic Design: Part 1.
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Digital Logic & Design Instructor: Aneel Ahmed Lecture #1.
CSE 111 Information Representation in the Digital World.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Waveform 1.1 Basic Digital Waveform Parameters 1 Paul Godin Updated December 2014.
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.
Programmable Logic Controller
Number Systems & Binary Arithmetic
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Digital Design Chapter One Digital Systems and Binary Numbers
Number Systems and Codes
Digital Electronics INTRODUCTION ANALOG VS DIGITAL NUMBER SYSTEMS.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
CHAPTER 1 : INTRODUCTION
Digital Electronics Jess 2008.
Number Systems.
Number System conversions
Digital Systems: Introductory Concepts
Number Systems and Binary Arithmetic
Introduction to Basic Digital Logic
Digital Systems and Binary Numbers
Data Representation and Organization
Number Systems Rayat Shikshan Sanstha’s
UNIT – 3 & 4. Data Representation and Internal
ENEL 111 Digital Electronics
CHAPTER 69 NUMBER SYSTEMS AND CODES
Presentation transcript:

1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1

1.2 Digital Electronics

1.3 Basic Digital Logic Concepts Digital Number System

1.4 “Digital” ◊A Digital World ◊Many of the things we use every day are “digital” or “digitized”. ◊What does “Digital” mean? ◊Represented by discrete (stepped) or numerical values rather than analog (continuous) values.

1.5 Examples Measure temperature, a continuous value

1.6 Advantages of Digital Systems/Values ◊Relatively less sensitive to distortion (noise and losses) ◊Can be reproduced more accurately ◊Easier to reconstruct a signal ◊More storage and transfer options ◊Can be processed mathematically and logically ◊Easier to standardize ◊Systems are easier to design electrically (lower voltage / very low current) ◊Digital systems can be made small ◊Encryption available Many of these concepts will make sense as we progress through this course.

1.7 Disadvantages of Digital Systems/Values ◊Takes time to convert and process values ◊Digital systems have significant electrical limitations (cannot handle large current or high voltage) ◊Can become quite complex with an increase of significant digits ◊Not a completely accurate representation of analog values (rounding errors) ◊Often need to convert to / from analog systems ◊More complex circuitry ◊More sensitive to environmental issues (noise, electrical, temperature, etc)

1.8 Future of Digital Systems ◊With advances in semiconductor manufacturing, digital systems are inexpensive, faster and more complex. ◊In a mass production society the advantages of digital systems outweigh the disadvantages. ◊Digital technology will continue to replace what was typically the analog or mechanical domain. Examples include telephone and other communication systems, broadcast television, sound and video reproduction, instrumentation, timekeeping, etc...

1.9 Basic Digital Logic Concepts Number Systems There are 10 types of people in the world: Those who understand binary, and those who don’t.

1.10 Number Systems We use decimal, or “base-10”. ◊10 digits (0 to 9) The decimal numbering system has positional weighing where each position has a power of 10. Example: x x x 10 0 Most Significant Digit (MSD) Least Significant Digit (LSD) 5 hundreds + 6 tens + 3 ones

1.11 Binary Signals ◊Decimal values are difficult to represent in electrical systems. It is easier to use two voltage values than ten. ◊Binary Signals have two basic states: ◊A good example of binary states is a light (only on or off) 1 (logic “high”, or H, or “on”, or “True”) 0 (logic “low”, or L, or “off”, or “False”) onoff

1.12 Binary Base 2 = Base = = = = = = = = = = 9 In Binary there are only 0’s and 1’s. These numbers are called “Base-2”. The base value is the number of digits in the counting system. It is also known as the radix. Example: the radix of is 2. Binary to Decimal

1.13 Binary digits Bit: single binary digit Byte: 8 binary digits Bit Byte Radix

1.14 Converting Binary to Decimal Each position represents a numerical “weight” = = 11 in decimal

Easy Conversion from Binary ◊The easiest way to convert from binary to decimal is to remember the positional values: 1.15 Base 2 = Base = = = = = = = = = – 1 = = = = 10

1.16 Hexadecimal ◊Hexadecimal is used to simplify dealing with large binary values: ◊Base-16, or Hexadecimal, has 16 characters: 0-9, A-F ◊Represent a 4-bit binary value: (0) to (F) ◊Easier than using ones and zeros for large binary values ◊Commonly used in computer applications ◊Examples: ◊ = = C 16 ◊ = A6 C2 16 Hex values can be followed by an “H” to indicate base-16. Example: A6 C2 H

Hex Values in Computers 1.17

Decimal to Hexadecimal 1.18 DecimalHex A 11B 12C 13D 14E 15F

Conversion Binary to Hexadecimal = = = = 6 AC16

1.20 BCD ◊BCD (Binary-Coded Decimal) values are used to represent a decimal value in binary. ◊BCD values allow for the easy conversion from binary to decimal. ◊Exclude values beyond ‘9’ ( to ). ◊ to

1.21 Conversion Chart BinaryBCDDecimalOctalHex x x9 1010x10xA 1011x11xB 1100x12xC 1101x13xD 1110x14xE 1111x15xF

1.22 Binary in everyday life Ever wonder why computer-related values seem to follow a pattern of: 32, 64, 128, 256, 512,…? It is because they are related to binary values =16,364 = 16k 2 15 =32,768 = 32k 2 16 =65,536 = 64k 2 17 =131,072= 128k 2 18 =262,144= 256k 2 19 =524,288= 512k 2 20 =1,048,576= 1M … Every bit added to the binary number doubles the unique values it can represent

1.23 Review 1 ◊Define: ◊Binary ◊Decimal ◊Hexadecimal ◊Convert to: ◊Decimal ◊Hexadecimal

1.24 Binary as Electrical Values Electrical Representation of Binary Values.

1.25 Binary as a Voltage Voltages are used to represent logic values: A voltage present (called Vcc or Vdd) = 1 Zero Volts or ground (called gnd or Vss) = 0 The voltage for a popular family of devices is 5 Volts. Many digital device families function at other voltages.

1.26 A Simple Switch A simple switch provides a logic value: Vcc Gnd, or 0 Vcc Vcc, or 1 There are other, better ways to connect a switch in digital circuits.

1.27 Digital Waveform Logic 1 Logic 0 Ideal Digital Waveform Waveform to Digital value

1.28 Analog versus Digital Original Analog signal Distorted Analog signal Binary signal A to A A to D

1.29 Analog to Digital Original Analog signal Binary signal A to D Conversion … The voltage is converted to a binary value at regular intervals. Animated

1.30 Digital to Analog Digital signal Analog signal D to A Conversion … The binary value is converted to a voltage at regular intervals. Animated

1.31 Parallel versus Serial ◊Serial communications: provides a binary number as a sequence of binary digits, one after another, through one data line. ◊Parallel communications: provides a binary number as binary digits through multiple data lines at the same time.

1.32 Exercise ◊Name some advantages of digital signals over analog signals. ◊Discussion: Why have today’s standards gone toward serial communications instead of parallel communications? END