mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 13:34:28 +00:00
Fixed fdivsqrt to avoid going from done to busy without going through idle first
This commit is contained in:
parent
bedb3f95eb
commit
463a1e2b33
@ -110,7 +110,7 @@ module fdivsqrtfsm(
|
||||
always_ff @(posedge clk) begin
|
||||
if (reset | FlushE) begin
|
||||
state <= #1 IDLE;
|
||||
end else if (IFDivStartE) begin
|
||||
end else if ((state == IDLE) & IFDivStartE) begin
|
||||
step <= cycles;
|
||||
if (SpecialCaseE) state <= #1 DONE;
|
||||
else state <= #1 BUSY;
|
||||
|
Loading…
Reference in New Issue
Block a user