Commit 754dd2b
committed
timing(MainPipe): fix critical path from Dir error to GrantBuffer
Consider the following timing path:
The `error` signal returned by Directory is used by forwarding snoop to
determine whether to allocate an MSHR. If there is an error, a SnpResp
is returned directly; otherwise, an MSHR needs to be allocated. This
signal also affects the opcode sent to GrantBuffer. GrantBuffer uses
whether the opcode is HintAck to decide whether to enqueue.
However, the opcode is, either the opcode pre-set by MSHR in MSHR
requests, or `sink_req_s3.bits.opcode` generated in s3. It can be
determined simply by using `mshr_req_s3` because when `valid` output to
GrantBuffer is false, we do not need an accurate opcode.1 parent 95e8de9 commit 754dd2b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| 666 | + | |
666 | 667 | | |
667 | 668 | | |
668 | 669 | | |
| |||
0 commit comments