Commit 1e317664 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

urv_regfile: don't bypass when stalled.

parent c5807b58
......@@ -125,7 +125,7 @@ module urv_regfile
begin
rs1_bypass_w <= 0;
rs2_bypass_w <= 0;
end else begin
end else if(!d_stall_i) begin
rs1_bypass_w <= write && (rf_rs1_i == w_rd_i);
rs2_bypass_w <= write && (rf_rs2_i == w_rd_i);
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment