summaryrefslogtreecommitdiff
path: root/configs/topologies/Crossbar.py
diff options
context:
space:
mode:
authorSean Wilson <spwilson2@wisc.edu>2017-06-12 14:20:01 -0500
committerSean Wilson <spwilson2@wisc.edu>2017-06-20 18:03:21 +0000
commit3d46619c34f1fc470fcc65b83fe678a70e89be30 (patch)
treed3f5409a6011069bb83b49020b435442a08fa045 /configs/topologies/Crossbar.py
parent6de8267fbf74f6be13e9381fe03d9014c211e1e8 (diff)
downloadgem5-3d46619c34f1fc470fcc65b83fe678a70e89be30.tar.xz
mem: Move the Rank construction logic to the Rank constructor
This change was made so Rank objects have their name assigned when they are instantiated. Therefore, they can initialize their member objects with their name and it is less likely to change during runtime. (NOTE: I would recommend hiding the fields which would cause the name to change behind getters. Since modification of `Rank.rank` during runtime will cause the `name()` to change.) Change-Id: Id51c3553b40e489792c57950e18b8ce927e43173 Signed-off-by: Sean Wilson <spwilson2@wisc.edu> Reviewed-on: https://gem5-review.googlesource.com/3742 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'configs/topologies/Crossbar.py')
0 files changed, 0 insertions, 0 deletions