|
@@ -88,11 +88,11 @@ module host_i2c_register_bank (
|
|
|
pending_command <= command_data;
|
|
pending_command <= command_data;
|
|
|
if (command_data == 8'h01) begin
|
|
if (command_data == 8'h01) begin
|
|
|
if (hard_protect) begin
|
|
if (hard_protect) begin
|
|
|
- response_ok <= 0; response_status <= 4; response_detail <= 0;
|
|
|
|
|
|
|
+ response_ok <= 0; response_status <= 4; response_detail <= 0; response_valid <= 1;
|
|
|
end else if (bad_value_seen) begin
|
|
end else if (bad_value_seen) begin
|
|
|
- response_ok <= 0; response_status <= 3; response_detail <= bad_value_index;
|
|
|
|
|
|
|
+ response_ok <= 0; response_status <= 3; response_detail <= bad_value_index; response_valid <= 1;
|
|
|
end else if (written_mask != 32'hFFFFFFFF) begin
|
|
end else if (written_mask != 32'hFFFFFFFF) begin
|
|
|
- response_ok <= 0; response_status <= 2; response_detail <= 0;
|
|
|
|
|
|
|
+ response_ok <= 0; response_status <= 2; response_detail <= 0; response_valid <= 1;
|
|
|
end else begin
|
|
end else begin
|
|
|
pending_commit <= 1; manual_commit <= 1;
|
|
pending_commit <= 1; manual_commit <= 1;
|
|
|
end
|
|
end
|