CISC Processor Design

Similar documents
CISC Processor Design

RISC Processor Design

The von Neumann Architecture. IT 3123 Hardware and Software Concepts. The Instruction Cycle. Registers. LMC Executes a Store.

SISTEMI EMBEDDED. Computer Organization Central Processing Unit (CPU) Federico Baronti Last version:

Pipelined Processor Design

William Stallings Computer Organization and Architecture

Processing Unit CS206T

Lecture1: introduction. Outline: History overview Central processing unite Register set Special purpose address registers Datapath Control unit

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

General Purpose Processors

Digital System Design Using Verilog. - Processing Unit Design

Class Notes. Dr.C.N.Zhang. Department of Computer Science. University of Regina. Regina, SK, Canada, S4S 0A2

Module 5 - CPU Design

Microprogrammed Control Approach

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

REGISTER TRANSFER LANGUAGE

CPU Structure and Function

THE MICROPROCESSOR Von Neumann s Architecture Model

Basic Processing Unit: Some Fundamental Concepts, Execution of a. Complete Instruction, Multiple Bus Organization, Hard-wired Control,

Computer Architecture (part 2)

16.1. Unit 16. Computer Organization Design of a Simple Processor

CPE300: Digital System Architecture and Design

Computer Organisation CS303

Blog -

William Stallings Computer Organization and Architecture

Micro-Operations. execution of a sequence of steps, i.e., cycles

RISC Design: Multi-Cycle Implementation

Superscalar Processor Design

session 7. Datapath Design

Micro-programmed Control Ch 15

Advanced Parallel Architecture Lesson 3. Annalisa Massini /2015

Machine Instructions vs. Micro-instructions. Micro-programmed Control Ch 15. Machine Instructions vs. Micro-instructions (2) Hardwired Control (4)

Micro-programmed Control Ch 15

Lecture 11: Control Unit and Instruction Encoding

William Stallings Computer Organization and Architecture. Chapter 11 CPU Structure and Function

Computer Logic II CCE 2010

Systems Architecture

ECE 486/586. Computer Architecture. Lecture # 7

Micro-programmed Control Ch 17

Hardwired Control (4) Micro-programmed Control Ch 17. Micro-programmed Control (3) Machine Instructions vs. Micro-instructions

Control & Execution. Finite State Machines for Control. MIPS Execution. Comp 411. L14 Control & Execution 1

Chapter 16. Control Unit Operation. Yonsei University

Chapter 2 Instruction Set Architecture

Processor (I) - datapath & control. Hwansoo Han


Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language.

CPE300: Digital System Architecture and Design

The Processing Unit. TU-Delft. in1210/01-pds 1

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: MIPS Instruction Set Architecture

Chapter 4. The Processor. Computer Architecture and IC Design Lab

Pipelined Processor Design

Instruction Set Overview

Block diagram view. Datapath = functional units + registers

Basic Processing Unit (Chapter 7)

RISC Architecture: Multi-Cycle Implementation

RISC Architecture: Multi-Cycle Implementation

Chapter 4. The Processor. Instruction count Determined by ISA and compiler. We will examine two MIPS implementations

TDT4255 Computer Design. Lecture 4. Magnus Jahre. TDT4255 Computer Design

Materials: 1. Projectable Version of Diagrams 2. MIPS Simulation 3. Code for Lab 5 - part 1 to demonstrate using microprogramming

EE 3170 Microcontroller Applications


Outcomes. Lecture 13 - Introduction to the Central Processing Unit (CPU) Central Processing UNIT (CPU) or Processor

Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts

SCRAM Introduction. Philipp Koehn. 19 February 2018

COS 140: Foundations of Computer Science

Chapter 4. The Processor

5 Computer Organization

Introduction to Computers - Chapter 4

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 4: Datapath and Control

CPU Structure and Function. Chapter 12, William Stallings Computer Organization and Architecture 7 th Edition

COMPUTER STRUCTURE AND ORGANIZATION

Register-Level Design

Chapter 5. Computer Architecture Organization and Design. Computer System Architecture Database Lab, SANGJI University

Lecture 12: Single-Cycle Control Unit. Spring 2018 Jason Tang

MICROCOMPUTER OPERATION

From CISC to RISC. CISC Creates the Anti CISC Revolution. RISC "Philosophy" CISC Limitations

These actions may use different parts of the CPU. Pipelining is when the parts run simultaneously on different instructions.

DC57 COMPUTER ORGANIZATION JUNE 2013

ECE232: Hardware Organization and Design

Multicycle Approach. Designing MIPS Processor

COMPUTER ARCHITECTURE AND ORGANIZATION Register Transfer and Micro-operations 1. Introduction A digital system is an interconnection of digital

The Processor: Datapath and Control. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

CONTROL UNIT CONTROL UNIT. CONTROL vs DATA PATH. Instruction Sequencing. Two main operations of Control Unit can be identified:

Implementing the Control. Simple Questions

CSE A215 Assembly Language Programming for Engineers

Chapter 4 The Von Neumann Model

