add flag_write in ALU.v and wren in DecodeUnit.v