From: Tushar Krishna Date: Wed, 23 Nov 2011 21:34:13 +0000 (-0500) Subject: Topology: bug fix in external link initialization X-Git-Tag: stable_2012_02_02~23 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88e91cafc62ef585b3fb9d981c22d88153aab135;p=gem5.git Topology: bug fix in external link initialization --HG-- extra : rebase_source : c226cd1e5e5ed4d4c64fa9427de4905bd8335e34 --- 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