Signal Generator

I created a digital signal generator which converted to analog values using an R2R Digital Analog Converter. This version of the project was adapted from a previous project built around the Intel Quartus tool to build whereas this used Verilator, C++ and CMake.

This was able to operate from 1Hz to 1MHz at 1Hz intervals. I was able to achieve this performance by using a linear interpolation core to generate the sine wave from a few sparse samples. This core was also able to use other waveforms such as square, triangle, and sawtooth. These were generated with a python script and loaded in.