Fall 2005 1 EE 333 Lillevik480f05-a2 University of Portland School of Engineering EE 333 Exam 2 November 10, 2005 Instructions 1.Print your name, student.

Slides:



Advertisements
Similar presentations
COMP375 Computer Architecture and Organization Senior Review.
Advertisements

CS/COE1541: Introduction to Computer Architecture Datapath and Control Review Sangyeun Cho Computer Science Department University of Pittsburgh.
Adding the Jump Instruction
CS1104: Computer Organisation School of Computing National University of Singapore.
MIPS processor continued. Review Different parts in the processor should be connected appropriately to be able to carry out the functions. Connections.
Fall EE 333 Lillevik480f05-a3 University of Portland School of Engineering EE 333 Final Exam December 15, 2005 Instructions 1.Print your name, student.
1 Datapath and Control (Multicycle datapath) CDA 3101 Discussion Section 11.
CIS 314 Fall 2005 MIPS Datapath (Single Cycle and Multi-Cycle)
Fall EE 333 Lillevik 333f06-s3 University of Portland School of Engineering Computer Organization Final Exam Study Final Exam Tuesday, December.
Fall EE 333 Lillevik333f06-e2 University of Portland School of Engineering EE 333 Exam 2 November 9, 2006 Instructions 1.Print your name, student.
Fall EE 333 Lillevik333f06-a1 University of Portland School of Engineering EE 333 Exam 1 September 28, 2006 Instructions 1.Print your name, student.
CS-447– Computer Architecture Lecture 12 Multiple Cycle Datapath
Fall 2007 MIPS Datapath (Single Cycle and Multi-Cycle)
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?
Copyright 1998 Morgan Kaufmann Publishers, Inc. All rights reserved. Digital Architectures1 Machine instructions execution steps (1) FETCH = Read the instruction.
EECC550 - Shaaban #1 Selected Chapter 5 For More Practice Exercises Winter The MIPS jump and link instruction, jal is used to support procedure.
1 The Processor: Datapath and Control We will design a microprocessor that includes a subset of the MIPS instruction set: –Memory access: load/store word.
Dr. Iyad F. Jafar Basic MIPS Architecture: Multi-Cycle Datapath and Control.
Fall EE 333 Lillevik 333f06-l7 University of Portland School of Engineering Computer Organization Lecture 7 ALU design MIPS data path.
Chapter 2 Summary Classification of architectures Features that are relatively independent of instruction sets “Different” Processors –DSP and media processors.
Fall EE 333 Lillevik 333f06-l8 University of Portland School of Engineering Computer Organization Lecture 8 Detailed MIPS datapath Timing overview.
Fall EE 333 Lillevik333f06-s1 University of Portland School of Engineering Computer Organization Study Guide 1 Exam 1 Thursday, September 28 Closed.
Fall EE 333 Lillevik 333f06-l17 University of Portland School of Engineering Computer Organization Lecture 17 Controller design Microprogramming.
CPE232 Basic MIPS Architecture1 Computer Organization Multi-cycle Approach Dr. Iyad Jafar Adapted from Dr. Gheith Abandah slides
Fall EE 333 Lillevik 333f06-l13 University of Portland School of Engineering Computer Organization Lecture 13 Controller implementations Register.
CDA 3101 Fall 2013 Introduction to Computer Organization
Fall EE 333 Lillevik 333f06-l14 University of Portland School of Engineering Computer Organization Lecture 14 Memory hierarchy, locality Memory.
Fall EE 333 Lillevik 333f06-s2 University of Portland School of Engineering Computer Organization Study Guide 2 Exam 2 Thursday, November 9 Closed.
EE 3755 Datapath Presented by Dr. Alexander Skavantzos.
Fall EE 333 Lillevik 333f06-l18 University of Portland School of Engineering Computer Organization Lecture 18 IF, ID, R-type microprogramming Exam.
ECE-C355 Computer Structures Winter 2008 The MIPS Datapath Slides have been adapted from Prof. Mary Jane Irwin ( )
Datapath and Control AddressInstruction Memory Write Data Reg Addr Register File ALU Data Memory Address Write Data Read Data PC Read Data Read Data.
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.
MIPS processor continued
MIPS Processor.
MIPS processor continued. Review Different parts in the processor should be connected appropriately to be able to carry out the functions. Connections.
1 CS/COE0447 Computer Organization & Assembly Language Chapter 5 Part 3.
Simulator Outline of MIPS Simulator project  Write a simulator for the MIPS five-stage pipeline that does the following: Implements a subset of.
Chapter 4 From: Dr. Iyad F. Jafar Basic MIPS Architecture: Multi-Cycle Datapath and Control.
Fall EE 333 Lillevik 333f06-l16 University of Portland School of Engineering Computer Organization Lecture 16 Write-through, write-back cache Memory.
1 CS/COE0447 Computer Organization & Assembly Language Chapter 5 Part 3.
Exam-like questions.
CS161 – Design and Architecture of Computer Systems
CS161 – Design and Architecture of Computer Systems
Computer Organization
CS2100 Computer Organization
Single-Cycle Datapath and Control
EE 333 Exam 1 September 29, 2005 Answers Instructions Name Student ID
Morgan Kaufmann Publishers The Processor
Advanced Computer Architecture Lecture 14
Single Cycle Processor
CS/COE0447 Computer Organization & Assembly Language
Design of the Control Unit for Single-Cycle Instruction Execution
MIPS processor continued
Design of the Control Unit for One-cycle Instruction Execution
The Multicycle Implementation
CS/COE0447 Computer Organization & Assembly Language
A Multiple Clock Cycle Instruction Implementation
MIPS Processor.
The Multicycle Implementation
Vishwani D. Agrawal James J. Danaher Professor
The Processor Lecture 3.1: Introduction & Logic Design Conventions
Guest Lecturer TA: Shreyas Chand
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Processor: Multi-Cycle Datapath & Control
Multi-Cycle Datapath Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Review Fig 4.15 page 320 / Fig page 322
MIPS processor continued
Computer Organization Lecture 19
CS161 – Design and Architecture of Computer Systems
Presentation transcript:

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering EE 333 Exam 2 November 10, 2005 Instructions 1.Print your name, student ID, and seat in the above blanks. 2.This is a Closed Book exam. 3.Do all of the problems. They may vary in points but the total is 100. Questions are short answer and problems. 4.Do not use any additional pages of paper. If you run out of room, use the back sides. Do not remove the staple. 5.Please write clearly or print. Illegible or unreadable answers may not be graded for partial credit. 6.Mark your answer with a box or star Name Student ID Seat Answers

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 1 (10 pts) For the MIPS datapath, what are the five instruction steps and what they do? 1)IF: read instruction into IR, increment PC by 4 2)ID: read registers, find optimistic branch address 3)EX: function, effective address, possible PC change 4) MEM: read or write memory 5) WB: write register file

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 2 (10 pts) 1.What is an effective address? Used to reference memory 2.What is an optimistic branch address? Its written to the PC conditionally 3.What is a jump address? Its always written to the PC 4.What is a word-aligned address? Two lsb’s are zero 5.What is a concatenated address? Upper and lower bits come from different sources

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 3 (10 pts) Determine the control signals for the load word MEM clock? Mark on the next page. Operation (lw) –Mem Data Reg = Memory [ALUout] Functional units –ALUout addresses memory –Load: memory read and data clocked into MDR

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 3 (10 pts), continued.

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 4 (10 pts) Consider the state diagram at left

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 4 (10 pts), continued. InstClk 1Clk 2Clk 3Clk 4Clk 5 or $1, $2, $30167 j loop019 beq $1, $4, done018 sw $4, 64($5)0125 and $8, $12, $ Determine the state transitions ?

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 5 (10 pts) Consider the Signal definitions: Din = 16-bit data input Write = Data at Din written to register(s), 2 bits Read0, Read1 = Determines the register to read, 2 bits R0Out, R1Out = 16-bit data output

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 5 (10 pts), continued. Sketch the architecture of a register file with four, 16-bit registers, 2 read ports, 1 write port using decoder, MUX, and D registers, include Reg A and B.

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 6 (10 pts) A.Describe the Principle of Locality? Programs access a relatively small portion of their address space at any instant of time B.Explain the features of a memory hierarchy? Memory closer to the CPU is faster, more expensive, and smaller. Memory further from the CPU is slower, less expensive, and bigger.

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 7 (10 pts) Determine the length and width of the memory components required for the system memory in the table below (note: G=1024M, M=1024K)? MemoryComponentLengthWidth 16K x 162K x K x 3216K x M x 32256K x M x 641M x G x 64512M x 888

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 8 (10 pts) Complete the 32x8 RAM design; fully decode for 0x00 start address.

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 9 (10 pts) CPU writeCache write adrdatatagadrdata x x x x xaaa011110xaaa x x xabc100010xabc Find the final cache contents. Assume a 32 byte memory, 8 byte write-through cache.

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Problem 10 (10 pts) Find an expression for the average latency L of a memory and write-back cache hierarchy? Assume the hit rate is h, memory latency is m, the cache latency is c, and the probability of a modified cache miss is d.

Fall EE 333 Lillevik480f05-a2 University of Portland School of Engineering Statistics ProbStdAve 1/ / / / / / / / / / Ave