Advent of Code 2021
After solving last year's challenges using Rust, I want to try something else for this year's Advent of Code. As a professional FPGA design engineer, I am curious how hard it will be to solve the challenges using VHDL.
While it would definitely be interesting to write code that can actually be synthesized into an FPGA, for this year I am satisfied with pure simulation code that works with the open-source simulator GHDL.
Running the simulation
Assuming ghdl
is available in PATH, compiling and running the simulation for a given challenge
is handled by a convenience shell script:
$ ./compile_and_run.sh day_01