Skip to content

Commit

Permalink
Corrected the 'v_RCP_F32' instruction so it produces the correct resu…
Browse files Browse the repository at this point in the history
…lts.

Connected the signals 'start' and 'done' of the fpu correctly for the 'v_RCP_F32' instruction. The instruction is now producing the correct result.
  • Loading branch information
d1duarte committed Apr 25, 2016
1 parent ba98a6e commit 440860b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verilog/rtl/simf/simf_alu.v
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ module simf_alu
end
{1'b1, `ALU_VOP1_FORMAT, 12'h02A} : //V_RCP_F32 - VIN
begin
alu_done <= 1'b1;
fpu_start_i <= 1'b0;
alu_done <= fpu_ready_o;
fpu_start_i <= alu_start;
fpu_op_i <= 3'b011;
fpu_opa_i <= 32'h3f80_0000;
fpu_opb_i <= final_source1_data;
Expand Down

0 comments on commit 440860b

Please sign in to comment.