Wrote some verilog A models to try and speed up simulation. ADC still not working, need to figure out how to properly sample counter output. Counter is working, and ADC is working, just can't sample it correctly at the moment.

Also need to add inverter to triangle wave (not level shifted one), to generate 100Hz square wave that is in sync with triangle wave.