Pipeline Processor Design Project Jarred Beck. Design Assumptions Three bit opcode This is to be able to address all of the 8k memory directly. 2 13 =

Slides:



Advertisements
Similar presentations
Adding the Jump Instruction
Advertisements

Morgan Kaufmann Publishers The Processor
1 ECE462/562 ISA and Datapath Review Ali Akoglu. 2 Instruction Set Architecture A very important abstraction –interface between hardware and low-level.
MIPS processor continued. Review Different parts in the processor should be connected appropriately to be able to carry out the functions. Connections.
ELEN 468 Advanced Logic Design
{ CPU Design-Project CPU Design-Project Multicycle Datapath with Finite State Machine as Control Unit N.S.V Ravi Tej Uppu.
Term Project Overview Yong Wang. Introduction Goal –familiarize with the design and implementation of a simple pipelined RISC processor What to do –Build.
Levels in Processor Design
Computer Structure - Datapath and Control Goal: Design a Datapath  We will design the datapath of a processor that includes a subset of the MIPS instruction.
COSC 3430 L08 Basic MIPS Architecture.1 COSC 3430 Computer Architecture Lecture 08 Processors Single cycle Datapath PH 3: Sections
1 Pipelining Reconsider the data path we just did Each instruction takes from 3 to 5 clock cycles However, there are parts of hardware that are idle many.
Ceng 450 Project. Pinout of Processor Interrupt is optional Processor in_port[7:0] out_port[7:0] clock rst interrupt.
Chapter 4 CSF 2009 The processor: Building the datapath.
Pipelined Datapath and Control
CS.305 Computer Architecture Enhancing Performance with Pipelining Adapted from Computer Organization and Design, Patterson & Hennessy, © 2005, and from.
CDA 3101 Fall 2013 Introduction to Computer Organization
EE 3755 Datapath Presented by Dr. Alexander Skavantzos.
CSE431 L06 Basic MIPS Pipelining.1Irwin, PSU, 2005 MIPS Pipeline Datapath Modifications  What do we need to add/modify in our MIPS datapath? l State registers.
Datapath and Control AddressInstruction Memory Write Data Reg Addr Register File ALU Data Memory Address Write Data Read Data PC Read Data Read Data.
COM181 Computer Hardware Lecture 6: The MIPs CPU.
MIPS Processor.
MIPS processor continued. Review Different parts in the processor should be connected appropriately to be able to carry out the functions. Connections.
Pipelining: Implementation CPSC 252 Computer Organization Ellen Walker, Hiram College.
Single-cycle CPU Control
Access the Instruction from Memory
EE204 Computer Architecture
CS161 – Design and Architecture of Computer Systems
Computer Organization
Handling Exceptions In MIPS, exceptions managed by a System Control Coprocessor (CP0) Save PC of offending (or interrupted) instruction In MIPS: Exception.
Single-Cycle Datapath and Control
Computer Architecture
CSCI206 - Computer Organization & Programming
Introduction CPU performance factors
Lecture 4: MIPS Instruction Set
ELEN 468 Advanced Logic Design
Morgan Kaufmann Publishers
Conditional Branches What distinguishes a computer from a simple calculator is its ability to make decisions Decisions are made using the if statement,
Single Cycle Processor
Assembly Programming using MIPS R3000 CPU
MIPS processor continued
ADITI SHINDE CHIDAMBARAM ALAGAPPAN
MIPS processor continued
CSCI206 - Computer Organization & Programming
Instructions - Type and Format
Design of the Control Unit for One-cycle Instruction Execution
CSCI206 - Computer Organization & Programming
MIPS Processor.
ECE232: Hardware Organization and Design
CSCI206 - Computer Organization & Programming
Levels in Processor Design
MIPS processor continued
Morgan Kaufmann Publishers The Processor
Rocky K. C. Chang 6 November 2017
Composing the Elements
Composing the Elements
The Processor Lecture 3.2: Building a Datapath with Control
Vishwani D. Agrawal James J. Danaher Professor
Systems Architecture I
COMP541 Datapaths I Montek Singh Mar 18, 2010.
Review Fig 4.15 page 320 / Fig page 322
Assembly Programming using MIPS R3000 CPU
MIPS e pipelining Tecniche di base.
Data Path Diagrams.
Introduction to Computer Organization and Architecture
The Processor: Datapath & Control.
Instruction Set Architecture
COMS 361 Computer Organization
CPU Design use pipeline
MIPS Processor.
Processor: Datapath and Control
Presentation transcript:

Pipeline Processor Design Project Jarred Beck

Design Assumptions Three bit opcode This is to be able to address all of the 8k memory directly = registers with some limitations In certain formats, only the first 8 are able to reached Two reserved registers for the lw and sw.

Design Assumptions Cont. Pipeline Data Path Structure Ease of testability. (theoretically) Fast. Compiler responsibility’s Hazard Prevention. Lw and Sw data moving. Jump return.

Register List RegisterRegister #Description $zero0 Holds constant zero value $a01 Holds an argument value $a12 Holds an argument value $a23 Holds an argument value $t04 Holds an argument value $t15 Holds a temporary value $s06 Holds a saved value $lr7 Last value loaded from memory $sr8 Last value stored into memory $s09 Holds a saved value $s110 Holds a saved value $t211 Holds a saved value $t312 Holds a saved value $ra13 Holds the return

Instruction Set Instruction Set Formats Inst. TypeFormat OpcodeResult Reg.Argument 1 Argument 2ALU Op Arithmatic (A)XXXXXXX XXXXX Opcode Compare Reg. 1 Compare Reg. 2Direction Branch Offset Branch (Br)XXX XXXXXXX OpcodeAddress Jump (J)XXXXXXXXXXXXXXXX OpcodeAddress Memory (M)XXXXXXXXXXXXXXXX

Instruction Set Cont. Opcode Instructions Arithmatic** Jump (J) Load Word (Lw) Store Word (Sw) Nop Hlt Beq Bneq ** has sub opcodes Instructions Add Sub And Or Beq Bneq j lw sw hlt nop

Control Unit 11 bits wide. Controls include Branch Flags Jump Flag Data Memory Read and Write Flags Register Write Flag Mux controls for Memory Input, Register Input, and Register Address

Control Unit Cont. Opcode Instructions Control Pattern Arithmatic** Jump (J) Load Word (Lw) Store Word (Sw) Nop Hlt Beq Bneq Control BitFunction 10Jump Flag 9BEQ Flag 8Data Read 7Data Write 6Data Select 5 Reg Write Sel. 4BNEQ Flag 3Reg Write 2PC Write 1 Branch Signal 0LW Addr Sel

Datapath

Simulation Results Individual Components All Components passed tests Datapath and CPU Datapath Passed tests Control Unit Passed test Memory passed Top level CPU problems

Moving Forward Debug Top level VHDL Altera passes compilation ModelSim gives error Synthesize corrected version into board

Questions? The End