Starting from:
$30

$24

Lab 5 Computer Organization

0    Audio

For this part, it is necessary to refer to section 4.1 (pp. 39-40) of the De 1-SoC Computer Manual.

Write a driver for the audio port following the approach in Lab4. The driver should only have one subroutine. The subroutine should take one integer argument and write it to bot the left and the right FIFO only if there is space in both FIFOs (Hint: Use the value of WSLC and WSRC in the subroutine). The subroutine should return an integer value 1 if the data was written to the FIFOs, ad return 0 otherwise.










































More products