Move the inverter out of the clock generator (both versions) and into main.