diff options
author | Tushar Krishna <tushar@csail.mit.edu> | 2011-05-18 03:04:14 -0400 |
---|---|---|
committer | Tushar Krishna <tushar@csail.mit.edu> | 2011-05-18 03:04:14 -0400 |
commit | 26eaba4cb5a5933c17abe9efca8590610f1e36b4 (patch) | |
tree | e1edaf1ac8e04594b2d56c378834f1d47ae6cbfa /src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc | |
parent | 44e599a1a4843db07cb77cfedc136e8e994016cf (diff) | |
download | gem5-26eaba4cb5a5933c17abe9efca8590610f1e36b4.tar.xz |
garnet: rename and rearrange config parameters.
Renamed (message) class to vnet for consistency with rest of ruby.
Moved some parameters specific to fixed/flexible garnet networks into their
corresponding py files.
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc index 38627b109..cc6ec6abf 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.cc @@ -39,9 +39,9 @@ NetworkLink_d::NetworkLink_d(const Params *p) m_id = p->link_id; linkBuffer = new flitBuffer_d(); m_link_utilized = 0; - m_vc_load.resize(p->vcs_per_class * p->virt_nets); + m_vc_load.resize(p->vcs_per_vnet * p->virt_nets); - for (int i = 0; i < (p->vcs_per_class * p->virt_nets); i++) { + for (int i = 0; i < (p->vcs_per_vnet * p->virt_nets); i++) { m_vc_load[i] = 0; } } |