Skip to content
Snippets Groups Projects
Commit 6cd8cd6f authored by Mikael Djurfeldt's avatar Mikael Djurfeldt
Browse files

Use color instead of leader

parent 28aa7278
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ class ConnectivityMap (object):
connections.append (connection)
def conf (self):
conf = str (len (self.ports))
conf = str (len (self.ports)) # size
for portName in self.ports:
(direction, width, connections) = self.ports[portName]
conf += ':' + portName + ':' + direction + ':' + width
......@@ -211,12 +211,12 @@ def connect (fromApp, fromPort, toApp, toPort, width,
fromApp.connectivityMap.register (fromPort, OUTPUT, width,
toApp.name, toPort,
str (portCode (toApp.name, toPort)),
str (toApp.leader), str (toApp.np),
str (toApp.number), str (toApp.np),
str (commAlg), str (procMethod))
toApp.connectivityMap.register (toPort, INPUT, width,
toApp.name, toPort,
str (portCode (toApp.name, toPort)),
str (fromApp.leader), str (fromApp.np),
str (fromApp.number), str (fromApp.np),
str (commAlg), str (procMethod))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment