Fixed write_only registers so that wide registers work and one shot properly generated