cache_ctrl: Do not accept new request during flush (#1677)

This commit is contained in:
Nils Wistoff 2023-12-06 12:03:45 +01:00 committed by GitHub
parent abf55c01af
commit 8ef0d66d65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,7 +396,7 @@ module cache_ctrl
req_port_o.data_rvalid = ~mem_req_q.killed;
req_port_o.data_rdata = critical_word_i;
// we can make another request
if (req_port_i.data_req) begin
if (req_port_i.data_req && !flush_i) begin
// save index, be and we
mem_req_d.index = req_port_i.address_index;
mem_req_d.id = req_port_i.data_id;