ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 2.

Slides:



Advertisements
Similar presentations
1-1 Bard, Gerstlauer, Valvano, Yerraballi EE 319K Introduction to Microcontrollers Lecture 1: Introduction, Embedded Systems, Product Life-Cycle, ARM Programming.
Advertisements

MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
RLH - Spring 1998ECE 611 Hardware - 1 Basic Microprocessor Hardware ECE 611 Microprocessor Systems Dr. Roger L. Haggard, Associate Professor Department.
© 2010 Kettering University, All rights reserved..
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Engr. M.K.Debnath1 Microcontroller and PLC Eng. ISRAFIL KHAN. DIPLOMA IN ELECTRONIC.
© 2008 Wayne Wolf Overheads for Computers as Components 2nd ed. Instruction sets Computer architecture taxonomy. Assembly language. 1.
The ARM7TDMI Hardware Architecture
Embedded Systems Programming
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
Pyxis Aaron Martin April Lewis Steve Sherk. September 5, 2005 Pyxis16002 General-purpose 16-bit RISC microprocessor bit registers 24-bit address.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
Embedded Systems Programming
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Mid-Term Presentation Performed by: Roni.
Prardiva Mangilipally
6. The CPU and Memory Chapt. 7.
© 2009 Acehub Vista Sdn. Bhd Introduction to ARM ® Processors.
Computer Organization and Assembly language
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
1 © Unitec New Zealand Embedded Hardware ETEC 6416 Date: - 10 Aug,2011.
Atmega32 Architectural Overview
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
Computer Organization
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
ECE 353 Introduction to Microprocessor Systems
ECE 353 Introduction to Microprocessor Systems Michael Schulte Week 7.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
NS7520.
Introduction to Microprocessors
 Historical view:  1940’s-Vacuum tubes  1947-Transistors invented by willliam shockely & team  1959-Integrated chips invented by Texas Instrument.
MICROOCESSORS AND MICROCONTROLLER:
MICROPROCESSOR FUNCTION Technician Series Created Mar 2015 gmail.com.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
Microarchitecture. Outline Architecture vs. Microarchitecture Components MIPS Datapath 1.
Presented by Sadhish Prabhu
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.
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
CECS 347 Microprocessors and Controllers II Chapter 1 - An Overview of Computing Systems Instructor: Eric Hernandez.
ARM7 TDMI INTRODUCTION.
Seminar On 8085 microprocessor
Popular Microcontrollers and their Selection by Lachit Dutta
Computer Organization and Assembly Languages Yung-Yu Chuang
Microprocessor and Microcontroller Fundamentals
COMP2121: Microprocessors and Interfacing
ECE354 Embedded Systems Introduction C Andras Moritz.
Computing Systems Organization
Embedded Systems Design
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Chapter 1: The 8051 Microcontrollers
Introduction to Microprocessors and Microcontrollers
Interfacing Memory Interfacing.
Introduction to Digital Signal Processors (DSPs)
Morgan Kaufmann Publishers Computer Organization and Assembly Language
ECE 353 Introduction to Microprocessor Systems
Overheads for Computers as Components 2nd ed.
Chapter 4 Introduction to Computer Organization
Introduction to Microprocessor Programming
Digital Signal Processors-1
EECE.3170 Microprocessor Systems Design I
Computer Architecture
Presentation transcript:

ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 2

Learning Styles Assessment Only an assessment of preference ACT-81262REF SEN INT VIS1197-1VRB SEQ24193-GLO

Topics Microprocessor Organization Organization of Microprocessor Systems Endian-ness ARM History and Characteristics ARM7TDMI Implementation ADuC7026 Overview

Microprocessor Components Register file Program counter General purpose registers Hidden registers

Microprocessor Components ALU Buses

Microprocessor Components Memory interface Signal conventions  Active  Active-low  Active-high  Asserted  Negated Control and timing unit

A Simple  P Architecture A less simple architecture

Instruction Set Architectures (ISA) Complex Instruction Set (CISC) Single instructions for complex tasks (string search, block move, FFT, etc.) Usually have variable length instructions Registers often have specialized functions

