INTRODUCTION TO Microprocessors Dr. Hugh Blanton ENTC 4337/5337.

Slides:



Advertisements
Similar presentations
HARDWARE Rashedul Hasan..
Advertisements

DSPs Vs General Purpose Microprocessors
Lecture 4 Introduction to Digital Signal Processors (DSPs) Dr. Konstantinos Tatas.
Information Sources And Signals
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
CEN352, Dr. Ghulam Muhammad King Saud University
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
September 2, 2009ECE 366, Fall 2009 Introduction to ECE 366 Selin Aviyente Associate Professor.
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Linear Systems and Signals Prof. Shun-Pin Hsu ( 許舜斌 ) Dept. of Electrical Engineering National Chung-Hsin University Course 2303 Spring 2008 Lecture 1.
Digital Signal Processing Digital Signal Processing uses unique type of data i.e. signal, for processing Signals A signal refers to any continuous function.
Applications of Signals and Systems Fall 2002 Application Areas Control Communications Signal Processing.
Kathy Grimes. Signals Electrical Mechanical Acoustic Most real-world signals are Analog – they vary continuously over time Many Limitations with Analog.
Microcomputer Systems 1 Introduction to DSP’s. 9 August 2015Veton Këpuska2 Introduction to DSP’s  Definition: DSP – Digital Signal Processing/Processor.
Engr. Hinesh Kumar Lecturer, I.B.T, LUMHS. Signal Signal Classification Signal Processing Concept of Systems DSP Elements of DSP Advantages of DSP Limitations.
INTRODUCTION TO DIGITAL SIGNAL PROCESSING Dr. Hugh Blanton ENTC 4347.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Digital Communication Techniques
Using Programmable Logic to Accelerate DSP Functions 1 Using Programmable Logic to Accelerate DSP Functions “An Overview“ Greg Goslin Digital Signal Processing.
Getting Started With DSP A. What is DSP? B. Which TI DSP do I use? Highest performance C6000 Most power efficient C5000 Control optimized C2000 TMS320C6000™
Ehsan Shams Saeed Sharifi Tehrani. What is DSP ? Digital Signal Processing (DSP) is used in a wide variety of applications, and it is hard to find a good.
Data Sampling & Nyquist Theorem Richa Sharma Dept. of Physics And Astrophysics University of Delhi.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
מכללת BITLEE קורס DSP יישומי לתעשיה. DSP- Digital Signal Processing.
DSP. What is DSP? DSP: Digital Signal Processing---Using a digital process (e.g., a program running on a microprocessor) to modify a digital representation.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Digital Signal Processors for Real-Time Embedded Systems By Jeremy Kohel.
Digital signal Processing
Real time DSP Professors: Eng. Julian Bruno Eng. Mariano Llamedo Soria.
Topics Introduction Hardware and Software How Computers Store Data
Applications of Signals and Systems Application Areas Control Communications Signal Processing (our concern)
INTRODUCTION TO COMPUTING
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
Processor Architecture Needed to handle FFT algoarithm M. Smith.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
EE302 Lesson 19: Digital Communications Techniques 3.
Computer Systems Organization CS 1428 Foundations of Computer Science.
A Simple Computer consists of a Processor (CPU-Central Processing Unit), Memory, and I/O Memory Input Output Arithmetic Logic Unit Control Unit I/O Processor.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Signals and Systems Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 382C-9 Embedded Software Systems.
Microprocessor-based Systems
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
Introduction Advantage of DSP: - Better signal quality & repeatable performance - Flexible  Easily modified (Software Base) - Handle more complex processing.
Audioprocessor for Automobiles Using the TMS320C50 DSP Ted Subonj Presentation on SPRA302 CSE671 / Dr. S. Ganesan.
ELEMENTS OF A COMPUTER SYSTEM HARDWARE SOFTWARE PEOPLEWARE DATA.
Introduction to Microprocessors
Computer Architecture 2 nd year (computer and Information Sc.)
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
DSP Architectures Additional Slides Professor S. Srinivasan Electrical Engineering Department I.I.T.-Madras, Chennai –
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 21 & 22 Processor Organization Register Organization Course Instructor: Engr. Aisha Danish.
How ADSL Modems Work Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin
Digital Control CSE 421.
Introduction Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE 313 Linear Systems and Signals Fall.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Computer Systems Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Communications and Signal Processing Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin June 12, 2002.
Digital Control CSE 421.
Topics Introduction Hardware and Software How Computers Store Data
Signals and Systems.
GC101 Introduction to computers and programs
Embedded Systems Design
Digital Design.
Digital Signal Processors
Introduction to Digital Signal Processors (DSPs)
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
Topics Introduction Hardware and Software How Computers Store Data
Presentation transcript:

