Week 5 – System-level Design¶
Lecture¶
FIR filter
Retiming to improve performance
End-to-end system: UART RX + FIR filter + UART TX
Open an audio file in Python
Send to FPGA as bytes
Apply a low-pass filter
Get data from the FPGA and listen to the sound
Incremental CPU Design (7 opcodes, 40-lines of SV)
Memory module
Reading instructions (PC)
Load data:
LOADStore data:
STOREALU operations:
MOV, ADD, SUB, MULJump instruction:
JNZ
Try programs:
Sum first N numbers
Fibonacci sequence
Factorial