vga controller that produces correct looking waveforms under simulation