Objective
Implement signal processing and an encoder interface in VHDL, then inspect their behaviour in simulation and on hardware.
DE10-LITE / TWO PROJECTS
Two projects on the DE10-Lite: a digital FIR low-pass filter and a quadrature encoder interface, with simulation and hardware test evidence.
Nov–Dec 2024
01 / OVERVIEW
Implement signal processing and an encoder interface in VHDL, then inspect their behaviour in simulation and on hardware.
The portfolio documents FIR design and implementation, plus an encoder group project. The work covers signal acquisition, arithmetic, input filtering, direction detection, and display logic.
02 / FIR FILTER
Take 12-bit ADC samples through the Qsys interface at 10 kHz.
Use a 64-sample circular buffer and fixed-coefficient FIR convolution.
Send the output through GPIO to an Arduino Due DAC and inspect it on an oscilloscope.
A circular write index stores the sample history. Each convolution multiplies 64 stored samples by fixed integer coefficients, accumulates the products, and scales the result to 12 bits.
03 / FIR BENCH RESULTS
| Input frequency | Reported output | Observation |
|---|---|---|
| 900 Hz | 580 mVpp | Below-cutoff output follows the input waveform. |
| 2,000 Hz | 420 mVpp | Approximately −3 dB at the nominal cutoff, as reported. |
| 2,300 Hz | 80 mVpp | Above-cutoff signal attenuated near the DC offset. |
04 / ENCODER GROUP PROJECT
The interface reads incremental A/B signals through GPIO. Their phase relationship determines whether the counter increases or decreases. The 50 MHz board clock feeds selectable 1 kHz or 20 kHz processing modes.
A three-sample shift register qualifies a high input only when all stored samples are high.
A leading B increments the count for clockwise rotation. B leading A decrements it for counterclockwise rotation.
Convert the binary count to hundreds, tens, and units on HEX2, HEX1, and HEX0.
The presentation reports effective input-noise suppression and correct count display. The encoder work is identified as a group project.
REFERENCE MATERIAL
More detail is available in the original presentation.
View presentation