提交 18175dfa 编写于 作者: Y Yinan Xu

Merge remote-tracking branch 'origin/L1DCacheRefactoring' into HEAD

......@@ -56,6 +56,9 @@ class AtomicsMissQueue extends DCacheModule
when (state === s_replay_req) {
io.replay.req.valid := true.B
io.replay.req.bits := req
// use our own storeMissEntryId
// miss resp are routed by this id
io.replay.req.bits.meta.id := id
when (io.replay.req.fire()) {
state := s_replay_resp
}
......@@ -113,6 +116,8 @@ class AtomicsMissQueue extends DCacheModule
when (state === s_resp) {
io.lsu.resp.valid := true.B
io.lsu.resp.bits := resp
// response to sbuffer should carry the original request id
io.lsu.resp.bits.meta.id := req.meta.id
when (io.lsu.resp.fire()) {
state := s_invalid
......
......@@ -70,6 +70,9 @@ class StoreMissEntry extends DCacheModule
when (state === s_replay_req) {
io.replay.req.valid := true.B
io.replay.req.bits := req
// use our own storeMissEntryId
// miss resp are routed by this id
io.replay.req.bits.meta.id := io.id
when (io.replay.req.fire()) {
state := s_replay_resp
}
......@@ -127,6 +130,8 @@ class StoreMissEntry extends DCacheModule
when (state === s_resp) {
io.lsu.resp.valid := true.B
io.lsu.resp.bits := resp
// response to sbuffer should carry the original request id
io.lsu.resp.bits.meta.id := req.meta.id
when (io.lsu.resp.fire()) {
state := s_invalid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册