1 VR4121 64-BIT MICROPROCESSOR โดย นางสาว พิลาวัณย์ พลับรู้การ นางสาว เพ็ญพรรณ อัศวนพเกียรติ

Slides:



Advertisements
Similar presentations
CPU Structure and Function
Advertisements

Computer Architecture
King Fahd University of Petroleum and Minerals King Fahd University of Petroleum and Minerals Computer Engineering Department Computer Engineering Department.
PIPELINE AND VECTOR PROCESSING
Final Project : Pipelined Microprocessor Joseph Kim.
AMD OPTERON ARCHITECTURE Omar Aragon Abdel Salam Sayyad This presentation is missing the references used.
COMP 4211 Seminar Presentation Based On: Computer Architecture A Quantitative Approach by Hennessey and Patterson Presenter : Feri Danes.
Programmable Interval Timer
Computer Organization and Architecture
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
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
Embedded Software Optimization for MP3 Decoder Implemented on RISC Core Yingbiao Yao, Qingdong Yao, Peng Liu, Zhibin Xiao Zhejiang University Information.
Embedded Systems Programming
Introduction to ARM Architecture, 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.
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.
Computer Organization and Assembly language
Group 5 Alain J. Percial Paula A. Ortiz Francis X. Ruiz.
CH12 CPU Structure and Function
Handheld Devices (portable but still explicit usage) Laptops Personal Digital Assistants (Palm, PocketPC) TabletPC Smart Phones.
Chapter 5 Basic Processing Unit
Samsung ARM S3C4510B Product overview System manager
© 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
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Processor and Memory Organisation By: Prof. Mahendra B. Salunke Asst. Prof., Department of Computer Engg, SITS, Pune-41 URL:
The original MIPS I CPU ISA has been extended forward three times The practical result is that a processor implementing MIPS IV is also able to run MIPS.
Modes of transfer in computer
Presented By: Rodney Fluharty Dec. 07, Who is ARM? Advanced Risc Microprocessor is the industry's leading provider of 16/32-bit embedded RISC microprocessor.
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.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
Computer and Information Sciences College / Computer Science Department CS 206 D Computer Organization and Assembly Language.
A bit about computer architecture CS 147, Fall Semester 2007 Robert Correll.
Computer Organization Rabie A. Ramadan Lecture 3.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
Overview von Neumann Architecture Computer component Computer function
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
Fundamentals of Programming Languages-II
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.
بسم الله الرحمن الرحيم MEMORY AND I/O.
LECTURE 10 Pipelining: Advanced ILP. EXCEPTIONS An exception, or interrupt, is an event other than regular transfers of control (branches, jumps, calls,
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
ALPHA 21164PC. Alpha 21164PC High-performance alternative to a Windows NT Personal Computer.
1 Computer Architecture & Assembly Language Spring 2001 Dr. Richard Spillman Lecture 24 –RISC II.
Protection in Virtual Mode
An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from.
ES C263 Microprocessor Programming and Interfacing
Computer Organization CS224
William Stallings Computer Organization and Architecture 8th Edition
UNIT – Microcontroller.
Single Clock Datapath With Control
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Pipelining: Advanced ILP
Morgan Kaufmann Publishers Computer Organization and Assembly Language
CSC 4250 Computer Architectures
Computer Architecture
First Generation 32–Bit microprocessor
ADSP 21065L.
Presentation transcript:

1 VR BIT MICROPROCESSOR โดย นางสาว พิลาวัณย์ พลับรู้การ นางสาว เพ็ญพรรณ อัศวนพเกียรติ

Agenda Overview of VR4121 VR4121 pipeline

Overview of VR4121

Introduction to VR bit microprocessor in VR series manufactured by NEC. Designed for high performance handheld portable computing devices. Designed around the MIPS RISC architecture developed by MIPS technologies.

Block Diagram HSP RTC DSU ICU PMU CMU DCU DMAU GIU KIU LED AIU PIU SIU FIR D/A A/D PLL VR4120 CPU core 131/168 MHz BUS CONTROL UNIT OSB I/O keyboard RS232 driver LED Touch panel LCD module PC card ROM/ Flash EDO/ SDRAM BUS CONTROL UNIT HSP RTC DSU ICU PMU CMU DCU DMAU GIU KIU LED AIU PIU SIU FIR

VR4120 CPU core CPU Coprocessor 0 Instruction cache Data cache CPU bus interface Clock generator

CPU registers R0 = 0 R1 R2 R R31 = Link Address 63 0 HI 63 0 LO 63 0 PC 63 0 General purpose registers Multiply / divide registers Program counter

Data format and addressing Double word 64 bits Word 32 bits Half word 16 bits Byte 8 bits VR4121 supports the little-endian order only

CPU instruction set Load and store instructions Computational instructions Jump and branch instructions Coprocessor 0 instructions Special instructions Load and store instructions Computational instructions Jump and branch instructions Special instructions 32 bit length instruction MIPS III16 bit length instruction MIPS 16

Memory Management Unit : MMU Virtual addresses are translated into physical addresses using an on-chip TLB. The on-chip TLB is a fully- associative memory that holds 32 entries. These pages can have five different sizes, 1 K, 4 K, 16 K, 64 K, and 256 K, and can be specified in each entry.

Cache memory (1) Cache controller I-cache D-cache Main memory VR4120 CPU core

Cache memory (2) The instruction cache is 16 Kbytes and the data cache is 8 Kbytes. The line size for the instruction/data cache is 4 words (16 bytes). The VR4120 CPU core uses write- back policy.

Conclusion : Features of VR4121 Employs 64-bit RISC CPU Core (VR 4120 equivalent) Internal 64-bit data processing. Optimized 6-stage pipeline. On-chip cache memory Instruction cache: 16 Kbytes, Data cache: 8 Kbytes. Address space Physical address space: 32 bits, Virtual address space: 40 bits.

Conclusion : Features of VR4121 Memory controller (supports ROM, EDO-type DRAM, SDRAM, SROM, and flash memory) Keyboard, Touch panel, audio interface. DMA, interrupt controller. Serial interface. General-purpose ports. IrDA interface.

Conclusion : Features of VR4121 Effective power management features, which include the following four operating modes:Full-speed mode, Standby mode, Suspend mode, Hibernate mode. External input clock: kHz, MHz (for internal CPU core and peripheral unit operation), 48 MHz(dedicated for IrDA interface)

VR4121 Pipeline

Pipeline Stages –The pipeline is controlled by PClock. Pipeline in MIPS III(32-bit length) instruction mode –The execution of each instruction takes at least 5 PCycles. IF RF EX DC WB Stage PClock Pcycle

V R 4121 Pipeline Pipeline in MIPS16 (16-bit length) instruction mode –The execution of each instruction requires at least 6 PCycles. Stage PClock Pcycle IF IT RF EX DCWB

Delay in Pipeline Branch Delay, a one-cycle branch delay occurs when: –Target address is calculated by a jump instruction. –Branch condition of branch instruction is met and then logical operation starts for branch-destination comparison. Load Delay –A load instruction that does not allow its result to be used by the instruction immediately following is called a delayed load instruction.

Delay in Pipeline (Branch delay slot) Target IF RF EX DC WB Branch Branch delay Branch Delay (in MIPS III Instruction Mode)

Delay in Pipeline Branch delay IF IT RF EX DCWB IF IT RF EX DCWB IF IT RF EX DCWB (Branch delay slot) Target Branch Delay (in MIPS 16 Instruction Mode) Branch

Interlock and Exception Handling Pipeline flow is interrupted when cache misses or exceptions occur, or when data dependencies are detected. Faults ExceptionsInterlocks StallAbortSlip

Exception conditions Example: Interrupt exception, ITLB exception. When an exception condition occurs, the relevant instruction and all those that follow it in the pipeline are cancelled. IF RF EX DC WB IF RF IF Exception 1 2 Exception vector Discard stage Interpret

Stall conditions Example: Instruction TLB Miss and Instruction Cache Miss. When a stall occurs, the processor will resolve the condition and then the pipeline will continue.

Stall Conditions IF RF EX DC DC IF RF EX EX IF RF RF EX EX EX DC WB RF RF RF EX DCWB IF RF EX DC WBWB DC DC DC WB WB WB WB Data Cache Miss Stall Detect data cache miss 2. Starting moving data cache line to write buffer 3. Get last word into cache and restart pipeline

Stall conditions IF RF EX DC DC IF RF EX EX IF RF RF EX EX EX DC WB RF RF RF EX DCWB DC DC DC WB WB WB WB Cache Instruction Stall 1 2 IF RF EX DC WBWB 1. Cache instruction start 2. Cache instruction complete

Slip conditions If all of the source operands are available (either from the register file or via the internal bypass logic) and all the hardware resources necessary to complete the instruction will be available whenever required, then the instruction "run"; otherwise, the instruction will "slip". Example: Load Data Interlock and MD Busy Interlock.

Slip conditions Load Data Interlock IF RF EX DC WB IF RF EX DC DC2WB 12 IF RF EX DC DC2WB IF RF RF RF EXDC WB 1 Bypass Load A Load B Add A,B 1. Detect load interlock 2.Get the target data

Slip conditions IF RF EX DC WB 121 Bypass IF RF EX EX EXEXWBDC 11 IF RF EX EX EXEXWBDC MUL/DIV Multiply/Division opration MFHI/MFLO 1. Detect MD busy Interlock 2. Get target data MD Busy Interlock

Bypassing Operand bypass allows an instruction in the EX stage to continue without having to wait for data or conditions to be written to the register file at the end of the WB stage.

V R Series Supported Instruction

End of the presentation... Any Question ????