Zicong Wang has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/15535

Change subject: mem-ruby: Fix missing TBE allocation and deallocation
......................................................................

mem-ruby: Fix missing TBE allocation and deallocation

The TBE allocation and deallcation are currently missing during
the directory state transition from I to M in protocol MI_example.

Change-Id: If7569c02faf56ea84c34ee1345f1a33d318cdfff
Signed-off-by: Zicong Wang <wangzic...@nudt.edu.cn>
---
M src/mem/protocol/MI_example-dir.sm
1 file changed, 2 insertions(+), 0 deletions(-)



diff --git a/src/mem/protocol/MI_example-dir.sm b/src/mem/protocol/MI_example-dir.sm
index e2d8342..e9f6521 100644
--- a/src/mem/protocol/MI_example-dir.sm
+++ b/src/mem/protocol/MI_example-dir.sm
@@ -498,6 +498,7 @@

   transition(I, GETX, IM) {
     //d_sendData;
+    v_allocateTBEFromRequestNet;
     qf_queueMemoryFetchRequest;
     e_ownerIsRequestor;
     i_popIncomingRequestQueue;
@@ -506,6 +507,7 @@
   transition(IM, Memory_Data, M) {
     d_sendData;
     //e_ownerIsRequestor;
+    w_deallocateTBE;
     l_popMemQueue;
   }


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/15535
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: If7569c02faf56ea84c34ee1345f1a33d318cdfff
Gerrit-Change-Number: 15535
Gerrit-PatchSet: 1
Gerrit-Owner: Zicong Wang <wangzic...@nudt.edu.cn>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to