Skip to content

Assignments 2015

Pavel I. Kryukov edited this page Oct 6, 2018 · 22 revisions
** Note: these assignments are finished.**

Before you start

  • It's recommended to run your code on our server. Here is an instruction how to connect.
  • We're using Git for version control. Our Git cheat sheet will help you with Git usage.
  • You have to follow our code guidelines. Don't violate them!
  • We suggest you to read literature to improve your skills. You are free to use any other source of information, not only presented by us.

List of assignments

Issue date and deadline Assignment Skills required
1 Oct — 17 Oct A1: Implementation of functional memory model

In this assignment you will implement the main interfaces of the functional memory. They include initialization from a MIPS executable file in the ELF format, reading/writing data and others.

Programming technology:

Read about Revision control and Git.

Read first two chapters of "Teach Yourself C++" by Herbert Schildt:

  • 1. An Overview of C++
  • 2. Introducing Classes
10 Nov - 28 Nov A2: MIPS Disassembler

In this assignment you will implement a static disassembler of main MIPS instructions (objdump). Instructions are read from memory model same as you made in A1.

Theory: Programming language skills:

Revise C-style unions and bit structures from classic K&R book

Read next chapters of "Teach Yourself C++" by Herbert Schildt:

  • 3. A Closer Look at Classes.
  • 4. Arrays, Pointers, and References.
  • 5. Function Overloading.
  • 6. Introducing Operator Overloading.
19 Dec — 29 Jan A3: Single-cycle implementation

In this assignment you will implement a simpliest simulator of MIPS CPU. Instructions are read from memory model same as you made in A1, and decoded by disassembler same to A2.

Theory:
  • Revise materials of L7 lecture and P3 practicum (next lectures)
Programming technology skills:
21 Feb — 13 Mar A4: Pipelined implementation

In this assignment you will upgrade our single-cycle implementation to scalar MIPS simulator with constant latency for instruction execution.

Theory: Programming technology skills:
  • Read our guide to ports library.
  • 5 Mar — 21 Mar A5: Cache implementation and Misses study

    In this assignment you will implement a configurable model of a cache with initial interfaces and will carry out a small performance study.

    Theory: Programming technology skills:

    No extra skills are required


    Clone this wiki locally