May 12 th, 2002 Microprocessors. Introduction Motorola controls roughly 40% of the 32-bit embedded processor market ColdFire is the next generation 68K.

Slides:



Advertisements
Similar presentations
CPU Structure and Function
Advertisements

THE SPARC ARCHITECTURE Presented By M. SHAHADAT HOSSAIN NAIEEM TOURZO KHAN SARDER FERDOUS SADIQUE
The 8051 Microcontroller and Embedded Systems
9/20/6Lecture 3 - Instruction Set - Al Instruction Set.
Interrupts Chapter 8 – pp Chapter 10 – pp Appendix A – pp 537 &
9/20/6Lecture 3 - Instruction Set - Al1 Exception Handling (2)
Computer Organization and Architecture
Microprocessors General Features To be Examined For Each Chip Jan 24 th, 2002.
THE SPARC ARCHITECTURE: THE SUPERSPARC MICROPROCESSOR Presented By OZAN AKTAN
Intel MP.
Computer Organization and Architecture
Computer Organization and Architecture
Architecture of the 680XX Outline Goal Reading 680XX Family
Processor Technology and Architecture
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
COMP3221: Microprocessors and Embedded Systems Lecture 2: Instruction Set Architecture (ISA) Lecturer: Hui Wu Session.
Computer Organization and Architecture The CPU Structure.
Chapter 12 Three System Examples The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander.
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Pyxis Aaron Martin April Lewis Steve Sherk. September 5, 2005 Pyxis16002 General-purpose 16-bit RISC microprocessor bit registers 24-bit address.
1 RISC Machines l RISC system »instruction –standard, fixed instruction format –single-cycle execution of most instructions –memory access is available.
EET 2261 Unit 2 HCS12 Architecture
Embedded Systems Programming
CH12 CPU Structure and Function
Topic:The Motorola M680X0 Family Team:Ulrike Eckardt Frederik Fleck André Kudra Jan Schuster Date:Thursday, 12/10/1998 CS-350 Computer Organization Term.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the SH-2 32-bit RISC.
Introduction of Intel Processors
Overview of Super-Harvard Architecture (SHARC) Daniel GlickDaniel Glick – May 15, 2002 for V (Dewar)
IBM System/360 Matt Babaian Nathan Clark Paul DesRoches Jefferson Miner Tara Sodano.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Interrupt driven I/O. MIPS RISC Exception Mechanism The processor operates in The processor operates in user mode user mode kernel mode kernel mode Access.
Virtual 8086 Mode  The supports execution of one or more 8086, 8088, 80186, or programs in an protected-mode environment.  An 8086.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Next Generation ISA Itanium / IA-64. Operating Environments IA-32 Protected Mode/Real Mode/Virtual Mode - if supported by the OS IA-64 Instruction Set.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
AMD K-6 Processor Evaluation. Registers AMD-K6 Registers General purpose registers Segment registers Floating point registers MMX registers EFLAGS register.
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
بسم الله الرحمن الرحيم MEMORY AND I/O.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
Sun Microsystems’ UltraSPARC-IIi a Stunt-Free Presentation by Christine Munson Amanda Peters Carl Sadler.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Pirouz Bazargan SabetDecember 2003 Effective Implementation of a 32-bit RISC Processor Pirouz Bazargan Sabet University of Paris 6 - LIP6 - ASIM
1 x86 Programming Model Microprocessor Computer Architectures Lab Components of any Computer System Control – logic that controls fetching/execution of.
Introduction to Exceptions 1 Introduction to Exceptions ARM Advanced RISC Machines.
Chapter Overview General Concepts IA-32 Processor Architecture
Part of the Assembler Language Programmers Toolbox
Visit for more Learning Resources
Introduction of microprocessor
Overview Introduction General Register Organization Stack Organization
Subject Name: Digital Signal Processing Algorithms & Architecture
EE 445S Real-Time Digital Signal Processing Lab Spring 2014
CS 301 Fall 2002 Computer Organization
Classification of instructions
Introduction to Microprocessor Programming
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
8051 ASSEMBLY LANGUAGE PROGRAMMING
CPU Structure and Function
Chapter 11 Processor Structure and function
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Presentation transcript:

May 12 th, 2002 Microprocessors

Introduction Motorola controls roughly 40% of the 32-bit embedded processor market ColdFire is the next generation 68K (research on commonly used instructions and addressing modes) Result is a variable length RISC chip  Length varies from 1 to 3 words

Integer Units 16 general purpose 32-bit registers  D0-D7: Data registers Can be used as index registers  A0-A7: Address registers Software stack pointers Index registers Base address registers A7 is used as hardware stack pointer during stacking for subroutine calls and exception handling

