The arbiter FSM defined in Figure 1 may cause device 3 never get serviced if device 1 and 2 continuously keep raising requests, so that in the Idle state it always happens that device 1 or device 2 has an outstanding request.

 

a. Modify the proposed FSM to ensure that device 3 will get serviced such that if it raises a request, the device 1 and 2 will be serviced only once before the device 3 is granted its request.

 

 

 

b. Write Verilog code to perform the modified arbiter.

c. By using the modified arbiter, design the following application:

a. Data are stored at three different files in SD card (File 1, File 2 and File 3)

b. When device 1 is triggered, File 1 will be read from the SD card and data will be displayed on LEDs or PC.

c. When device 2 is triggered, File 2 will be read from the SD card and data will be displayed on LEDs or PC.

d. When device 3 is triggered, File 3 will be read from the SD card and data will be displayed on LEDs or PC.

 

Note: Input pin does the triggering process

 

d. Propose and implement a complete system with automated triggering process.

Attachments: