Topology: bug fix in external link initialization
authorTushar Krishna <tushar@csail.mit.edu>
Wed, 23 Nov 2011 21:34:13 +0000 (16:34 -0500)
committerTushar Krishna <tushar@csail.mit.edu>
Wed, 23 Nov 2011 21:34:13 +0000 (16:34 -0500)
--HG--
extra : rebase_source : c226cd1e5e5ed4d4c64fa9427de4905bd8335e34

src/mem/ruby/network/topologies/MeshDirCorners.py

index f9d302d192b8ef683da0570b768d129bae8cabf8..7be8b9101bcbff441cadb875bf3a40ee50d15643 100644 (file)
@@ -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