Srikant Bharadwaj has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/32297 )

Change subject: mem-garnet: Wakeup Router instead of input unit within router
......................................................................

mem-garnet: Wakeup Router instead of input unit within router

This fixes a wakeup call within router. Input Unit is not
supposed to wake up on its own. In case there is another
flit in the pipeline towards the input unit of a router,
it should wakeup the entire Router to process it in the
next possible cycle.

Change-Id: If0ad5c75379cd4ae513b32e27ea821db76eb49f6
---
M src/mem/ruby/network/garnet2.0/InputUnit.cc
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/mem/ruby/network/garnet2.0/InputUnit.cc b/src/mem/ruby/network/garnet2.0/InputUnit.cc
index 7df296c..db24aef 100644
--- a/src/mem/ruby/network/garnet2.0/InputUnit.cc
+++ b/src/mem/ruby/network/garnet2.0/InputUnit.cc
@@ -127,7 +127,7 @@
         }

         if (m_in_link->isReady(curTick())) {
-            scheduleEvent(Cycles(1));
+            m_router->schedule_wakeup(Cycles(1));
         }
     }
 }

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

Gerrit-Project: public/gem5
Gerrit-Branch: feature-heterogarnet
Gerrit-Change-Id: If0ad5c75379cd4ae513b32e27ea821db76eb49f6
Gerrit-Change-Number: 32297
Gerrit-PatchSet: 1
Gerrit-Owner: Srikant Bharadwaj <srikant.bharad...@amd.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to