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

Solar energy, can i use the direct solar energy from solar plate to charge ...

can i use the direct solar energy from solar plate to charge my laptop without a battery

Evaluate hysteresis loss, Q. A magnetic circuit is found to have an ac hyst...

Q. A magnetic circuit is found to have an ac hysteresis loss of 10 W when the peak current is Im = 2 A. Assuming the exponent of Bm to be 1.5, estimate Ph for Im = 0.5A and 8A.

Determine the peak magnetizing current, A forward converter has the followi...

A forward converter has the following parameters: input source voltage V s = 100 V, N 1 /N 2 = N 1 /N 3 = 1, magnetizing inductance L m = 5 mH, output inductor L o = 200 μH, C

1 to 8 demux, hello... i want to design a 1 to 8 demux with 4bit inputs and...

hello... i want to design a 1 to 8 demux with 4bit inputs and output. but i dont know the architecture in gate level. please help me... in fact, i need the architecture in gate lev

State the drawbacks of in band and out band voice signalling, a. Enlist the...

a. Enlist the benefits and drawbacks of in band and out band voice signalling? b. Describe Channel Associated mode, Channel Non-Associated mode and QuasiAssociated mode of commo

A, A microstrip antenna system operating at 915MHz must be designed using R...

A microstrip antenna system operating at 915MHz must be designed using Rogers RO3010 substrate with the thickness of 0.635mm.

Energy meter, Energy Meter 1. The energy meter is the cash register of...

Energy Meter 1. The energy meter is the cash register of the utility. Energy meters form a vital instrument of revenue realization for the Supply Utilities. Based on the meter

Give classification of plastics, Give classification of plastics and al...

Give classification of plastics and also the differences between them. Plastics are materials (containing carbon as common element) that have organic substances of high mol

Strain gauge bridge circuit, Explain kinds of strain gauge bridge circuits ...

Explain kinds of strain gauge bridge circuits and resistance strain gauges.

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