Skip to content

Commit

Permalink
[tmp] MSHR: for 1 client, we just let probeack_last be sink_c_resp_va…
Browse files Browse the repository at this point in the history
…lid (#138)

to avoid verilator bitwise optimization bug
  • Loading branch information
Ivyfeather authored Aug 8, 2023
1 parent 6121577 commit 8f2f050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/huancun/noninclusive/MSHR.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ class MSHR()(implicit p: Parameters) extends BaseMSHR[DirResult, SelfDirWrite, S
val sink_c_resp_valid = io.resps.sink_c.valid && !w_probeacklast
val probeack_bit = getClientBitOH(io.resps.sink_c.bits.source)
// ! This is the last client sending probeack
val probeack_last = (probes_done | probeack_bit) === probe_clients
val probeack_last = if(clientBits == 1) sink_c_resp_valid else (probes_done | probeack_bit) === probe_clients

// Update client_probeack_param_vec according to the param of ProbeAck
client_probeack_param_vec := client_probeack_param_vec_reg
Expand Down

0 comments on commit 8f2f050

Please sign in to comment.