Digital Logic & Design Instructor: Aneel Ahmed Lecture #1.

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

Number Systems and Codes
Analogue to Digital Conversion (PCM and DM)
 Signals  Analog and Digital  Analog and Digital Data & Signals  Periodic & Aperiodic Signals.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Digital Systems: Introductory Concepts Wen-Hung Liao, Ph.D.
Computer Communication and Networks
Lecture 3 Transmission basics Chapter 3, pages Dave Novak School of Business University of Vermont Sources: 1) Network+ Guide to Networks, Dean 2013.
Information Processing & Digital Systems COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University.
DIGITAL COMMUNICATIONS.  The modern world is dependent on digital communications.  Radio, television and telephone systems were essentially analog in.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, Java Version, Third Edition.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third & Fourth Edition Spring 2008:
CS 151 Digital Systems Design Lecture 4 Number Codes and Registers.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
DIGITAL ELECTRONICS CIRCUIT P.K.NAYAK P.K.NAYAK ASST. PROFESSOR SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY.
Light to Electricity: lines begin and end in black (low signal level) called Blanking between blanking is the active video scanning is precisely controlled.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
Core 3: Communication Systems. Encoding and decoding analog and digital signals…  Encoding involves converting data from its original form into another.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
Analogue and Digital Signals SL – Option C.1. Signals When talking about electronics we will talk about ‘signals’ –This is simply the transfer of information.
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Lecture 1 Signals in the Time and Frequency Domains
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Data Handling Topic 1. Data Data is the raw material entered into a computer system. This raw material could be text, numbers, graphics, audio, animation.
Fundamentals of IT UNIT-I OnlyforIPMCA. DIGITAL SIGNALS & LOGIC GATES Signals and data are classified as analog or digital. Analog refers to something.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Data Types and Representation CS French Chapter 6 + Chapter 7 – Number Bases.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
EE345 - Micro-Controllers An Overview Prof. Ahmad Abu-El-Haija
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
Logic Circuits EG 533EX Course Introduction - Jyoti Tandukar.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
Lecture No. 1 Computer Logic Design. About the Course Title: –Computer Logic Design Pre-requisites: –None Required for future courses: –Computer Organization.
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Analogue & Digital. Analogue Sound Storage Devices.
Digital Logic & Design Dr. Waseem Ikram Lecture 01
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
Chapter2 : SIGNALS 1st semester King Saud University
Chapter 1: Binary Systems
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
1 EGR 277 – Digital Logic Syllabus Office Hours No food or drinks in the classrooms Web page (demonstration) Lecture #1 EGR 277 – Digital Logic Reading.
Data and Signals & Analouge Signaling
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Analog-Digital Conversion. Analog outputs from sensors and analog front- ends (analog signal conditioning) have to be converted into digital signals.
DIGITAL SYSTEMS ECE-273, Digital Systems Dr. Herb Kaufman Electrical and Computer Engineering UofM-Dearborn 1.
3.3 Fundamentals of data representation
Invitation to Computer Science, C++ Version, Fourth Edition
Number Systems and Codes
Binary Notation and Intro to Computer Graphics
Digital Logic and Computer Organization
What is a byte? What is it? How would you use it?
Chapter 2: Integers and Mathematical Induction
Digital Fundamentals Floyd Chapter 1 Digital concepts Tenth Edition
Analogue & Digital.
CHAPTER 3 DATA AND SIGNAL
Digital Systems: Introductory Concepts
Introduction to Basic Digital Logic
Data Representation and Organization
COMS 161 Introduction to Computing
CSE 313 Data Communication
COMS 161 Introduction to Computing
Digital Electronics and Logic Circuit
Presentation transcript:

Digital Logic & Design Instructor: Aneel Ahmed Lecture #1

Text Books Digital Logic and Computer Design – M. Morris Mano Lecture Slides. Every thing discussed in class is part of the course material.

Lecture Analog values & Digital Values. Analog & Digital Signals. Representing continuous signals in the form of discrete values. Representing Digital Values. Merits of a Digital System. Number Systems.

Analog and Digital Both data and the signals that represent them can be either analog or digital in form. Analog and Digital Data Data can be analog or digital. The term Analog data refers to information that is continuous. Digital data refers to information that has discrete states. For example, an analog clock that has hour, minute, and second hands gives information in a continuous form; the movements of the hands are continuous. On the other hand, a digital clock that reports the hours and the minutes will change suddenly from 8:05 to 8:06.

Analog and Digital Data Analog data, such as the sounds made by a human voice, take on continuous values. When someone speaks, an analog wave is created in the air. This can be captured by a microphone and converted to an analog signal or sampled and converted to a digital signal.

Analog and Digital Data Digital data take on discrete values. For example, data are stored in computer memory in the form of 0s and 1s. They can be converted to a digital signal or modulated into an analog signal for transmission across a medium.

Analog and Digital Signals Like the data they represent, signals can be either analog or digital. An analog signal has infinitely many levels of intensity over a period of time. As the wave moves from value A to value B, it passes through and includes an infinite number of values along its path. A digital signal, on the other hand, can have only a limited number of defined values. Although each value can be any number, it is often as simple as 1 and O.

