diff options
Diffstat (limited to 'src/mem/ruby/network/garnet')
3 files changed, 12 insertions, 12 deletions
diff --git a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh index cc1d4d929..a977f06e6 100644 --- a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh +++ b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh @@ -41,16 +41,16 @@ #include "mem/ruby/network/fault_model/FaultModel.hh" #include "params/BaseGarnetNetwork.hh" -class BaseGarnetNetwork : public Network +class BaseGarnetNetwork : public Network { public: typedef BaseGarnetNetworkParams Params; BaseGarnetNetwork(const Params *p); void init(); - int getNiFlitSize() {return m_ni_flit_size; } - int getVCsPerVnet() {return m_vcs_per_vnet; } - bool isFaultModelEnabled() {return m_enable_fault_model;} + int getNiFlitSize() { return m_ni_flit_size; } + int getVCsPerVnet() { return m_vcs_per_vnet; } + bool isFaultModelEnabled() { return m_enable_fault_model; } FaultModel* fault_model; void increment_injected_flits(int vnet) { m_flits_injected[vnet]++; } diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh index 738a28cf7..efd70c3a0 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh @@ -54,8 +54,8 @@ class GarnetNetwork_d : public BaseGarnetNetwork ~GarnetNetwork_d(); void init(); - int getBuffersPerDataVC() {return m_buffers_per_data_vc; } - int getBuffersPerCtrlVC() {return m_buffers_per_ctrl_vc; } + int getBuffersPerDataVC() { return m_buffers_per_data_vc; } + int getBuffersPerCtrlVC() { return m_buffers_per_ctrl_vc; } void collateStats(); void regStats(); @@ -69,7 +69,7 @@ class GarnetNetwork_d : public BaseGarnetNetwork } // Methods used by Topology to setup the network - void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, + void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, LinkDirection direction, const NetDest& routing_table_entry); void makeInLink(NodeID src, SwitchID dest, BasicLink* link, diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc index 07d5412d0..8951f7513 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc @@ -94,8 +94,8 @@ GarnetNetwork::~GarnetNetwork() } void -GarnetNetwork::makeInLink(NodeID src, SwitchID dest, BasicLink* link, - LinkDirection direction, +GarnetNetwork::makeInLink(NodeID src, SwitchID dest, BasicLink* link, + LinkDirection direction, const NetDest& routing_table_entry) { assert(src < m_nodes); @@ -110,8 +110,8 @@ GarnetNetwork::makeInLink(NodeID src, SwitchID dest, BasicLink* link, } void -GarnetNetwork::makeOutLink(SwitchID src, NodeID dest, BasicLink* link, - LinkDirection direction, +GarnetNetwork::makeOutLink(SwitchID src, NodeID dest, BasicLink* link, + LinkDirection direction, const NetDest& routing_table_entry) { assert(dest < m_nodes); @@ -130,7 +130,7 @@ GarnetNetwork::makeOutLink(SwitchID src, NodeID dest, BasicLink* link, void GarnetNetwork::makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, - LinkDirection direction, + LinkDirection direction, const NetDest& routing_table_entry) { GarnetIntLink* garnet_link = safe_cast<GarnetIntLink*>(link); |