INTRODUCTION TO Microprocessors Dr. Hugh Blanton ENTC 4337/5337

Dr. Blanton - ENTC Introduction 2 Objectives Build intuition for signal processing concepts Translate signal processing concepts into real-time digital communications software in laboratory

Dr. Blanton - ENTC Introduction 3 General Information Contact Information Phone—(423) Web Page Office Hours MWF—10:15-11:45

Dr. Blanton - ENTC Introduction 4 Grading Calculation of numeric grades 15% midterm #1 25% final #2 (semi-cumulative) 20% homework 50% laboratory

Dr. Blanton - ENTC Introduction 5 Laboratory component Students work in teams of two on lab assignments/reports Assign team members same lab report grade and then apply individual deductions for attendance/participation Lowest lab report dropped

Dr. Blanton - ENTC Introduction 6 Academic Integrity Homework/Exam assignments Discuss homework/exam questions with others Be sure to submit your own independent solution Turning in two identical (or nearly identical) homework sets is considered academic dishonesty

Dr. Blanton - ENTC Introduction 7 Laboratory reports Should only contain work of those named on report If any other work is included, then reference source Copying information from another source without giving proper reference and quotation is plagiarism Source code must be original work

Dr. Blanton - ENTC Introduction 8 Topics The TMS320C6X (1 week) Programming (4 weeks) C Code Composer Assembly Language Hardware (4 weeks) architecture

Dr. Blanton - ENTC Introduction 9 Applications FIR Filters IIR Filters Fast Fourier Transforms

Dr. Blanton - ENTC Introduction 10 TMS320C6x Manuals You need to refer to various TMS320C6000 manuals, which are only available electronically: Code Composer User’s Guide Optimizing C Compiler Programmer’s Guide CPU and Instruction Set Reference Guide

Dr. Blanton - ENTC Introduction 11 Microprocessors General-purpose processors or microcontrollers (GPPs/MCUs for short) are either not specialized for a specific kind of applications (in the case of general- purpose processors), or they are designed for control-oriented applications (in the case of microcontrollers).

Dr. Blanton - ENTC Introduction 12 Digital Signal Processors DSP processors have features designed to support high-performance, repetitive, numerically intensive tasks. Mostly designed with the same few basic operations in mind They share the same set of basic characteristics These characteristics fall into three categories: specialized high speed arithmetic data transfer to and from the real world multiple access memory architecture

Dr. Blanton - ENTC Introduction 13 DSP Features Features that accelerate performance in DSP applications include: Single-cycle multiply-accumulate (MAC) capability; high-performance DSPs often have two multipliers that enable two multiply-accumulate operations per instruction cycle; some DSP have four or more multipliers Specialized addressing modes, for example, pre- and post-modification of address pointers, circular addressing, and bit-reversed addressing

Dr. Blanton - ENTC Introduction 14 DSP Features Most DSPs provide various configurations of on-chip memory and peripherals tailored for DSP applications. DSPs generally feature multiple-access memory architectures that enable DSPs to complete several accesses to memory in a single instruction cycle Specialized execution control. Usually, DSP processors provide a loop instruction that allows tight loops to be repeated without spending any instruction cycles for updating and testing the loop counter or for jumping back to the top of the loop

Dr. Blanton - ENTC Introduction 15 DSP Features DSP processors are known for their irregular instruction sets, which generally allow several operations to be encoded in a single instruction. For example, a processor that uses 32-bit instructions may encode two additions, two multiplications, and four 16-bit data moves into a single instruction. In general, DSP processor instruction sets allow a data move to be performed in parallel with an arithmetic operation. GPPs/MCUs, in contrast, usually specify a single operation per instruction

Dr. Blanton - ENTC Introduction 16 DSP Features It is worth noting that the difference between DSPs and GPPs/MCUs is fading: many GPPs/MCUs now include DSP features, and DSPs are increasingly adding microcontroller features.

Dr. Blanton - ENTC Introduction 17 What is a DSP? Digital Signal Processors (DSP) process digital signals An alternative method to process analog world signals Once the signal is in digital form, the DSP can easily process it After the DSP has processed the signal, the output signal must be converted back to analog so that we can sense it. ADCDSPDAC

Dr. Blanton - ENTC Introduction 18 Why DSP? Advantages of digital signal processing Programmability—one hardware does many tasks Flexibility and upgradeability—develop a new code Repeatability—A CD player always plays the same music quality Advantages of analog signal processing low cost in some applications—attenuators, amplifiers wide bandwidth (GHz) Infinite resolution (no quantization error) and low signal levels

Dr. Blanton - ENTC Introduction 19 The DSP System DSP chip Arithmetic Logic Unit (ALU) TMS320C6X Memory Converters Analog-to-Digital Digital-to-Analog Communication Ports Serial Parallel DSPADCDAC Memory Ports