PIPELINING: HAZARDS. Mahdi Nazm Bojnordi. CS/ECE 6810: Computer Architecture. Assistant Professor School of Computing University of Utah

Grundlagen Microcontroller Processor Core. Günther Gridling Bettina Weiss

The MIPS Processor Datapath

Chapter 4. The Processor

Computer Architecture 2/26/01 Lecture #

Lecture 4: RISC Computers

The Institution of Engineers - Sri Lanka

Topics Power tends to corrupt; absolute power corrupts absolutely. Computer Organization CS Data Representation

Cpu Architectures Using Fixed Length Instruction Formats

Computer Organization CS 206 T Lec# 2: Instruction Sets

The register set differs from one computer architecture to another. It is usually a combination of general-purpose and special purpose registers

ECE 571 Advanced Microprocessor-Based Design Lecture 3

Topic Notes: MIPS Instruction Set Architecture

Transcription:

CISC Processor Design Virendra Singh Indian Institute of Science Bangalore virendra@computer.org Lecture 3 SE-273: Processor Design

Processor Architecture Processor Architecture CISC RISC Jan 21, 2008 SE-273@SERC 2

Processor Architecture PI Controlle r Control Signals From memory Datapath Status Signals PO To memory Jan 21, 2008 SE-273@SERC 3

Instruction Set Instruction Set Should be complete One should be able to construct a machine level program to evaluate any function Should be efficient Frequently required functions can be completed quickly using relatively few instructions Should be regular Should contain expected opcodes and addressing modes Compatible with existing machines Jan 21, 2008 SE-273@SERC 4

Instruction Set Instruction Format Op-code Operands Addressing Register Specification Effective Address Implicit Reference Jan 21, 2008 SE-273@SERC 5

Micro-coded Implementation Clock-Phase Generator Bus Controller Control Store State Sequencer Control Word Decoder Controller Instruction Decoder Program Counter Registers R0 R1 Rn Shifter ALU Datapath Jan 21, 2008 SE-273@SERC 6

PLA Implementation Clock-Phase Generator PLA Bus Controller Instruction Decoder Control Word Decoder Controller Program Counter Registers R0 R1 Rn Shifter ALU Datapath Jan 21, 2008 SE-273@SERC 7

Random Logic Implementation Clock-Phase Generator Bus Controller Random Logic Controller Program Counter Registers R0 R1 Rn Shifter ALU Datapath Jan 21, 2008 SE-273@SERC 8

Micro-coded Implementation Clock-Phase Generator Bus Controller Control Store Instruction Sequencer Instruction Decoder Encoded Control Word Fields Control Word Decoder Decoded Datapath Control Instruction Prefetch Register Address Out Reg. PC R0 R1 Rn Shifter ALU Internal B Bus Datapath Internal A Bus Data Reg. Jan 21, 2008 SE-273@SERC 9

Instruction ADD R1, D2(B2) 5A R1 B2 D2 0 8 12 16 31 The second operand is added in the first The sum is placed in the first operand location The operand and the sum are treated as 16-bit signed binary integers The first operand is in the register specified by the R1 field The second operand is in the memory address is calculated by adding the displacement specified by the D2 field to the content of the base register specified by the B2 field Jan 21, 2008 SE-273@SERC 10

Execution Steps Steps for ADD instruction Execution 1. Fetch the first half word 2. Find ADD control word sequence 3. Fetch the remaining instruction word 4. Calculate the operand address 5. Fetch the operand 6. Add 7. Store the result Jan 21, 2008 SE-273@SERC 11

Execution Steps 1. Fetch the remaining instruction word 2. Calculate the operand address 3. Fetch the operand 4. Add 5. Store the result 6. Update the program counter 7. Fetch the first half word for the next instruction 8. Find the address of the next instructions control word sequence 9. Branch to the next instruction s control word Jan 21, 2008 SE-273@SERC 12

Execution Steps 1. Fetch the remaining instruction word One state to second half of the ADD instruction 2. Calculate the operand address One state to add D2 displacement and the content of the B2 register 3. Fetch the operand One state to fetch the data half word (put the address on the pads and wait for the operand half-word) 4. Add One state to add the operands 5. Store the result One state to store the result in Register R1 Jan 21, 2008 SE-273@SERC 13

Execution Steps 6. Update the program counter One state to increament PC One state to save the incremented value 7. Fetch the first half word for the next instruction One state to put the PC value on the pads and wait for the first half of the next instruction 8. Find the address of the next instructions control word sequence One state to put the next instruction into the instruction decoder 9. Branch to the next instruction s control word Zero state this step is accomplished as a part of the previous step Jan 21, 2008 SE-273@SERC 14

Processor - Block Diagram Clock-Phase Generator Reset & Power-On Logic Bus Controller Interrupt Logic Control Store Next State Control Branch Control unit IR Decoder Encoded Control Word Fields Control Word Decoder Decoded Datapath Control Instruction Prefetch Register Address Out Reg. PC R0 R1 Internal A Bus Rn Shifter ALU Internal B Bus Datapath Data Reg. Jan 21, 2008 SE-273@SERC 15

Thank You Jan 21, 2008 SE-273@SERC 16