CSCE 212 Quiz 8 – 3/23/11 1.What type of element is the ALU (combinational or state) and what does it mean for an element to be that type? 2.What is the.

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

Computer Architecture and the Fetch-Execute Cycle
Chapter 1. Basic Structure of Computers
1 Datapath and Control (Multicycle datapath) CDA 3101 Discussion Section 11.
331 W08.1Spring :332:331 Computer Architecture and Assembly Language Spring 2006 Week 8: Datapath Design [Adapted from Dave Patterson’s UCB CS152.
The Processor: Datapath & Control
1  1998 Morgan Kaufmann Publishers Chapter Five The Processor: Datapath and Control.
CSCE 212 Quiz 2 – 2/2/11 1.What is the purpose of the jal instruction? 2.What are the two conditional branching (if, goto; not the slt instruction) instructions.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
CSCE 212 Quiz 9 – 3/30/11 1.What is the clock cycle time based on for single-cycle and for pipelining? 2.What two actions can be done to resolve data hazards?
The Processor 2 Andreas Klappenecker CPSC321 Computer Architecture.
Chapter Five The Processor: Datapath and Control.
The Processor Andreas Klappenecker CPSC321 Computer Architecture.
Basic Architecture Lecture 15. In general, if the number of bits is n, then the number of different combinations of 0s and 1s that can be made is 2 n.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Week 2.  Understand what the processor is and what it does.  Execute basic LMC programs.  Understand how CPU characteristics affect performance.
Chapter 4 CSF 2009 The processor: Building the datapath.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Pipeline Hazards. CS5513 Fall Pipeline Hazards Situations that prevent the next instructions in the instruction stream from executing during its.
Gary MarsdenSlide 1University of Cape Town Chapter 5 - The Processor  Machine Performance factors –Instruction Count, Clock cycle time, Clock cycles per.
Fetch-execute cycle.
CSE 241 Computer Organization Lecture # 8 Ch. 7 Control Unit Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
W.S Computer System Design Lecture 4 Wannarat Suntiamorntut.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
1. Building A CPU  We’ve built a small ALU l Add, Subtract, SLT, And, Or l Could figure out Multiply and Divide  What about the rest l How do.
D ATA P ATH OF A PROCESSOR (MIPS) Module 1.1 : Elements of computer system UNIT 1.
Dale & Lewis Chapter 5 Computing components
EE 3755 Datapath Presented by Dr. Alexander Skavantzos.
By Wannarat Computer System Design Lecture 4 Wannarat Suntiamorntut.
PC Instruction Memory Address Instr. [31-0] 4 Fig 4.6 p 309 Instruction Fetch.
Elements of Datapath for the fetch and increment The first element we need: a memory unit to store the instructions of a program and supply instructions.
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.
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.
Instruction Memory value Description ADD1xx Add the value stored at memory address xx to the value in the accumulator register SUB2xx Subtract the value.
Computer Architecture Lecture 6.  Our implementation of the MIPS is simplified memory-reference instructions: lw, sw arithmetic-logical instructions:
Access the Instruction from Memory
Computer Architecture
Gunjeet Kaur Dronacharya Group of institutions
Parallel Shared Memory
Morgan Kaufmann Publishers
Processor Architecture: Introduction to RISC Datapath (MIPS and Nios II) CSCE 230.
MIPS Processor.
Design of the Control Unit for Single-Cycle Instruction Execution
The fetch-execute cycle
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Instructions for Making Decisions
CSCI206 - Computer Organization & Programming
CSCE 212 Chapter 5 The Processor: Datapath and Control
Functional Units.
Design of the Control Unit for One-cycle Instruction Execution
CSCI206 - Computer Organization & Programming
MIPS Processor.
Morgan Kaufmann Publishers The Processor
Topic 5: Processor Architecture Implementation Methodology
Rocky K. C. Chang 6 November 2017
The Processor Lecture 3.2: Building a Datapath with Control
The Processor Lecture 3.1: Introduction & Logic Design Conventions
Topic 5: Processor Architecture
Datapath: Instruction Store/Fetch & PC Increment
Access the Instruction from Memory
The branch instruction
Review Fig 4.15 page 320 / Fig page 322
Data Path Diagrams.
A Top-Level View Of Computer Function And Interconnection
The Processor: Datapath & Control.
Computer Architecture
COMS 361 Computer Organization
MIPS Processor.
Presentation transcript:

CSCE 212 Quiz 8 – 3/23/11 1.What type of element is the ALU (combinational or state) and what does it mean for an element to be that type? 2.What is the first thing that occurs for any instruction? 3.How does the processor determine whether to branch or not for a beq instruction? 2a (extra credit): What is the other action that occurs for all instructions?

CSCE 212 Quiz 8 Answers 1.What type of element is the ALU (combinational or state) and what does it mean for an element to be that type? Combinational type – outputs depend on current inputs (operates on data) – does not save any information

CSCE 212 Quiz 8 Answers 2.What is the first thing that occurs for any instruction? – Instruction fetched from the memory address designated by the program counter (PC)

CSCE 212 Quiz 8 Answers 3.How does the processor determine whether to branch or not for a beq instruction? – Subtracts the two values held in the given registers: if zero, values are equal

CSCE 212 Quiz 8 Answers 2a (extra credit): What is the other action that occurs for all instructions? Read register(s)