This project implements a hardware Sinc Resampler using Chisel.
| Argument | Description | Default |
|---|---|---|
--freq-x |
Input sample rate (Hz) | 16000 |
--freq-y |
Output sample rate (Hz) | 48000 |
--channels |
Number of channels (1 or 2) | 1 |
--pll-type |
PLL type: arty-a7-100t or bypass |
arty-a7-100t |
--audio-file-resource |
Audio file in resources to use for initialization | AudioPCM16KHz1ChSweep.mem |
To generate the Verilog for converting 16kHz to 48kHz, 1 channel, targeting the Arty A7-100T:
sbt "run --freq-x 16000 --freq-y 48000 --channels 1 --pll-type arty-a7-100t"The following image shows the UART output when simulating on FPGA:
The raw audio imported into Audacity at 48000 Hz sample rate:

