Question: (a) Figure 9-8 presents a model for a subset of MIPS instructions. Enhance the model by adding modules to interface the model to input switches

(a) Figure 9-8 presents a model for a subset of MIPS instructions. Enhance the model by adding modules to interface the model to input switches and LEDs/ displays on an FPGA prototyping board. Your interface must be able to halt operation of the MIPS processor and to display the lower 8 bits of $1 on eight LEDs. You interface must also divide the prototyping board€™s internal clock to provide the model with a slow clock (e.g., an 8-Hz clock). You may display additional information using other LEDs or display devices, depending on the capabilities of your prototyping board. Synthesize the model and implement it on a prototyping board.
(b) For this question, use the model in part (a). Write a MIPS assembly language program to create a rotating light (implemented using eight LEDs on the prototyping board). The light rotates from one LED to the next at a one-second interval. Note that with an 8-Hz clock, the ALU instructions (add, and, etc.) take one-half of a second to complete and the J instruction takes one-quarter of a second to complete.

(c) For this question, you€™ll use the model in part (a). Write a MIPS assembly language program to create a traffic light controller. Implement your traffic light with the following pattern:

Street A Green Street B Red Yellow Green Red Yellow (5 seconds) (2 seconds) (1 second) (5 seconds) (2 seconds) (1 second

Street A Green Street B Red Yellow Green Red Yellow (5 seconds) (2 seconds) (1 second) (5 seconds) (2 seconds) (1 second), then 1 1 repeats

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a This solution is for a prototyping board based on th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Digital Systems Design Questions!