CS2100 Computer Organisation The Processor: Control (AY2015/6) Semester 1.

Slides:



Advertisements
Similar presentations
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Computer Organization Lecture 13 - A Verilog.
Advertisements

1 Datapath and Control (Multicycle datapath) CDA 3101 Discussion Section 11.
COMP541 Datapath & Single-Cycle MIPS
CML CML CS 230: Computer Organization and Assembly Language Aviral Shrivastava Department of Computer Science and Engineering School of Computing and Informatics.
Processor II CPSC 321 Andreas Klappenecker. Midterm 1 Tuesday, October 5 Thursday, October 7 Advantage: less material Disadvantage: less preparation time.
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.
The Processor 2 Andreas Klappenecker CPSC321 Computer Architecture.
CS 61C discussion 11 (1) Jaein Jeong 2002 Draw the data path: ADD or SUB Clk 555 RwRaRb bit Registers Extender Clk WrEn Adr Data Memory ALU Instruction.
Copyright 1998 Morgan Kaufmann Publishers, Inc. All rights reserved. Digital Architectures1 Machine instructions execution steps (1) FETCH = Read the instruction.
The Datapath Andreas Klappenecker CPSC321 Computer Architecture.
EECC550 - Shaaban #1 Selected Chapter 5 For More Practice Exercises Winter The MIPS jump and link instruction, jal is used to support procedure.
©UCB CS 161Computer Architecture Chapter 5 Instructor: L.N. Bhuyan LECTURE 10.
The Processor: Datapath & Control. Implementing Instructions Simplified instruction set memory-reference instructions: lw, sw arithmetic-logical instructions:
Computer Organization CS224 Fall 2012 Lesson 26. Summary of Control Signals addsuborilwswbeqj RegDst ALUSrc MemtoReg RegWrite MemWrite Branch Jump ExtOp.
Chapter 4 CSF 2009 The processor: Building the datapath.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /19/2013 Lecture 17: The Processor - Overview Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
CS2100 Computer Organisation
COMP541 Datapaths II & Single-Cycle MIPS
Datapath Design Computer Organization I 1 August 2009 © McQuain, Feng & Ribbens Composing the Elements First-cut data path does an instruction.
CS2100 Computer Organisation The Processor: Datapath (AY2015/6) Semester 1.
Computer Architecture and Design – ECEN 350 Part 6 [Some slides adapted from A. Sprintson, M. Irwin, D. Paterson and others]
1 COMP541 Datapaths II & Control I Montek Singh Mar 22, 2010.
MIPS processor continued. In Class Exercise Question Show the datapath of a processor that supports only R-type and jr reg instructions.
Computer Architecture Lecture 10 MIPS Control Unit Ralph Grishman Oct NYU.
Computer Architecture Lecture 9 MIPS ALU and Data Paths Ralph Grishman Oct NYU.
Single Cycle Datapath Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
MIPS processor continued
Datapath and Control AddressInstruction Memory Write Data Reg Addr Register File ALU Data Memory Address Write Data Read Data PC Read Data Read Data.
MIPS Processor.
Morgan Kaufmann Publishers The Processor
May 22, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 14: A Simple Implementation of MIPS * Jeremy R. Johnson Mon. May 17, 2000.
Lecture 9. MIPS Processor Design – Single-Cycle Processor Design Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System.
Lecture 5. MIPS Processor Design
Computer Architecture Lecture 6.  Our implementation of the MIPS is simplified memory-reference instructions: lw, sw arithmetic-logical instructions:
Adapted from Computer Organization and Design, Patterson & Hennessy, UCB ECE232: Hardware Organization and Design Part 9: MIPS Lite 4 th edition: Chapter.
ECE/CS 552: Single Cycle Control Path
Single-cycle CPU Control
Access the Instruction from Memory
EE204 Computer Architecture
MIPS Microarchitecture Single-Cycle Processor Control
Single Cycle CPU - Control
CS161 – Design and Architecture of Computer Systems
Computer Architecture
Morgan Kaufmann Publishers
Multi-Cycle CPU.
MIPS processor continued
Designing MIPS Processor (Single-Cycle) Presentation G
CSCI206 - Computer Organization & Programming
CSCE 212 Chapter 5 The Processor: Datapath and Control
CSCI206 - Computer Organization & Programming
CS/COE0447 Computer Organization & Assembly Language
CS/COE0447 Computer Organization & Assembly Language
Computer Architecture
MIPS Processor.
Datapath & Control MIPS
Rocky K. C. Chang 6 November 2017
Composing the Elements
Composing the Elements
The Processor Lecture 3.2: Building a Datapath with Control
Data path for Multi-Cycle Processor Design
Systems Architecture I
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Simple Implementation
Basic MIPS Implementation
Data Path Diagrams.
MIPS processor continued
The Processor: Datapath & Control.
CPU Design use pipeline
MIPS Processor.
Processor: Datapath and Control
Presentation transcript:

CS2100 Computer Organisation The Processor: Control (AY2015/6) Semester 1

CS2100 Generating ALUControl Signal OpcodeALUop Instruction Operation Funct field ALU action ALU control lwload wordadd swstore wordadd beqbranch equalsubtract R-typeadd R-typesubtract R-typeAND R-typeOR R-type set on less than  Control ALUcontrolFunction 0000 AND 0001 OR 0010 add 0110 subtract 0111 slt 1100 NOR Generation of 2-bit ALUop signal will be discussed later xxxxxx Instruction Type ALUop lw / sw 00 beq 01 R-type 10 25

Design of ALU Control Unit (1/2) Input: 6-bit Funct field and 2-bit ALUop Output: 4-bit ALUcontrol Find the simplified expressions CS2100 Control  ALUop Funct Field ( F[5:0] == Inst[5:0] ) ALU control MSBLSBF5F4F3F2F1F0 lw sw beq add sub and or slt 00 XXXXXX XXXXXX 01 XXXXXX X X X X X X X X X X X X X X X X ALUcontrol3 = 0 ALUcontrol2 = ? ALUop0 + ALUop1  F1 26

CS2100 Control Design: Outputs RegDstALUSrc MemTo Reg Reg Write Mem Read Mem Write Branch ALUop op1op0 R-type lw sw beq  Control XX XX