Skip to content

Commit

Permalink
[hardware] Eliminate commit_i -> valid_o control path through the ring
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Sep 15, 2024
1 parent b15c9f8 commit 56b2236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/src/ara_ring_buffer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module ara_ring_buffer #(
assign empty_o = (usage_q == '0);

// The entry is valid only if it has been committed already (now or in the previous cycles)
assign valid_o = (|mem_q[head_q].rs_valid == 1'b1) && (head_q != commit_q || commit_i) && !empty_o;
assign valid_o = (|mem_q[head_q].rs_valid == 1'b1) && (head_q != commit_q) && !empty_o;

// Read and write logic
always_comb begin
Expand Down

0 comments on commit 56b2236

Please sign in to comment.