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

Solid state, What are the fundamentals of solid states?

What are the fundamentals of solid states?

Instruction size , Instruction size As we  have seen already  that eac...

Instruction size As we  have seen already  that each instruction has two parts Opcode ( Operation  Code) Which  tells  the types  of operation  to be  performed .

Explain block diagram of the system, Q. Explain Block diagram of the system...

Q. Explain Block diagram of the system? The block diagram is a pictorial representation of the equations of the system. Each block represents a mathematical operation, and the

Find the voltage , 1. Find the current through each component, in pola...

1. Find the current through each component, in polar form, using mesh analysis. The source voltages are rms with an angle of 0 degrees. 2. Find the current t

TTL input logic circuit, I am building a testing device for the purpose of ...

I am building a testing device for the purpose of screening a 5801 BiMOS 8 BIT Parallel-input Latched Driver, I need help with input circuit to drive all 8 outputs one at a time. M

Kalman Filter, Kalman filter implementation assignment

Kalman filter implementation assignment

Banking system , banking system is the collection of financial entities, in...

banking system is the collection of financial entities, infrastructure and practices which support financial transactions . system tech is a software system to handle their transa

Which are the three basic configurations of fet amplifier, Q. Which are the...

Q. Which are the three basic configurations of FET amplifiers? The three basic configurations of FET amplifiers are · Common source(CS)- It is most frequently used as it pro

Write a note on superconductors, Write a note on superconductors. Super...

Write a note on superconductors. Superconductors- The resistivity of most metals rises with increase in temperature and vice-versa. Some metals and chemical compounds are there

DC generators, 3. Why the external characteristics of a DC shunt generator ...

3. Why the external characteristics of a DC shunt generator is more drooping than that of a separately excited generator?

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