ECE 353 Introduction to Microprocessor Systems

Slides:



Advertisements
Similar presentations
Parul Polytechnic Institute
Advertisements

The Intel 8255 Programmable Peripheral Interface chip is used to give the microprocessor (8088) access to programmable input/ output devices. It has three.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Chapter 2 Microprocessor Bus Transfers. Big- and Little-Endian Ordering Bit-endian processor architecture –High-order-byte-first (H-O-B-F) map the highest-order.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
I/O Unit.
Microprocessors. Microprocessor Buses Address Bus Address Bus One way street over which microprocessor sends an address code to memory or other external.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Vacuum tubes Transistor 1948 –Smaller, Cheaper, Less heat dissipation, Made from Silicon (Sand) –Invented at Bell Labs –Shockley, Brittain, Bardeen ICs.
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 2: 80386DX Internal Architecture & Data Organization.
ECE 4436ECE 5367 ISA I. ECE 4436ECE 5367 CPU = Seconds= Instructions x Cycles x Seconds Time Program Program Instruction Cycle CPU = Seconds= Instructions.
Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee.
6. The CPU and Memory Chapt. 7.
The 8086 Microprocessor The 8086, announced in 1978, was the first 16-bit microprocessor introduced by Intel Corporation 8086 is 16-bit MPU. Externally.
Computer Organization and Assembly language
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 2.
Computer Organization
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
ECE 353 Introduction to Microprocessor Systems
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Input/Output. I/O Initiation & Control  Transfer of data between circuitry external to the microprocessor and the microprocessor itself.  Transfer of.
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.
Lecture 13 Basic I/O Interface
Implementation of a Stored Program Computer ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides2.ppt Modification date: Oct 16,
Input-Output Organization
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
Introduction to Microprocessors
Microprocessor Microprocessor (cont..) It is a 16 bit μp has a 20 bit address bus can access upto 220 memory locations ( 1 MB). It can support.
1 The Instruction Set Architecture September 27 th, 2007 By: Corbin Johnson CS 146.
I/O Interface. INTRO TO I/O INTERFACE I/O instructions (IN, INS, OUT, and OUTS) are explained. Also isolated (direct or I/O mapped I/O) and memory-mapped.
ECE 353 Introduction to Microprocessor Systems Michael J. Schulte Week 9.
1 ECE243 ISA: Instruction Set Architecture. 2 A TYPICAL PC Motherboard (CPU, MEMORY) Hard drive CD/DVD R/W USB Connectors Graphics card Monitor Keyboard.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
8255 Programmable Peripheral Interface
Systems Architecture Keywords Fetch Execute Cycle
Computers’ Basic Organization
Seminar On 8085 microprocessor
COURSE OUTCOMES OF Microprocessor and programming
Microprocessor and Microcontroller Fundamentals
Computer Organization
ECE354 Embedded Systems Introduction C Andras Moritz.
Computing Systems Organization
UNIT – Microcontroller.
Introduction to 8086 Microprocessor
Introduction of microprocessor
Computer Organization and Assembly Language (COAL)
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Interfacing Memory Interfacing.
Number Representations and Basic Processor Architecture
8086 Ahad.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Introduction to Computing Chapter 0
Chapter 2: Data Manipulation
Programmable Peripheral Interface
What is Computer Architecture?
Chapter 2: Data Manipulation
Chapter 4 Introduction to Computer Organization
Introduction to Microprocessor Programming
What is Computer Architecture?
What is Computer Architecture?
Unit-I 80386DX Architecture
Information Representation: Machine Instructions
Chapter 2: Data Manipulation
CSE378 Introduction to Machine Organization
Microprocessor Lecture 7 (8086 Registers).
Presentation transcript:

ECE 353 Introduction to Microprocessor Systems Week 2 Michael J. Schulte

Topics Simple P Organization Simple P Architecture Fetch-Decode-Execute model Instruction encoding Notation – bit and byte numbering 80C188EB Organization 80C188EB Subsystems

Simple P Organization A less simple architecture

A Simple P Architecture Register Transfer Expressions Simple P Operation Fetch-Decode-Execute Instruction Set Typical Operations Operand Ordering Instruction Encoding and Decoding Example Register View (or programmers’ model) of a simple P

Notation Byte Ordering for Little Endian vs. Big Endian Big Endian Most Significant Byte (MSB) Least Significant Byte (LSB) Example: int x = 0x1234; Big-endian 12 34 Motorola, SPARC (big end in first byte) Little-endian 34 12 Intel (little end in first byte) The MIPS processor and compilers support both the Big Endian and Little Endian byte-ordering conventions. The names Big Endian and Little Endian are used because of the apt analogy to the bloody feud in the classic children's book Gulliver's Travels (quod vide). The feud was between the two mythical islands, Lilliput and Blefescu, over the correct end (big or little) at which to crack an egg. In our case, the issue has to do with the "end" (most significant or least significant) of a multiple-byte data type. With Big Endian ordering, the address of a multiple-byte data type is of its most significant byte (its "big end"), whereas with Little Endian ordering, the address is of its least significant byte (its "little end"). This is shown in Figure A.14. For structures declared in a high-level language, the order of bytes in memory will differ depending on the byte ordering and the particular data type, as shown for a C structure in Figure A.15. Most UNIXes (for example, all System V) and the Internet are Big Endian. Motorola 680x0 microprocessors (and therefore Macintoshes), Hewlett-Packard PA-RISC, and Sun SuperSPARC processors are Big Endian. The Silicon Graphics MIPS and IBM/Motorola PowerPC processors are both Little and Big Endian (bi-endian). Memory Address 000 001 002 003 Big Endian Byte 3 Byte 2 Byte 1 Byte 0 MSB in the lowest memory address Little Endian MSB in the highest memory address

80C188EB Organization System Diagram 80C188EB Block Diagram A Minimal 80C188EB CPU Subsystem Memory Subsystem 220 Addressable Locations (Bytes) Memory map Unpopulated areas Physical address

80C188EB I/O Subsystems I/O Space vs. Memory Space I/O Subsystem Isolated I/O space Memory-mapped I/O on 80C188EB I/O Subsystem I/O Map PCB (Peripheral Control Block) Configuration of integrated peripherals Relocatable Integrated I/O Unit Port 1 Port 2

80C188EB Modular Core CPU CPU Efficiency BIU EU Fetch/Execute Overlap Fetch-Decode-Execute Inefficiencies BIU Interface to memory and external I/O EU Processing functions Fetch/Execute Overlap Effects of Decoupling Performance Issues What next?

Wrapping Up Homework #1 due Friday 2/4 Week 3 reading is chapters 3.5-3.9, 4, 5 from textbook

Exercise A 32-bit word with value 354298h is stored in memory at address 8744h in a little-endian system. Show the address and contents of each byte of memory used. What type of operation is described by (PC)  (PC) - 43? A 20-bit address space has a 32KB RAM at base address 38000h, and a 128KB ROM at B0000h. Draw and label the memory map.

In-Class Exercise Design decode logic for the following devices with the indicated control inputs: 2Kx8 ROM (/CS, /OE) at 04XXXh 64Kx8 RAM (/CS, /OE, /WE) at A0000h Input Port (/OE) at 0378h Output Port (/WR) at 1XXXh Assume an 80C188EB address (A19:0) and control bus (/RD, /WR, /S2)

Intel SA-1110 StrongARM

80C188EB Block Diagram

RELREG

PCB

Register View of a Simple P aka “Von Neumann” or “Princeton” architecture

Register View of a Simple P with Isolated I/O space Most microprocessors do NOT have isolated I/O. The Intel x86 microprocessors do.

Register View of a Simple P with Separate Code and Data Memories aka “Harvard” architecture

80C188EB System Diagram

Minimal 80C188EB CPU Subsystem

80C188EB I/O Map

CPU and Bus Interface Unit