Dr. Blanton - ENTC Introduction 20 Review: Signals Continuous-time (analog) signals are functions of a real argument x(t) where t can take any real value Discrete-time (digital) signals are functions of an argument that takes values from a discrete set x[n] n  {...-3,-2,-1,0,1,2,3...} Integer index n instead of time t for discrete-time systems Value for x may be real or complex

Dr. Blanton - ENTC Introduction 21 Analog and Digital Signals Amplitude of an analog signal can take any real or complex value at each time (sample) Amplitude of a digital signal takes values from a discrete set  

Dr. Blanton - ENTC Introduction 22 Analog and Digital Signals A system is a transformation from one signal (called the input) to another signal (called the output or the response). Continuous-time systems with input signal x and output signal y (a.k.a., the response): Discrete-time system examples

Dr. Blanton - ENTC Introduction 23 Audio Compact Discs Human hearing is from about 20 Hz to 20 kHz Sampling theorem: sample analog signal at a rate of more than twice the highest analog frequency Apply a lowpass filter to pass frequencies up to 20 kHz; e.g. a coffee filter water (small particles) through a coffee filter but not coffee grounds (large particles) Lowpass filter needs 10% of maximum passband frequency to roll off to zero (2 kHz rolloff in this case). Sampling at 44.1 kHz captures analog frequencies that are less than kHz

Dr. Blanton - ENTC Introduction 24 Signal Processing Systems Speech synthesis and speech recognition Audio CD players Audio compression (MP3, AC3) Image compression (JPEG, JPEG 2000) Optical character recognition Video CDs (MPEG 1) DVD, digital cable, and HDTV (MPEG 2) Wireless video (MPEG 4/H.263)

Dr. Blanton - ENTC Introduction 25 Communication Systems Voiceband Dialup/Fax modems Digital subscriber line (DSL) modems ISDN: 144 kilobits per second (kbps) Business/symmetric: HDSL and HDSL2 Home/symmetric: ADSL and VDSL Cable modems Cell phones First generation (1G): AMPS Second generation (2G): GSM, IS-95 (CDMA) Third generation (3G): cdma2000, WCDMA

Dr. Blanton - ENTC Introduction 26 DSP Architectures Multiply-Add-Accumulate (MAC) instruction Most common operation in DSP, A=B*C+D Typically 70 clock cycles with ordinary processors Single instruction cycle Havard architecture Separate data memory/bus and program memory/bus Multiple memory accesses per instruction cycle Modified von Neuman architecture multiple memory accesses per instruction cycle by the simple trick of running the memory clock faster than the instruction cycle.

Dr. Blanton - ENTC Introduction 27 DSP Architectures Deterministic interrupt service routine latency Special addressing modes supported in hardware Modulo addressing for circular buffers (e.g. FIR filters) Bit-reversed addressing (e.g. fast Fourier transforms) DSP needs a program that is a series of instructions that perform certain functions.

Dr. Blanton - ENTC Introduction 28 Digital vs Analog Digital Signal Processing More flexible. Often easier system upgrade. Data easily stored. Better control over accuracy requirements. Reproducibility. Advantages A/D & signal processors speed: wide-band signals still difficult to treat (real-time systems). Finite word-length effect. Obsolescence (analog electronics has it, too!). Limitations

Dr. Blanton - ENTC Introduction 29 Impact of DSP on Modern Living Cellular/mobile telephony Speech and channel coding Voice and data processing Power management Multipath equaliztion Digital audio Stereo and surround sound Audio equalization and mixing Electronic music Automotive Digital Audio Digital Radio Personal communication systems Active suspension Medical electronics Critical/intensive care monitors Digital X-rays ECG analyzers Cardiac monitors Medical imaging Personal computer Sound cards Data storage and retrieval Error correction/concealment Multimedia Modems

Dr. Blanton - ENTC Introduction 30 Analog & digital signals Continuous function continuous Continuous function V of continuous variable t (time, space etc) : V(t). Analog Discrete function discrete Discrete function V k of discrete sampling variable t k, with k = integer: V k = V(t k ). Digital Uniform (periodic) sampling. Sampling frequency f S = 1/ t S

Dr. Blanton - ENTC Introduction 31 DSP: aim & tools Software Programming languages: Pascal, C / C++... “High level” languages: Matlab, Mathcad, Mathematica… Dedicated tools (ex: filter design s/w packages). Applications Predicting a system’s output. Implementing a certain processing task. Studying a certain signal. General purpose processors (GPP),  -controllers. Digital Signal Processors (DSP). Programmable logic ( PLD, FPGA ). Hardware real-time DSPing FastFaster