assign3 - EEL4713 Assignment #3 Spring 2011 Assigned:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EEL4713 Assignment #3 Spring 2011 Assigned: 1/20/11 Demo: 2/3/11 in Lab Due: 2/4/11 @ 11:59pm Via Sakai Section 1: Setup There is no setup in this assignment. Section 2: Textbook Questions Chapter 4 questions: 4.2.1-3, 4.8.1-3 Section 3: Laboratory This laboratory will consist of two parts: one on MIPS simulation (3.1) and one on VHDL design (3.2). (3.1): MIPS simulation In this part of the assignment, you will use the application “bugspim” in much the same way that you used “spim” from assignment 1. “bugspim” simulates a MIPS processor like “spim” does except that the microprocessor it simulates has a number of bugs that make the execution of certain instructions incorrect. Your task is to identify these bugs by running MIPS assembly code in “bugspim” and verifying whether the behavior of instructions follow the instruction set specifications. There are a total of 5 instructions with bugs: one ALU operation, two control flow instructions, an instruction that uses immediate values, and a memory access instruction. In your answer, specify: a) which instructions have bugs, b) what is the incorrect behavior you observed, and c) what assembly code you used to determine the incorrect behavior. Download the BugSPIM simulator with the following command: sudo wget http://www.acis.ufl.edu/~ipop/edu-docs/bugspim If you get a “permission denied” message when attempting to execute bugspim try the command: sudo chmod 755 bugspim Then execute. If you have any problems just post a query on a Sakai discussion group and we will attempt to answer it in a timely fashion. (Hint: be systematic while searching for the instructions with bugs and use short instruction sequences with step-by-step simulation). (3.2): VHDL design You will continue your design of a MIPS datapath. Below are the descriptions of several crucial components needed for datapath construction: There will be situations in your datapath design where you will need to add two 32-bit data words. To
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/09/2012 for the course EEL 4713 taught by Professor Staff during the Spring '11 term at University of Florida.

Page1 / 5

assign3 - EEL4713 Assignment #3 Spring 2011 Assigned:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online