Skip to content

Commit

Permalink
fix: fix FTQ backend commit clear
Browse files Browse the repository at this point in the history
  • Loading branch information
eastonman committed Jun 28, 2022
1 parent b63ef55 commit 4233f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vsrc/frontend/ftq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module ftq
next_FTQ = FTQ;
// clear out if committed
for (integer i = 0; i < COMMIT_WIDTH; i++) begin
if (backend_commit_i[i]) next_FTQ[comm_ptr+i] = 0;
if (i < backend_commit_num) next_FTQ[comm_ptr+i] = 0;
end
// Accept BPU input
if (bpu_i.valid) next_FTQ[bpu_ptr] = bpu_i;
Expand Down
2 changes: 1 addition & 1 deletion src/vsrc/instr_buffer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module instr_buffer
#(
parameter IF_WIDTH = 2,
parameter ID_WIDTH = 2,
parameter BUFFER_SIZE = 8
parameter BUFFER_SIZE = 16
) (
input logic clk,
input logic rst,
Expand Down

0 comments on commit 4233f7d

Please sign in to comment.