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

Name 5 different addressing modes, The five addressing modes are given belo...

The five addressing modes are given below: Immediate, Register, Direct, Implied addressing modes           Register indirect,

Electric roadway system specification, The electric roadway system shall ut...

The electric roadway system shall utilize solar energy as the main power source. The electric roadway system shall negotiate with the power utility on backup power supply.

Explain about frequency shift keying, Q. Explain about Frequency Shift Keyi...

Q. Explain about Frequency Shift Keying? In this scheme frequency of the carrier signal is changed according to the data. Transmitter sends different frequencies for a "I" than

Static v- i characteristics, Static V- I Characteristics The  static V-...

Static V- I Characteristics The  static V- I  characteristics of power diodes is shown  in figure 1.2  when the  anode is made  positive with  respect to cathode the power  dio

Collector-to-base bias, Collector-to-base bias: Figure: Collec...

Collector-to-base bias: Figure: Collector-to-base bias This configuration uses negative feedback to avoid thermal runaway and stabilize the operating point. In th

Explain common emitter configuration, Q. Explain Common emitter configurati...

Q. Explain Common emitter configuration? Common emitter configuration: In this circuit the emitter is common to both input and the output.Such a configuration is also known as

Representation of magnetic fields, The direction of the magnetic field line...

The direction of the magnetic field lines is given by 'Maxwell's Right-Hand corkscrew rule'  The thumb of the right hand indicates the direction of current flow in the wire and

What is meant by microcontroller, What is meant by microcontroller? A d...

What is meant by microcontroller? A device which having the microprocessor with integrated peripherals like memory, serial ports, parallel ports, timer/counter, interrupt contr

Explain the discrete time systems, Explain the Discrete Time Systems? A...

Explain the Discrete Time Systems? A system operates on an input signal, x[n] and output the results, y[n]. For example, a digital filter (a system) can be represented by the f

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