scripts: Fix to ensure that port connection count is always set
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 19 Mar 2012 10:34:02 +0000 (06:34 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 19 Mar 2012 10:34:02 +0000 (06:34 -0400)
commita444a6f8d666f7922460dc0fe75877680fd23546
tree826d852f3fdd1baf3e3ffe313c80f41790d5bf12
parentf02eec93d6785686fb9d4f7160c4af421a47521f
scripts: Fix to ensure that port connection count is always set

This patch ensures that the port connection count is set to zero in those
cases when the port is not connected.
src/python/m5/SimObject.py