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

Designated consumers - features of energy conservation, Designated Consumer...

Designated Consumers - Features of Energy Conservation The Act gives the list of designated consumers, which involves the energy intensive industries, Railways, Port Trust, Tr

Sketch a graph comparing the fcc class, a) In the United States, the Federa...

a) In the United States, the Federal Communications Commission (FCC) is charged with the regulation of radio and wire communication (FCC part 15). It basically sets limits on the

Battery service provider system specification, The vehicle batteries shall ...

The vehicle batteries shall be owned by the battery service provider. The automobile battery shall be recyclable, environmentally friendly, and safe. The battery service pr

What is a clipper circuit, Q. What is a clipper circuit? Clipping circu...

Q. What is a clipper circuit? Clipping circuits are linear wave shaping circuits. The main function of 'clipper' is that it clips off a part of input waveform i.e., it cut off

Standards and labelling - features of energy conservation, Standards and La...

Standards and Labelling - Features of Energy Conservation Standards and Labelling (S & L) has been recognized as a key activity for improvement in energy efficiency. The S & L

Explain dielectric current, Dielectric: Insulator that is used among th...

Dielectric: Insulator that is used among the two plates of a capacitance is called as dielectric.  Electric field exists in the dielectric and the flux density depends on th

Storage oscilloscopes, Q.  Write short note on storage oscilloscopes. ...

Q.  Write short note on storage oscilloscopes. Sol. Storage Oscilloscope: The bistable storage tube is between two to ten times slower than a comparable variable persistence

Discuss in brief on combination clippers, Q. Discuss in brief on combinatio...

Q. Discuss in brief on combination clippers ? Combination clippers are a combination of biased positive and negative clippers. With a combination clipper, a portion of both pos

Required conditions for connecting two transformers, Q. Required Conditions...

Q. Required Conditions for connecting two transformers in parallel? Ans: a) Voltage rating should be same b) Per unit impedance should be same c) Phase sequence should

Consider circuit to obtain complete solution for the voltage, Consider the ...

Consider the circuit of Figure (a) and obtain the complete solution for the voltage v C (t) across the 5-F capacitor and the voltage v x (t) across the 5- resistor.

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