Preview

Microprocessor without Interlocked Pipeline Stages Architecture

Good Essays
Open Document
Open Document
4876 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Microprocessor without Interlocked Pipeline Stages Architecture
MIPS Architecture
 MIPS stands for 'Microprocessor without Interlocked

Pipeline Stages’  RISC Instruction Set Architecture  32 bit general purpose registers  PC (program counter) holds address of next instruction  all MIPS Instructions are same length  Few Instruction formats and simple addressing modes

Implementing MIPS
• • Implementation of the MIPS instruction set Simplified to contain only
– arithmetic-logic instructions: add, sub, and, or, slt – memory-reference instructions: lw, sw – control-flow instructions: beq, j
6 bits 5 bits 5 bits 5 bits 5 bits 6 bits

op
6 bits

rs
5 bits

rt
5 bits

rd

shamt funct
16 bits

R-Format

op
6 bits

rs

rt
26 bits

offset

I-Format J-Format

op

address

MIPS Instruction Format
• An instruction like “add” consists of 6 fields op 6

rs
5

rt
5

rd
5

shamt funct
5 6

 op: opcode

    

rs: first register source operand rt: second register source operand rd: register destination shamt: shift amount (see later) funct: function code (to select a variant of the operation, based on the opcode)

Overview: Processor Implementation Styles
• Single Cycle
– perform each instruction in 1 clock cycle – clock cycle must be long enough for slowest instruction; therefore, – disadvantage: only as fast as slowest instruction

• Multi-Cycle
– break fetch/execute cycle into multiple steps – perform 1 step in each clock cycle – advantage: each instruction uses only as many cycles as it needs

• Pipelined
– execute each instruction in multiple steps – perform 1 step / instruction in each clock cycle – process multiple instructions in parallel – assembly line

Implementing MIPS: the Fetch/Execute Cycle
• High-level abstract view of fetch/execute implementation
– – – – – use the program counter (PC) to read instruction address fetch the instruction from memory and increment PC use fields of the instruction to select registers to read execute depending

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    2. What type of instruction is used to execute different code based on a condition? -Jumps…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    instructions to load the registers of the processor with data from a central memory and to…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Satisfactory Essays

    Faith Integration

    • 613 Words
    • 3 Pages

    The processor could keep track of what locations are associated with each process and limit access to locations that are outside of a program's extent. By using base and limits registers and by performing a check for every memory access, information regarding the extent of a program's memory could be maintained…

    • 613 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ece362 lab04

    • 559 Words
    • 2 Pages

    This exercise investigates conditional code and branches use in ARM Cortex-M3 assembly language program and use of Keil MDK-ARM debugger. The objective of this exercise is familiarization with Cortex-M3 conditional codes through a prime-number test design and programming.…

    • 559 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Computer Concepts Exercises

    • 2338 Words
    • 10 Pages

    011000 The list of codes for a microprocessor’s instruction set is called machine language. (Answer: True)…

    • 2338 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    A j-format instruction (Jump) which has only the address field in addition to the opcode field.…

    • 500 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab Quiz 5

    • 708 Words
    • 3 Pages

    4. This register is often used to hold a program address but does not usually contain the address of the instruction being executed.…

    • 708 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Instruction set types

    • 431 Words
    • 2 Pages

    In this form of architecture, instructions are highly encoded in order to enhance the code density.Due to the way the instructions are packed together, results are in smaller program sizes, and they have slow memory access.…

    • 431 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Question 2 (5 Marks) Consider the following program segment LDAA #$05 LDAB #$04 INCB SBA WAI After executing the program, the condition code register flags (N,V,Z,C) will be: N V Z C…

    • 694 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Branch Delay

    • 1747 Words
    • 7 Pages

    In the MIPS CPU, the branch operation is delayed by one instruction. The MAL assembler hides the delayed branch by inserting an instruction after each branch or jump. The instruction following a branch or jump is called the delay slot. By default the assembler inserts an instruction which does nothing, a no-op.…

    • 1747 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Second, for parallel running, the new and the old systems operate together fully for a specified period, both processing current data and enabling cross checking to be made. With the data is input to both systems, the results can be verified whether outputs from the two systems are the same.…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pc Structure

    • 510 Words
    • 3 Pages

    | * 64 KB Main Memory * 1.3 microseconds clock cycle time * 246 Instructions…

    • 510 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Assembly language lecture6

    • 991 Words
    • 13 Pages

    current value of IP (IP := 0002 + 3 = 0005) => IP will point to…

    • 991 Words
    • 13 Pages
    Satisfactory Essays
  • Good Essays

    Cisc vs. Risc

    • 1353 Words
    • 6 Pages

    Typically CISC chips have a large amount of different and complex instructions. The philosophy behind it is that hardware is always faster than software, therefore one should make a powerful instructionset, which provides programmers with assembly instructions to do a lot with short programs.…

    • 1353 Words
    • 6 Pages
    Good Essays
  • Good Essays

    int function1(char x) { //parameter x passed to the function, function returns an integer value…

    • 1596 Words
    • 7 Pages
    Good Essays

Related Topics