-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
Milestone
Description
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") )