Skip to content

merlin singlerouter allows connectivity to non-existent ports #2002

@jleidel

Description

@jleidel

SST-ELEMENTS-12.1.0 Release

merlin.singlerouter allows users to connect ports that are beyond the scope of configured number of ports in the hr_router. The desired result would be a runtime error rather than a segmentation fault when the endpoints attempt to send data through the erroneous ports

Example:

router = sst.Component("router", "merlin.hr_router")
router.setSubComponent("topology", "merlin.singlerouter")
router.addParams(net_params)
router.addParams({
  "xbar_bw" : "10GB/s",
  "flit_size" : "32B",
  "num_ports" : "2",
  "id" : 0
})

link0 = sst.Link("link0")
link0.connect( (iface0, "rtr_port", "1ms"), (router, "port9", "1ms") )

link1 = sst.Link("link1")
link1.connect( (iface1, "rtr_port", "1ms"), (router, "port10", "1ms") )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions