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

What is non-folded network, Q. What is Non-Folded Network? Non-Folded ...

Q. What is Non-Folded Network? Non-Folded Network: In a switching network, all outlet/inlet connection may be used for inter exchange transmission. In such a case, exchange d

Shunt dc motor, Shunt DC motor In this arrangement, the armature and f...

Shunt DC motor In this arrangement, the armature and field coils are connected in parallel (the motor is called 'shunt connected').     Analysis With refere

Techniques and resources in problem base learning, Techniques and resources...

Techniques and resources Different techniques and resources were used in different areas of the problem during the course of the project. The most important of them was th

Explain the terms dielectric constant and dielectric loss, Explain the term...

Explain the terms dielectric constant and dielectric loss. Dielectric Constant or Permittivity: all insulating materials possess an electrical capacitance. The capacitance of

Compute the maximum electromagnetic power, Q. A four-pole dc machine with 7...

Q. A four-pole dc machine with 728 active conductors and 30mWb flux per pole runs at 1800 r/min. (a) If the armature winding is lap wound, find the voltage induced in the armatu

What is pipelined architecture, What is pipelined architecture? The com...

What is pipelined architecture? The computer is composed of two parts that operate asynchronously one part known as a BIU, fetches instruction from code memory while the memory

Explain about elementary direct-current machines, Q. Explain about Elementa...

Q. Explain about Elementary Direct-Current Machines? A preliminary discussion of dc machines, including Equations. The location of the brushes on the commutator arrangement con

Project, really need help how to run the veener press line for wood-based p...

really need help how to run the veener press line for wood-based panels?

Diode, using a sketch explain the frequency response of rc coupled transist...

using a sketch explain the frequency response of rc coupled transistor amplifier

Machine-tool process to drill or punch holes, Q. Explain Machine-tool proce...

Q. Explain Machine-tool process to drill or punch holes? Figure depicts an elementary system, including the input, digital processor, drill-positioning mechanism, and sampled-d

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