Skip to content
Snippets Groups Projects
Commit 33682980 authored by Alban Gruin's avatar Alban Gruin
Browse files

wt_icache: lock requests


Signed-off-by: default avatarAlban Gruin <alban.gruin@irit.fr>
parent 59a05d40
Branches
Tags
No related merge requests found
......@@ -197,7 +197,7 @@ end else begin : gen_piton_offset
// wait for incoming requests
end else begin
// mem requests are for sure invals here
if (!mem_rtrn_vld_i) begin
if (!mem_rtrn_vld_i && !stall_req_i) begin
dreq_o.ready = 1'b1;
// we have a new request
if (dreq_i.req) begin
......@@ -250,7 +250,7 @@ end else begin : gen_piton_offset
// we have a miss / NC transaction
end else if (dreq_i.kill_s2) begin
state_d = IDLE;
end else begin
end else if (!stall_req_i) begin
cmp_en_d = 1'b0;
// only count this as a miss if the cache is enabled, and
// the address is cacheable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment