summaryrefslogtreecommitdiff
path: root/src/python/m5/__init__.py
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2014-01-03 17:08:42 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2014-01-03 17:08:42 -0800
commitba9ec669bcf68e4d4e3322f07e5f51af19f05b4a (patch)
treea268c8c49dd1afa8e8b5838836aa27b9facc3fa1 /src/python/m5/__init__.py
parentb4b03a60b170362aa0ae9dcfd224ed4fbce69683 (diff)
downloadgem5-ba9ec669bcf68e4d4e3322f07e5f51af19f05b4a.tar.xz
python: don't die on assignment to cloned object
Updating the SimObject topology of a cloned hierarchy is a little dangerous, in that cloning is a "deep copy" and the clone does not inherit SimObject updates the same way it would inherit scalar variable assignments. However, because of various SimObject-valued proxy parameters, like 'memories', 'clk_domain', and 'system', it turns out that there are a number of implicit topology changes that happen at instantiation, which means that these changes are impossible to avoid. So in order to make cloning systems useful, this error has to go. Changing it to a warning produces a lot of noise, so it seems best just to delete it.
Diffstat (limited to 'src/python/m5/__init__.py')
0 files changed, 0 insertions, 0 deletions