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

Diode current -zener region, Diode current: Zener region: when the r...

Diode current: Zener region: when the reverse biased voltage is increase to a very high value then a point is reached where will is suddenly going a very high value. Th

CST162_hw5, Draw the state diagram for the state machine described by Table...

Draw the state diagram for the state machine described by Table 7.5 in the text. Note, the table shows the transition to the next state S* from the current state S for the next set

Op, Find the current through capacitor by superposition therom

Find the current through capacitor by superposition therom

What is the significance of source gate cutoff voltage, Q. What is the sign...

Q. What is the significance of source gate cutoff voltage? The source gate cutoff voltage is also called pinch off voltage. It is obtained when VDS increases and approaches a l

Explain iron and silicon iron alloys, Explain iron and silicon iron alloys....

Explain iron and silicon iron alloys. Iron: Galvanised steel and iron wires that are usually used for earth conductor in low voltage distribution systems may also be utilize

Find the equivalent series impedance, Q. 10-kVA, 4800:240-V, 60-Hz, single-...

Q. 10-kVA, 4800:240-V, 60-Hz, single-phase transformer has an equivalent series impedance of 120 + j300  referred to the primary high- voltage side. The exciting current of the tr

Electro-magnetic interference, (a) Give three different ways how electro-...

(a) Give three different ways how electro-magnetic interference can be reduced in twisted pairs based transmission. (b) Noise are unwanted signals affecting transmission. Lis

What is basic working of mosfet, Q. What is basic working of MOSFET? Th...

Q. What is basic working of MOSFET? The metal-oxide-semiconductor construction leads to the name MOSFET, which is also known as insulated-gate FET or IGFET. One type of constru

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

What is segment displays, Q. What is Segment displays? Seven-segment di...

Q. What is Segment displays? Seven-segment displays are the most commonly used numeric display devices, while 10- and 16-segment (starburst) display devices are also available.

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