1/1/ / faculty of Electrical Engineering eindhoven university of technology Input/Output devices Part 3: Programmable I/O and DSP's dr.ir. A.C. Verschueren.

Slides:



Advertisements
Similar presentations
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Advertisements

Computer Architecture
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Memory Management and Protection Part 3:Virtual memory, mode switching,
1/1/ / faculty of Electrical Engineering eindhoven university of technology Processor support devices Part 3:Memory management, floating point dr.ir. A.C.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Speeding it up Part 3: Out-Of-Order and SuperScalar execution dr.ir. A.C. Verschueren.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Programmable Interval Timer
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Processor support devices Part 1:Interrupts and shared memory dr.ir. A.C. Verschueren.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
I/O Unit.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
 CPU: Central Processing Unit  I/O: Input /Output  Bus: Address bus & Data bus  Memory: RAM & ROM  Timer  Interrupt  Serial Port  Parallel Port.
CS-334: Computer Architecture
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Architectures of Digital Information Systems Part 2: Programmable I/O and Multiprocessors.
Introduction to Microprocessors Number Systems and Conversions No /6/00 Chapter 1: Introduction to 68HC11 The 68HC11 Microcontroller.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
The 8051 Microcontroller Architecture
Group 7 Jhonathan Briceño Reginal Etienne Christian Kruger Felix Martinez Dane Minott Immer S Rivera Ander Sahonero.
Using Programmable Logic to Accelerate DSP Functions 1 Using Programmable Logic to Accelerate DSP Functions “An Overview“ Greg Goslin Digital Signal Processing.
Chapter 10 Input/Output Interface Circuits and LSI Peripheral Devices
Study of AES Encryption/Decription Optimizations Nathan Windels.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
INTRODUCTION TO MICROCONTROLLER. What is a Microcontroller A microcontroller is a complete microprocessor system, consisting of microprocessor, limited.
Input / Output CS 537 – Introduction to Operating Systems.
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Interconnection Structures
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
CPU BASICS, THE BUS, CLOCKS, I/O SUBSYSTEM Philip Chan.
MICROPROCESSOR INPUT/OUTPUT
1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7. Optical Discs 10/01/20151Input/Output.
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
SYSTEM-ON-CHIP (SoC) AND USE OF VLSI CIRCUIT DESIGN TECHNOLOGY.
2007 Oct 18SYSC2001* - Dept. Systems and Computer Engineering, Carleton University Fall SYSC2001-Ch7.ppt 1 Chapter 7 Input/Output 7.1 External Devices.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
CS 342 – Operating Systems Spring 2003 © Ibrahim Korpeoglu Bilkent University1 Input/Output CS 342 – Operating Systems Ibrahim Korpeoglu Bilkent University.
Internal Input/Output Devices (I/O Subsystems)
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Microprocessor-based Systems
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Input-Output Organization
Modes of transfer in computer
CH10 Input/Output DDDData Transfer EEEExternal Devices IIII/O Modules PPPProgrammed I/O IIIInterrupt-Driven I/O DDDDirect Memory.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
MICROOCESSORS AND MICROCONTROLLER:
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
DSP C5000 Chapter 10 Understanding and Programming the Host Port Interface (EHPI) Copyright © 2003 Texas Instruments. All rights reserved.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
Input/Output (I/O) Important OS function – control I/O
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
Processor support devices Part 2: Caches and the MESI protocol
UNIT – Microcontroller.
Microcomputer Architecture
Presentation transcript:

1/1/ / faculty of Electrical Engineering eindhoven university of technology Input/Output devices Part 3: Programmable I/O and DSP's dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital Information Systems

1/1/ / faculty of Electrical Engineering eindhoven university of technology Programmable input/output controllers Many I/O control tasks can be done in software, using simple parallel ports and timers –Keyboard scanning and encoding –Simple motor control –Pulse counting for position encoding –Other non-standard low speed (but time-critical) tasks Don’t use main processor for this ‘simple’ stuff ! Use programmable I/O controllers here: modified single-chip microcomputers

