There is a bug in MeshDirCorners.py,   the link_id is not properly set when 
connecting dma to router0. Without setting the link_id, it will give out the 
following errors:
fatal: system.ruby.network.topology.ext_links36.link_id without default or user 
set value
Segmentation fault


  1 --- MeshDirCorners.py   2011-06-03 14:52:18.000000000 -0400
--- MeshDirCorners.py    2011-06-03 14:52:18.000000000 -0400
+++ MeshDirCorners_new.py    2011-11-23 09:40:36.000000000 -0500
@@ -99,7 +99,7 @@
     # 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

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to