Analog and Digital Signals The simplest way to show signals is by plotting them on a pair of perpendicular axes. The vertical axis represents the value or strength of a signal. The horizontal axis represents time. The Figure illustrates an analog signal and a digital signal. The curve representing the analog signal passes through an infinite number of points. The vertical lines of the digital signal, however, demonstrate the sudden jump that the signal makes from value to value.

Analog and Digital Signals

Representing continuous signal in the form of discrete values This is a continuous signal.

Representing continuous signal in the form of discrete values A continuous signal can be represented digitally by taking samples at regular and fixed intervals.

Representing continuous signal in the form of discrete values Digital Representation.

Representing continuous signal in the form of discrete values In the diagram we took 10 samples at time intervals. The digital representation of the continuous signal only approximates the original signal. and cannot truly represent the original signal as can be seen by plotting the values. The reconstructed continuous signal does not give the exact replica of the original signal. The reconstructed signal has sharp edges and corners in contrast to the original signal which has smooth curves.

Representing continuous signal in the form of discrete values If the number of samples collected are reduced by half, the resulting reconstructed signal is very different from reconstructed signal.

Representing continuous signal in the form of discrete values If the number of samples collected are reduced by half, the resulting reconstructed signal is very different from reconstructed signal. The peak in the continuous signal at 38 and the depth at -22 are all together missing from the reconstructed signal. This is due to the small number of samples taken. A better approximation of the original signals can be obtained by increasing the number of samples. An infinite number of samples very accurately represents the original continuous signal.

Representing digital values We saw a continuous signal and its digital representation. These digital values have to be processed electronically by a digital system. Generally there are two type of electronic systems : analog systems and digital systems. Analog systems : process continuous signals. So a continuous quantity has to be converted into electrical voltage terms. For example, a continuous signal of 42 deg C would be represented by perhaps 42 mV, a continuous temperature signal of deg C will be represented by mV. Digital systems: as mentioned before, use digital or discrete values. So are we going to be representing these discrete values in terms of voltages? Let us see.

Representing digital values Consider a calculator which is an example of digital system. Let us assume that the calculator has been internally calibrated to represent the number 1 by 1 mV x 10 ^15 volts which is a very large voltage value and cannot be practically represented by any circuit.

Representing digital values We saw that it is not practical to represent discrete digital values in terms of voltages in the digital system. Basically digital systems are based in two voltage values, they work with two voltage values. +5 volts which represents the logic high state or logic 1 state. 0 volts which represent the logic low state or logic 0 state. Using these two voltage values or these two states, we can represent any quantity or value which has two states. For example numbers 0 and 1, the color black and white, the temperature hot and cold, an object might be moving or stationary, so just two values.

Representing digital values Now how can we represent multiple values or more than 2 values in a digital system? Digital systems are based on binary number systems. A single digit or a bit of binary number system can represent only 2 values, a zero and a one. To represent large values, we combine these bits. So a combination of 2 bits would allow us to use four different values or four quantities. Normally we have been doing this in decimal number system. A single digit in decimal number system can represent up to 10 values, from 0 to 9. Now how do u represent more than 10 values. Well u use a combination of 2 decimal digits.so 2 digits would allow u to use 100 values, from 0 to 99.

Representing digital values Similarly in a binary number system, we combine a number of binary bits to represent multiple values. The number 39 can be represented by a combination of six bits. So in terms of binary, 39 is equal to As mentioned before, in a digital system, the binary numbers are represented in terms of voltages. So the number 39 will be represented in terms of voltages as 5V 0V 0V 5V 5V 5V.

Merits of a digital system Digital systems are extensively being used. They offer a number of advantages compared to the analog system. Efficient Processing & Data Storage. ( Computers for example are very efficient at processing information that is in digital binary form, infact computers work with digital information. Another example a CD can store a large number of digitized audio and video clips storing the same number of audio and video clips in an analog form would require a large number of audio or video cassettes.) Efficient & Reliable Transmission. Detection and Correction of Errors. (and less prone to errors. Even if error occurs detection and correction of errors in digital data is easier. We will be looking at the simple example of detecting error using the parity bit method).

Merits of a digital system Precise & Accurate Reproduction.( For example, the picture quality and sound quality of digitized video or audio stored on CDs can be reproduced with a far superior quality as compared to the analog audio and video) Easy Design and Implementation. Occupy minimum space. ( Digital circuits in the form of IC occupy a very small space. For Example, the PC has a motherboard which has an area less than one square foot. This mother board has all the important circuitry of the computer. Digital memory on the hand is implemented as an integrated circuit. It is small enough to fit in the palm of your hand but it can store an entire collection of books. )

Number Systems Decimal Number System Binary Number System Octal Number System Hexadecimal Number System

Number Systems

Decimal Number System

Example Decimal Number System

Binary Number System

Example Binary Number System

Representing Numbers in Different Number Systems

BIT

Octal Number System

Hexadecimal Number System

Converting a Number of another Base to Decimal Number

Converting a Decimal Number to a Number of Another Base

Converting a Number of some Base to a Number of Another Base