Instruction Set Architecture (ISA) Reduced Instruction Set (RISC) Instructions for simple operations only Usually fixed length instructions Large orthogonal register sets Many processors are hybrids

Register Architectures Accumulator One instruction operand comes from a dedicated register (the accumulator) closely coupled to the ALU Register-Memory Instruction operands can be obtained from both registers and memory Commonly used in CISC machines Load-Store All operands must be in general-purpose registers Only a very limited number of instructions (loads/stores) can “touch” memory Commonly used in RISC machines

Microprocessor System Organization Memory Architectures Von Neumann architecture Harvard architecture Input/Output (I/O)  Memory-mapped I/O  Isolated I/O Examples

Microprocessor System Organization Programmer’s Model aka Register View Memory Maps

Endian-ness Byte Ordering for Little Endian vs. Big Endian Memory Address Big Endian Byte 0 Byte 1 Byte 2 Byte 3 MSB in the lowest (first) memory address Little Endian Byte 3 Byte 2 Byte 1 Byte 0 LSB in the lowest (first) memory address Byte 0 Byte 1 Byte 2 Byte 3 Most Significant Byte (MSB) Least Significant Byte (LSB)

14 ARM Ltd  Founded in November 1990  Spun out of Acorn Computers  Designs the ARM range of RISC processor cores  Licenses ARM core designs to semiconductor partners who fabricate and sell to their customers.  ARM does not fabricate silicon itself  Also develop technologies to assist with the design- in of the ARM architecture  Software tools, boards, debug hardware, application software, bus architectures, peripherals etc

15 ARM Partnership Model

16 ARM Powered Products

ARM Characteristics Designed to be a simple, efficient RISC core Small die area Low power Low interrupt latency These characteristics enabled ARM to become dominant in the cell phone market. Most cell phones contain a heterogenous multiprocessor SoC with an ARM and a DSP Advanced ARM designs (Cortex Mx, Ax) have become much more sophisticated (i.e. Intel Xscale in PDAs), but histoically had less success in penetrating other markets where power consumption issues are not as severe

ARM7TDMI Implementation The ARM7TDMI uses the ARM v4T ISA All instructions are conditional The ARM7TDMI is a basic load-store RISC Sixteen GP registers (R15-R0) with banking Three stage pipeline (FDE) No caches Support for ARM (32-bit) and Thumb (16-bit) instruction sets Multiply-accumulate (MAC) unit (Rd  Ra*Rb+Rc) On-chip hardware debug support

ARM7TDMI Processor Block Diagram

ARM7TDMI Processor Core

Analog Devices ADuC7026 ARM7TDMI core 62kB flash (16-bit), 8kB SRAM (32-bit) In-circuit programmable, JTAG debug 41.78MHz PLL with programmable divider Little-endian Numerous digital peripherals GPIO Timers (GP x4 including watchdog/wake-up) UART/I 2 C/SPI serial interfaces 3-phase PWM External memory interface (16-bit multiplexed) Analog input/output 12 in, 4 out Voltage reference and temperature sensor

ADuC7026 Block Diagram

ADuC7026 Memory Map

ADuC7026 Pin-Out (LQFP-80)

Assessment Team ConcepTest In-Class Address Decoding Exercise

Wrapping Up Week 3 reading is chapters 3 & 6 from the textbook, the ARM7TDMI Technical Reference Manual chapter 2, and Supplement #1 (Learn  Content) Pre-Quiz #2 to be done by Monday 2/6 class Homework #1 due Wednesday 2/8

Team ConcepTest A 32-bit word with value 0x54AF8 is stored in memory at address 0x00008DC44 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) – 0x0C? 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: 64Kx8 ROM (/CS, /OE) at 0x04XXXX 1Mx8 RAM (/CS, /OE, /WE) at 0xA00000 Input Port (/OE) at 0xFXXX00 Output Port (/WR) at 0x1XXXXX In all cases, assume a 24-bit address bus (A23:0) and active low control signals (/RD, /WR)

TMS320C671X Organization

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