Integrate endprogram wire to decode and pipeline registers