Deleted Added
sdiff udiff text old ( 13714:35636064b7a1 ) new ( 13870:2536e3a4b58d )
full compact
1# Copyright (c) 2012-2013 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

--- 112 unchanged lines hidden (view full) ---

121 else:
122 for p in port.elements:
123 dot_add_edge(simNode, callgraph, full_port_name, p)
124
125 # recurse to children
126 for child in simnode_children(simNode):
127 dot_create_edges(child, callgraph)
128
129def dot_add_edge(simNode, callgraph, full_port_name, peerPort):
130 if peerPort.role == "MASTER":
131 peer_port_name = re.sub('\.', '_', peerPort.peer.simobj.path() \
132 + "." + peerPort.peer.name)
133 callgraph.add_edge(pydot.Edge(full_port_name, peer_port_name))
134
135def dot_create_cluster(simNode, full_path, label):
136 # get the parameter values of the node and use them as a tooltip
137 ini_strings = []
138 for param in sorted(simNode._params.keys()):
139 value = simNode._values.get(param)
140 if value != None:
141 # parameter name = value in HTML friendly format
142 ini_strings.append(str(param) + "=" +

--- 229 unchanged lines hidden ---