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

CRO, what are the difference between digital and Analog storage oscilloscop...

what are the difference between digital and Analog storage oscilloscope ?

Working design with realistic models, A preliminary design with ideal resis...

A preliminary design with ideal resistors, inductors and capacitors, will get 25 marks. If the design does not meet the specifications then one mark will be deducted following the

Show npn common base amplifier, Q. Show NPN Common Base Amplifier? ...

Q. Show NPN Common Base Amplifier? This configuration is used for high frequency applications because the base separates the input and output, minimizing oscillations at h

What is cascade, An arrangement of Windows so every window is neatly stacke...

An arrangement of Windows so every window is neatly stacked with only the title bar of every window is showing.

Digital electronics, Design a recycling MOD 19 up counter using JK FFs. In ...

Design a recycling MOD 19 up counter using JK FFs. In your design, include the logic circuit diagram and the timing diagram output that counts from 000002 = 010 to 100112 = 1910. C

Construction - unijunction transistor, Construction - UniJunction Transisto...

Construction - UniJunction Transistor: Construction: The basic structure of uni junction transistor is shown in fig. (a). It essentially consists of a lightly doped N type s

CRO, draw a labled diagram of CRO and explain the function of its parts

draw a labled diagram of CRO and explain the function of its parts

Define diffusion length, Define diffusion length: Sol. Diffusion len...

Define diffusion length: Sol. Diffusion length is defined as the distance, travelled by free carriers before recombining. It may also be defined as the average distance cove

Dc power supplies, 1.   Design four (4) different 5 volt DC power supplies...

1.   Design four (4) different 5 volt DC power supplies to operate from 230 volts AC. The four power supplies are to have the same full wave rectifier with capacitive filte

Discuss properties and uses of mica and mica products, Discuss important pr...

Discuss important properties and uses of Mica and Mica Products. Mica and Mica Products - Mica is an inorganic material. This is one of the best insulating materials availa

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