Mips simulator, Electrical Engineering

Assignment Help:

The coursework requires you to work in pairs to write a Java application that will take a numerical representation of a MIPS program and simulate its execution.

MIPS is a Load-Store or RISC (Reduced Instruction Set Computer) architecture. Many modern processors, such as SPARC, PowerPC, and PA-RISC, have very similar characteristics to MIPS. An appendix to "Computer Organization and Design", by David A Patterson and John L Hennessy, is available to you on Blackboard as document HP_AppA.pdf. It contains precise details of the MIPS instruction set and assembly code. 

Your Java program will respond to commands to load and execute MIPS machine code. Various debugging options will be supported. Example MIPS programs are provided and test scripts will be available in order to compare your output with standard results. To get you started, a Java program will be provided that partially implements the simulator. It will read in MIPS machine code and disassemble some instructions. You are strongly encouraged to study and understand this program, and then build on it to implement your simulator.

You will need to investigate the programmer's model for MIPS and decide how to represent the key architectural features in Java. Credit will be given for sensible use of object-oriented design to reflect the architecture in the class structure and choice of methods. The simulator should emulate a Little Endian architecture such as the PC. Beware that the example  program MIPSMem.java  for managing MIPS memory assume a Big Endian architecture so some small but important changes will need to be made.

The implementation is not expected to cover all aspects of MIPS:

  • Only integer operations need be supported.
  • Pseudoinstructions can be ignored as they are mapped to real instructions by the assembler.
  • Memory operations will not cross word boundaries.
  • Branch and Load delays can be ignored.
  • Handling of interrupts can be ignored.
  • The syscall instruction needs to support only string output, integer input and output, and exit.

 


Related Discussions:- Mips simulator

Construction and operation of enhancement mosfet, Q. Explain the constructi...

Q. Explain the construction and operation of Enhancement MOSFET? The construction of an N-channel enhancement MOSFET is shown in figure below. Two highly doped N + regions are

Show effects of saliency and saturation, Q. Show Effects of Saliency and Sa...

Q. Show Effects of Saliency and Saturation? Because of saliency, the reactancemeasured at the terminals of a salient-pole synchronousmachine as opposed to a cylindrical-rotor m

Sketch the resulting transfer curves, Q. Consider the MOSFET circuit with v...

Q. Consider the MOSFET circuit with variable voltage, with RD = 2k and VDD = 12 V. The static characteristics of the n-channel enhancement MOSFET are given in Figure. (a) Drawt

What is command, A selection form an application's menu, or a command typed...

A selection form an application's menu, or a command typed in by the user, like at a DOS prompt or at the Run dialog box in Windows.

., ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

ABOUT ASSIGNMENT ON MAGNETIC INDUCTION NEAR A LONG WIRE

Find the efficiency of the transformer, Q. Athree-phase, 600-kVA, 2300:230-...

Q. Athree-phase, 600-kVA, 2300:230-V,Y-Ytrans- former bank has an iron loss of 4400 W and a full- load copper loss of 7600 W. Find the efficiency of the transformer for 70% full lo

#need digital related, Is there any electronics related papers like digital...

Is there any electronics related papers like digital for free download

Show frequency response using pspice and probe, Q. Show Frequency response ...

Q. Show Frequency response using pspice and probe? PSpice is capable of performing transient circuit analysis, for which the request is given by the following statement: • T

Illustrate the basic use of binary in it, Q. Illustrate the basic use of bi...

Q. Illustrate the basic use of binary in IT ? The binary system is thus useful in IT because not only any number, but any information, can be represented in terms of only 0s an

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd