Skip to content

Commit

Permalink
cache_ctrl: report data only for valid reads
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
  • Loading branch information
niwis authored and zarubaf committed Sep 11, 2020
1 parent 493add1 commit 13c6ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache_subsystem/cache_ctrl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ module cache_ctrl import ariane_pkg::*; import std_cache_pkg::*; #(

// report data for a read
if (!mem_req_q.we) begin
req_port_o.data_rvalid = 1'b1;
req_port_o.data_rvalid = ~mem_req_q.killed;
// else this was a store so we need an extra step to handle it
end else begin
state_d = STORE_REQ;
Expand Down

0 comments on commit 13c6ee7

Please sign in to comment.