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

Single-axis autopilot control system of an aircraft, Q. Single-axis autopil...

Q. Single-axis autopilot control system of an aircraft? Figure (a) shows the block diagram of a simplified single-axis (pitch, yaw, or roll) autopilot control systemwith digita

Find the effective noise temperature, Q. An antenna with an effective noise...

Q. An antenna with an effective noise temperature of 130 K couples through a waveguide that has a loss of 0.8 dB to a receiver. Find the effective noise temperature presented by th

Determine the armature current and torque angle, Q. Determine the armature ...

Q. Determine the armature current and torque angle? A 1500-hp, 6600-V, six-pole, 60-Hz, three-phase, wye-connected, synchronous motor, with a synchronous reactance of 36 , neg

Analogue electric assignment, i have assignment about wien bridge oscillato...

i have assignment about wien bridge oscillator i need help to how to degsin the circuit using ltpsic

Compute force vector, Q. Consider a current element I 1 d ¯l 1 = 10 dz ¯a...

Q. Consider a current element I 1 d ¯l 1 = 10 dz ¯az kA located at (0,0,1) and another I 2 d ¯ l 2 = 5dx ¯ax kA located at (0,1,0). Compute d ¯F 21 and d ¯F 12 experienced by

Basic circuit elements, Define inductance.Explain the classification of ind...

Define inductance.Explain the classification of inductors

Measures for improving joints and connection, Measures for Improving Joints...

Measures for Improving Joints and Connection 1. Spacing of poles: The spacing between poles (for overhead lines) is also an important requirement. Long spans will result in

Name the materials used in case of fuses, Name the materials used in case...

Name the materials used in case of Fuses . Also give reasons. Fuses : For rewirable fuses, copper-tin and lead-tin alloy is used. For HRC and cartridge fuses silve

Find the mmf needed to establish a magnetic flux, Q. Consider the toroid sh...

Q. Consider the toroid shown in figure made up of three ferromagnetic materials. Material a is nickel-iron alloy having a mean arc length la of 0.6 m; material b is medium silicon

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