From 88e91cafc62ef585b3fb9d981c22d88153aab135 Mon Sep 17 00:00:00 2001 From: Tushar Krishna Date: Wed, 23 Nov 2011 16:34:13 -0500 Subject: [PATCH] Topology: bug fix in external link initialization --HG-- extra : rebase_source : c226cd1e5e5ed4d4c64fa9427de4905bd8335e34 --- src/mem/ruby/network/topologies/MeshDirCorners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/ruby/network/topologies/MeshDirCorners.py b/src/mem/ruby/network/topologies/MeshDirCorners.py index f9d302d19..7be8b9101 100644 --- a/src/mem/ruby/network/topologies/MeshDirCorners.py +++ b/src/mem/ruby/network/topologies/MeshDirCorners.py @@ -99,7 +99,7 @@ def makeTopology(nodes, options, IntLink, ExtLink, Router): # Connect the dma nodes to router 0. These should only be DMA nodes. for (i, node) in enumerate(dma_nodes): assert(node.type == 'DMA_Controller') - ext_links.append(ExtLink(ext_node=node, int_node=mesh.routers[0])) + ext_links.append(ExtLink(link_id=link_count, ext_node=node, int_node=mesh.routers[0])) # Create the mesh links. First row (east-west) links then column # (north-south) links -- 2.30.2