Lab 11: Interrupt Programming

In this laboratory, you will make your first exercise with a real machine: The Plasma processor, an Open-Source SoC that implements a MIPS-1 instruction-set without exceptions and with an UART device, a Fixed-Interval Timer and GPIO device integrated.

Your job in this Lab is write the interrupt handling code, responsible for save and restore the context of the processor when an interrupt occur. The program provided uses the timer to implement a chronometer, displaying the elapsed time over the UART. Concurrently, the program stays blinking the leds connected in the GPIO port.

Supplied Files