change the way we are modifying register write enables to allow for correct verilog generation