Architecture of the 680XX Outline Goal Reading 680XX Family

Slides:



Advertisements
Similar presentations
CPU Structure and Function
Advertisements

May 12 th, 2002 Microprocessors. Introduction Motorola controls roughly 40% of the 32-bit embedded processor market ColdFire is the next generation 68K.
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
Chapter 2 HARDWARE SUMMARY
Processor System Architecture
Chapter 12 CPU Structure and Function. CPU Sequence Fetch instructions Interpret instructions Fetch data Process data Write data.
Computer Organization and Architecture
Computer Organization and Architecture
TK 2633 Microprocessor & Interfacing
General information Course web page: html Office hours:- Prof. Eyal.
68k Software Model ECE511: Digital System & Microprocessor.
Computer Organization and Architecture The CPU Structure.
Exception Processing ECE511: Digital System & Microprocessor.
7/23 Coldfire Exceptions and Interrupts Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee
Room: E-3-31 Phone: Dr Masri Ayob TK 2633 Microprocessor & Interfacing Lecture 1: Introduction to 8085 Assembly Language.
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
Alyssa Concha Microprocessors Final Project ADSP – SHARC Digital Signal Processor.
Computer System Organization S H Srinivasan
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
ARM programmer’s model and assembler Embedded Systems Programming.
Pyxis Aaron Martin April Lewis Steve Sherk. September 5, 2005 Pyxis16002 General-purpose 16-bit RISC microprocessor bit registers 24-bit address.
680XX Hardware Interface Outline Goal Reading
EET 2261 Unit 2 HCS12 Architecture
Embedded Systems Programming
Prardiva Mangilipally
ARM Core Architecture. Common ARM Cortex Core In the case of ARM-based microcontrollers a company named ARM Holdings designs the core and licenses it.
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
CH12 CPU Structure and Function
The ARM Programmer’s Model
Exceptions and Interrupts 2
An Introduction to 8086 Microprocessor.
Topic:The Motorola M680X0 Family Team:Ulrike Eckardt Frederik Fleck André Kudra Jan Schuster Date:Thursday, 12/10/1998 CS-350 Computer Organization Term.
Edited By Miss Sarwat Iqbal (FUUAST) Last updated:21/1/13
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
MICROCOMPUTER ARCHITECTURE 1.  2.1 Basic Blocks of a Microcomputer  2.2 Typical Microcomputer Architecture  2.3 Single-Chip Microprocessor  2.4 Program.
The ISA Level The Instruction Set Architecture (ISA) is positioned between the microarchtecture level and the operating system level.  Historically, this.
Overview of Super-Harvard Architecture (SHARC) Daniel GlickDaniel Glick – May 15, 2002 for V (Dewar)
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Computer Organization 1 Instruction Fetch and Execute.
1 Introduction to Microcontroller Microcontroller Fundamentals & Programming.
Topics covered: Instruction Set Architecture CSE243: Introduction to Computer Architecture and Hardware/Software Interface.
COMPUTER ORGANIZATION AND ASSEMBLY LANGUAGE Lecture 21 & 22 Processor Organization Register Organization Course Instructor: Engr. Aisha Danish.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
68k Software Model ECE511: Digital System & Microprocessor.
Overview von Neumann Architecture Computer component Computer function
Execution Architecture MTT CPU08 Core M CPU08 INTRODUCTION.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Introduction of microprocessor
Lecture 3 - Instruction Set - Al
Number Representations and Basic Processor Architecture
8085 MICROPROCESSOR 8085 CPU Registers and Status Flags S Z AC P C A B
Computer Architecture
Introduction to Microprocessor Programming
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
CPU Structure and Function
Chapter 11 Processor Structure and function
Computer Architecture Assembly Language
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Presentation transcript:

Architecture of the 680XX Outline Goal Reading 680XX Family 68000/68040 Programming Model 68040 Internal Organization 68040 Instruction Pipeline Goal Understand 680XX programming model Understand 68040 organization Reading Microprocessor Systems Design, Clements, Ch. 2.1-2.3, 7.5, 7.6

680XX Family 68030 68000 68040 68010 68060 68020 on-chip data cache on-chip MMU more pipelining 68040 bigger caches on-chip floating-point deeper pipeline 68060 RISC-like superscalar branch prediction ColdFire is simplified version 68000 16-bit internal buses 16-bit external buses some 32-bit instructions no cache, external MMU floating-point coprocessor 68010 handle bus error (page fault) 68020 32-bit buses, execution units on-chip instruction cache more instruction pipelining

680XX Programming Model Internal programmer storage data registers address registers special-purpose registers

ColdFire Registers

ColdFire User Registers

Data Registers Names - D0 to D7 Size - 32-bits (longword) 16-bit (word) and 8-bit (byte) subsets Used for most data manipulation General-purpose - any data operation on any data register Operate on longwords, words, and bytes Depends on instruction Mnemonics - .L, .W, .B suffixes Examples ADD.L D0,D1 - D1 = D0 + D1 using all 32 register bits ADD.B D0,D1 - D1 = D0 + D1 using least significant 8 bits More significant register bits unaffected by byte and word ops

Address Registers Names - A0 to A7 Size - 32-bits Pointer registers - contain addresses of data in memory most memory references via address registers General-purpose - perform same operations on all operations affect all 32 bits A7 - stack pointer for subroutine return address two A7 registers - for user (USP) and supervisor (SSP) modes supervisor mode for operating system 68040 - interrupt stack pointer (ISP), master stack pointer (MSP) Off-chip address size 24-bits in 68000, 32-bits in 68040

Special-Purpose Registers Program counter (PC) 32-bits address of next instruction to execute Status register (SR) system/status byte condition code register (CCR) System/status byte controls operating mode S - user/supervisor mode T - trace mode trace exception after each instruction I0-I2 - interrupt mask current level of interrupt that interrupts

Special-Purpose Registers Condition code register (CCR) results of a previous instruction (e.g. ADD) use to execute conditional operations (e.g. IF) C - carry bit (for B, W, L operations) V - overflow (result overflowed) Z - zero (result is zero) N - negative (result is negative) X - extend (carry bit extended to higher bits)

Privileged States User mode Supervisor mode state where user programs execute Supervisor mode state where operating system executes Exceptions and interrupts switch to supervisor user does not directly handle them Hard reset switches to supervisor Privileged instructions only execute during supervisor mode supervisor can read/write SSP, ISP, MSP, status byte

Memory Organization Alignment of bytes, words, longwords in memory 680XX is a “big endian” machine MSB is stored lowest address location

ColdFire Internal Organization Data path I fetch, decode, address, D fetch execute, write pipeline Instruction cache Memory management unit SRAM Bus interface Peripherals

ColdFire Core Pipeline