1/1/ / faculty of Electrical Engineering eindhoven university of technology The Intel 8042 ‘slave processor’ 8042 data read write address chip select DMA req. DMA ack. output full (not) input full 8048 CPU 2KB program 128B data master CPU interface 8 bits timer 8 bit parr. I/O 8 bit parr. I/O int inputs ! interrupt requests Original 8048: external data bus interface and I/O port

1/1/ / faculty of Electrical Engineering eindhoven university of technology data output register status register input full output full flag 0 flag 1 set 'out dbb,a' load read status external data bus data input register The 8042 'master CPU interface' –Flag 0 (and 4 other status reg. bits) are ‘user defined’ read data res write data/cmmd load internal data bus input full pin output full pin internal interrupt 'clear/complement/jump f0' 'clear/complement/jump f1' set s/r 'in a,dbb' res copy of addres s input

1/1/ / faculty of Electrical Engineering eindhoven university of technology The Z8090 Universal Peripheral Controller Based upon the Zilog Z8 microcomputer –8 bits CPU, 2 KB program ROM, 256 byte data RAM –Memory mapped I/O includes timers and parr. ports Master CPU interface differs a lot from 8042 –Master reads/writes 16 byte ‘window’ in data RAM window location controlled by Z8090 program –Simple form of DMA to/from data RAM start and end locations controlled by Z8090 program –Z8090 interrupts master by setting output bit –Master interrupts Z8090 by dummy write action

1/1/ / faculty of Electrical Engineering eindhoven university of technology Special purpose co-processors (1) Relatively simple co-processors with a special data path can beat complex standard processors ! Co-processors for standard algorithms exist Data encryption and decryption DES and RSA devices are available. Separate devices are preferred because of security reasons ! Data compression and expansion Image (CCITT FAX, JPEG, MPEG) and data file (LZW = ‘ZIP’) (de-)compression devices exist

1/1/ / faculty of Electrical Engineering eindhoven university of technology Special purpose co-processors (2) Parametrisation is possible with writable ‘constants’ and programmable sequencing logic Fast Fourier Transform devices have programmable address generators and multiplication ‘constants’ (In ‑ )Finite Impulse Response filters are parametrised in the same way to generate different characteristics 2-D graphics image filter devices are more of the same Used for noise reduction, smoothing Edge detection, sharpening, contrast enhancement Removing distortions and blurr (very complex!)

1/1/ / faculty of Electrical Engineering eindhoven university of technology Digital Signal Processing Lots of Digital Signal Processors (DSP's) have been designed for digital filtering operations     l i iinn Cinout 0 )( Finite Impulse Response filter –One output requires l adds and (l + 1) multiplications –The last l input values must be remembered and an array of (l + 1) constants must be available somewhere DSP = multiply-add datapath + >1 memory + loop addressing

1/1/ / faculty of Electrical Engineering eindhoven university of technology Digital Signal Processors Support standard CPU operations: more general purpose than FIR/IIR filter devices ! –They can take decisions based upon the filtered values and switch between different filter characteristics Needed for, for instance, telephone line modems –They can be programmed for 'strange' input value addressing schemes Like used in two-dimensional image filtering

1/1/ / faculty of Electrical Engineering eindhoven university of technology High performance DSP’s: parallel Multiple on-chip memories with parallel access using independent data and address buses Multiple I/O interfaces use DMA to read/write the memories in parallel to calculations Programmable address generators running in parallel to actual multiply/add datapath Actual calculations use floating point for a wider 'dynamic range' and lower digital output noise

1/1/ / faculty of Electrical Engineering eindhoven university of technology The ultimate in DSP’s: real-time video Need on the order of 1 billion operations/second for 3-D picture generation or video filtering Intel’s Multi-Media eXtension (MMX): 8 identical byte operations with one instruction Texas Instrument’s 32080: 5 processors (w. ‘MMX’) and 25 memories on one chip Philips’ TriMedia: 5 ‘MMX’-like instructions in one super- instruction