1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license
--- 1036 unchanged lines hidden (view full) ---
1045 return self.getCCObject()
1046
1047 # Create C++ port connections corresponding to the connections in
1048 # _port_refs
1049 def connectPorts(self):
1050 for portRef in self._port_refs.itervalues():
1051 portRef.ccConnect()
1052
1053 def takeOverFrom(self, old_cpu):
1054 self._ccObject.takeOverFrom(old_cpu._ccObject)
1055
1056# Function to provide to C++ so it can look up instances based on paths
1057def resolveSimObject(name):
1058 obj = instanceDict[name]
1059 return obj.getCCObject()
1060
--- 55 unchanged lines hidden ---
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license
--- 1036 unchanged lines hidden (view full) ---
1045 return self.getCCObject()
1046
1047 # Create C++ port connections corresponding to the connections in
1048 # _port_refs
1049 def connectPorts(self):
1050 for portRef in self._port_refs.itervalues():
1051 portRef.ccConnect()
1052
1053 def takeOverFrom(self, old_cpu):
1054 self._ccObject.takeOverFrom(old_cpu._ccObject)
1055
1056# Function to provide to C++ so it can look up instances based on paths
1057def resolveSimObject(name):
1058 obj = instanceDict[name]
1059 return obj.getCCObject()
1060
--- 55 unchanged lines hidden ---