Integer Units Cont… 32-bit Program Counter (PC)  For some modes the PC can serve as a pointer for PC relative addressing 8-bit Condition Code Register (CCR)  Status Register’s low order byte. Only potion of the SR available in User Mode

CCR

Floating Point Units 8 64-bit FP data registers (FP0-FP7)  FP data registers are analogous to the integer data registers  Numbers stored in double-precision format All external data, operands, etc are converted to double –precision before storage  A reset or a null-restore sets FP0-FP7 to positive, nonsignaling NANs

FPUs cont… 32-bit FP control register (FPCR)  Next slide has bit information for FPCR 32-bit FP status register (FPSR)  Refer to manual pages 16 and 17 for bit information 32-bit FP instruction address register (FPIAR)

FPUs cont… ColdFire can execute Integer and FP instructions simultaneously  In case of exception, PC value stacked doesn’t may not point to correct instruction  For the FPU instructions that can generate traps, the FPIAR is loaded with the PC address before FPU begins instructions

Optional MAC Module Multiply and Accumulate Module 32-bit MAC status register (MACSR) 32-bit accumulator register (ACC)  Contains the result of MAC operations 32-bit MAC mask register (MASK)  Only the low-order 16-bits are implemented  When loaded, the low-order 16 bits of the operand are loaded into the register. When stored, the upper 16-bits are forced to 1.

Optional EMAC Module Enhanced MAC 32-bit MACSR  Plus 4 indicator bits for product of accumulation overflow (PAV0-PAV3) 4 32-bit accumulators (ACC0-ACC3) 8 8-bit accumulator extensions (ACCext01, ACCext23)  See manual pages 22 and 23

EMAC cont… 32-bit mask register (MASK) Integrated EMAC provides a common set of DSP operations and enhances the Integer multiply instructions. Provides functionality in 3 areas: 1. Faster signed and unsigned integer multiplies 2. New multiply-accumulate operations supporting signed and unsigned operands 3. New miscellaneous register operations

Supervisor Programming Model Used to implement OS functions. All accesses that affect the control features of the ColdFire processors must be made in supervisor mode. 16-bit status register (SR) 32-bit supervisor stack pointer (OTHER_A7) 32-bit vector base register (VBR) 32-bit cache control register (CACR) 32-bit address space ID register (ASID) 2 32-bit data access control registers (ACR0-1) 2 32-bit instruction access control registers (ACR2-3)

continued… 32-bit MMU base address register (MMUBAR) 2 32-bit ROM base address registers (ROMBAR0-1) 2 32-bit RAM base address registers (RAMBAR0-1) 32-bit module base address register (MBAR) Not all registers are implemented on every version of ColdFire (see page 24)

OTHER_A7 This only exists in V4 of ColdFire  In V4, the SSP and SP exist to provide the necessary support for isolation as dictated by the virtual memory management scheme provided by the Memory Management Unit (MMU). if SR[S] = 1 then A7 = Supervisor Stack Pointer other_A7 = User Stack Pointer else A7 = User Stack Pointer other_A7 = Supervisor Stack Pointer

VBR (Vector Base Reg.) Bits 0-19 are set to 0 Bits contains the 1MByte-aligned base address of the exception vector table in memory. CACR (Cache Control Reg.) Controls operation of data and instruction cache memory Bits can enable, freeze, invalidate cache Also can define default cache mode and write-protect fields

ASID (Address Space Ident.) Only the low-order 8 bits are implemented. Each process has it’s own value, and with the 32-bit MMU will create a 40-bit virtual address space.  Extends 4GB addressable space to 1TB

continued… The other registers address how memory is accessed and mapped. See manual pages 26-28

Addressing Modes There is an extensive list of ASM commands that use different addressing modes.  They enable you to do multiple operations and access multiple resources using basic syntax, such as postincrement and predecrement of registers. Too many to discuss here. See manual pages

Marketing Overview 2 Independent decoupled piplelines  4-stage Instruction Fetch Pipeline (IFP)  5-stage Operand Execution Pipeline  FIFO I-buffer is the decoupling mechanism Limited superscalar execution through use of instruction folding Approaches dual-issue performance but at a much lower silicon cost. 2-level branch acceleration mechanisms

Summary This processor specializes in small code and quick execution. Able to extend addressable space well beyond the 4GB virtual memory range Excels in integer manipulation and DSP functions by use of EMAC module, quite common. Lots of details in the compressed code, reference guide is a must have.

References and Links ColdFire Family Programmer's Reference Manual ColdFire V4 General Information Links of Interest