Searched refs:number_middle_routers (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/dsent/model/network/
H A DElectricalClos.cc95 unsigned int number_middle_routers = getParameter("NumberMiddleRouters").toUInt(); local
106 ASSERT(number_middle_routers > 0, "[Error] " + getInstanceName() +
123 unsigned int ingress_router_number_output_ports = number_middle_routers;
126 unsigned int egress_router_number_input_ports = number_middle_routers;
129 unsigned int number_ingress_to_middle_links = number_ingress_routers * number_middle_routers;
130 unsigned int number_middle_to_egress_links = number_middle_routers * number_egress_routers;
297 addSubInstances(middle_router, number_middle_routers);
298 addElectricalSubResults(middle_router, number_middle_routers);
H A DPhotonicClos.cc101 unsigned int number_middle_routers = getParameter("NumberMiddleRouters").toUInt(); local
114 ASSERT(number_middle_routers > 0, "[Error] " + getInstanceName() +
134 unsigned int ingress_router_number_output_ports = number_middle_routers;
137 unsigned int egress_router_number_input_ports = number_middle_routers;
140 unsigned int number_ingress_to_middle_links = number_ingress_routers * number_middle_routers;
141 unsigned int number_middle_to_egress_links = number_middle_routers * number_egress_routers;
310 addSubInstances(middle_router, number_middle_routers);
311 addElectricalSubResults(middle_router, number_middle_routers);

Completed in 9 milliseconds