diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-05-23 09:01:56 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-05-23 09:01:56 -0400 |
commit | 31b4ac5cec638ee5a60e15fada85f5890300ec6a (patch) | |
tree | 4ddbc86cecd2b667e8b671367646c8fbaea59852 /src/arch/sparc/SparcInterrupts.py | |
parent | 0bff8eb210fedd89baed36ecab3608bb259ff520 (diff) | |
download | gem5-31b4ac5cec638ee5a60e15fada85f5890300ec6a.tar.xz |
Config: Exit with fatal if a port is already connected
This patch turns the existing warning into a fatal, as there should
never be any cases where a (non-vector) port is assigned to and then
later connected to something else. If this behaviour is allowed, as it
used to be, there are cases where the wrong number of C++ ports are
created when instantiating objects with VectorPorts (obviously that
could be fixed, but the better approach is to simply not allow it).
Diffstat (limited to 'src/arch/sparc/SparcInterrupts.py')
0 files changed, 0 insertions, 0 deletions