Topology: bug fix in external link initialization
--HG-- extra : rebase_source : c226cd1e5e5ed4d4c64fa9427de4905bd8335e34
This commit is contained in:
parent
eff430a972
commit
88e91cafc6
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def makeTopology(nodes, options, IntLink, ExtLink, Router):
|
||||||
# Connect the dma nodes to router 0. These should only be DMA nodes.
|
# Connect the dma nodes to router 0. These should only be DMA nodes.
|
||||||
for (i, node) in enumerate(dma_nodes):
|
for (i, node) in enumerate(dma_nodes):
|
||||||
assert(node.type == 'DMA_Controller')
|
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
|
# Create the mesh links. First row (east-west) links then column
|
||||||
# (north-south) links
|
# (north-south) links
|
||||||
|
|
Loading…
Reference in a new issue