Skip to content

Commit

Permalink
fix: fix dispatch flushed during stall
Browse files Browse the repository at this point in the history
  • Loading branch information
eastonman committed Jun 1, 2022
1 parent b838933 commit 5ee683e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vsrc/pipeline/2_dispatch/dispatch.sv
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ module dispatch #(
always_ff @(posedge clk or negedge rst_n) begin : dispatch_ff
if (!rst_n) begin
exe_o[i] <= 0;
end else if (flush) begin
exe_o[i] <= 0;
end else if (stall) begin
// Do nothing, hold output
end else if (flush) begin
exe_o[i] <= 0;
end else if (issue_valid[i]) begin

// Pass through to EXE
Expand Down

0 comments on commit 5ee683e

Please sign in to comment.