Eden Avivi has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/33502 )

Change subject: misc: Master/Slave terminology
......................................................................

misc: Master/Slave terminology

Changed MonitorMasterPort and MonitorSlavePort

Change-Id: Ibb605458532ce40b8635d3f62d8831c7032de82e
---
M src/mem/comm_monitor.hh
M src/mem/mem_checker_monitor.hh
2 files changed, 24 insertions(+), 24 deletions(-)



diff --git a/src/mem/comm_monitor.hh b/src/mem/comm_monitor.hh
index 33cf4d8..ec7521a 100644
--- a/src/mem/comm_monitor.hh
+++ b/src/mem/comm_monitor.hh
@@ -112,17 +112,17 @@
     };

     /**
-     * This is the master port of the communication monitor. All recv
+     * This is the request port of the communication monitor. All recv
      * functions call a function in CommMonitor, where the
-     * send function of the slave port is called. Besides this, these
+     * send function of the response port is called. Besides this, these
      * functions can also perform actions for capturing statistics.
      */
-    class MonitorMasterPort : public RequestPort
+    class MonitorRequestPort : public RequestPort
     {

       public:

-        MonitorMasterPort(const std::string& _name, CommMonitor& _mon)
+        MonitorRequestPort(const std::string& _name, CommMonitor& _mon)
             : RequestPort(_name, &_mon), mon(_mon)
         { }

@@ -174,21 +174,21 @@

     };

-    /** Instance of master port, facing the memory side */
-    MonitorMasterPort masterPort;
+    /** Instance of request port, facing the memory side */
+    MonitorRequestPort masterPort;

     /**
-     * This is the slave port of the communication monitor. All recv
+     * This is the response port of the communication monitor. All recv
      * functions call a function in CommMonitor, where the
-     * send function of the master port is called. Besides this, these
+     * send function of the request port is called. Besides this, these
      * functions can also perform actions for capturing statistics.
      */
-    class MonitorSlavePort : public ResponsePort
+    class MonitorResponsePort : public ResponsePort
     {

       public:

-        MonitorSlavePort(const std::string& _name, CommMonitor& _mon)
+        MonitorResponsePort(const std::string& _name, CommMonitor& _mon)
             : ResponsePort(_name, &_mon), mon(_mon)
         { }

@@ -235,8 +235,8 @@

     };

-    /** Instance of slave port, i.e. on the CPU side */
-    MonitorSlavePort slavePort;
+    /** Instance of response port, i.e. on the CPU side */
+    MonitorResponsePort slavePort;

     void recvFunctional(PacketPtr pkt);

diff --git a/src/mem/mem_checker_monitor.hh b/src/mem/mem_checker_monitor.hh
index c2fb80d..2f1f533 100644
--- a/src/mem/mem_checker_monitor.hh
+++ b/src/mem/mem_checker_monitor.hh
@@ -83,17 +83,17 @@
     };

     /**
-     * This is the master port of the communication monitor. All recv
+     * This is the request port of the communication monitor. All recv
      * functions call a function in MemCheckerMonitor, where the
-     * send function of the slave port is called. Besides this, these
+     * send function of the response port is called. Besides this, these
      * functions can also perform actions for capturing statistics.
      */
-    class MonitorMasterPort : public RequestPort
+    class MonitorRequestPort : public RequestPort
     {

       public:

- MonitorMasterPort(const std::string& _name, MemCheckerMonitor& _mon) + MonitorRequestPort(const std::string& _name, MemCheckerMonitor& _mon)
             : RequestPort(_name, &_mon), mon(_mon)
         { }

@@ -140,21 +140,21 @@

     };

-    /** Instance of master port, facing the memory side */
-    MonitorMasterPort masterPort;
+    /** Instance of request port, facing the memory side */
+    MonitorRequestPort masterPort;

     /**
-     * This is the slave port of the communication monitor. All recv
+     * This is the response port of the communication monitor. All recv
      * functions call a function in MemCheckerMonitor, where the
-     * send function of the master port is called. Besides this, these
+     * send function of the request port is called. Besides this, these
      * functions can also perform actions for capturing statistics.
      */
-    class MonitorSlavePort : public ResponsePort
+    class MonitorResponsePort : public ResponsePort
     {

       public:

-        MonitorSlavePort(const std::string& _name, MemCheckerMonitor& _mon)
+ MonitorResponsePort(const std::string& _name, MemCheckerMonitor& _mon)
             : ResponsePort(_name, &_mon), mon(_mon)
         { }

@@ -196,8 +196,8 @@

     };

-    /** Instance of slave port, i.e. on the CPU side */
-    MonitorSlavePort slavePort;
+    /** Instance of response port, i.e. on the CPU side */
+    MonitorResponsePort slavePort;

     void recvFunctional(PacketPtr pkt);


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

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ibb605458532ce40b8635d3f62d8831c7032de82e
Gerrit-Change-Number: 33502
Gerrit-PatchSet: 1
Gerrit-Owner: Eden Avivi <eav...@ucdavis.edu>
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