Searched refs:router (Results 1 - 22 of 22) sorted by relevance

/gem5/ext/dsent/model/network/
H A DElectricalMesh.cc100 " -> Number of sites per router must be > 0!");
127 ElectricalModel* router = (ElectricalModel*)ModelGen::createModel("Router", "MeshRouter", getTechModel()); local
128 router->setParameter("NumberInputPorts", router_number_input_ports);
129 router->setParameter("NumberOutputPorts", router_number_output_ports);
130 router->setParameter("NumberVirtualNetworks", router_number_vns);
131 router->setParameter("NumberVirtualChannelsPerVirtualNetwork", router_number_vcs_per_vn);
132 router->setParameter("NumberBuffersPerVirtualChannel", router_number_bufs_per_vc);
133 router->setParameter("NumberBitsPerFlit", number_bits_per_flit);
134 router->setParameter("InputPort->BufferModel", getParameter("Router->InputPort->BufferModel"));
135 router
284 ElectricalModel* router = (ElectricalModel*)getSubInstance("MeshRouter"); local
305 ElectricalModel* router = (ElectricalModel*)getSubInstance("MeshRouter"); local
[all...]
/gem5/ext/mcpat/
H A Dnoc.cc48 : McPATComponent(_xml_data), router(NULL), link_bus(NULL), ithNoC(ithNoC_),
65 router = new Router(noc_params.flit_size,
72 // TODO: Make a router class within McPAT that descends from McPATComponent
73 // children.push_back(router);
74 area.set_area(area.get_area() + router->area.get_area() *
78 router->power.readOp.longer_channel_leakage = router->power.readOp.leakage * long_channel_device_reduction;
79 router->buffer.power.readOp.longer_channel_leakage = router->buffer.power.readOp.leakage * long_channel_device_reduction;
80 router
[all...]
H A Dnoc.h41 #include "router.h"
76 Router* router; member in class:OnChipNetwork
H A Dmcpat.mk58 router.cc \
/gem5/configs/topologies/
H A DCluster.py69 self.router = None # created in makeTopology
82 # make a router to connect all of the nodes
83 self.router = Router(router_id=self.num_routers())
84 network.routers.append(self.router)
91 # connect this cluster to the router
92 link_out = IntLink(link_id=self.num_int_links(), src_node=self.router,
93 dst_node=node.router)
94 link_in = IntLink(link_id=self.num_int_links(), src_node=node.router,
95 dst_node=self.router)
118 # connect it to the router vi
[all...]
/gem5/util/
H A Don-chip-network-power-area.py108 ## Compute the power consumed by the given router
109 def computeRouterPowerAndArea(router, stats_file, config, int_links, ext_links,
113 frequency = getClock(router, config)
117 if config.get(int_link, "node_a") == router or \
118 config.get(int_link, "node_b") == router:
122 if config.get(ext_link, "int_node") == router:
130 print("%s Power: " % router, power)
173 for router in routers:
174 computeRouterPowerAndArea(router, stats_file, config, int_links,
201 "<simulation directory> <router confi
[all...]
/gem5/src/mem/ruby/network/garnet2.0/
H A DCrossbarSwitch.cc43 CrossbarSwitch::CrossbarSwitch(Router *router) argument
44 : Consumer(router)
46 m_router = router;
H A DCrossbarSwitch.hh50 CrossbarSwitch(Router *router);
H A DInputUnit.cc44 InputUnit::InputUnit(int id, PortDirection direction, Router *router) argument
45 : Consumer(router)
49 m_router = router;
125 // 1-cycle router
136 // Wakeup the router in that cycle to perform SA
142 // Send a credit back to upstream router for this VC.
H A DOutputUnit.cc44 OutputUnit::OutputUnit(int id, PortDirection direction, Router *router) argument
45 : Consumer(router)
49 m_router = router;
85 // Check if the output VC (i.e., input VC at next router)
96 // Check if the output port (i.e., input port at next router) has free VCs.
126 * downstream router for the output VC (i.e., input VC at downstream router).
H A DSwitchAllocator.hh50 SwitchAllocator(Router *router);
H A DRoutingUnit.hh49 RoutingUnit(Router *router);
H A DGarnetNetwork.cc85 Router* router = safe_cast<Router*>(*i); local
86 m_routers.push_back(router);
88 // initialize the router's network pointers
89 router->init_net_ptr(this);
128 // FaultModel: declare each router to the fault model
132 Router* router = safe_cast<Router*>(*i); local
134 fault_model->declare_router(router->get_num_inports(),
135 router->get_num_outports(),
136 router->get_vc_per_vnet(),
139 assert(router_id == router
[all...]
H A DOutputUnit.hh51 OutputUnit(int id, PortDirection direction, Router *router);
109 std::vector<OutVcState *> m_outvc_state; // vc state of downstream router
H A DRoutingUnit.cc42 RoutingUnit::RoutingUnit(Router *router) argument
44 m_router = router;
147 // Multiple NIs may be connected to this router,
H A DInputUnit.hh51 InputUnit(int id, PortDirection direction, Router *router);
H A DSwitchAllocator.cc42 SwitchAllocator::SwitchAllocator(Router *router) argument
43 : Consumer(router)
45 m_router = router;
87 * At the end of this function, the router is rescheduled to wakeup
165 * to the upstream router. For HEAD_TAIL/TAIL flits, is_free_signal in the
353 // Wakeup the router next cycle to perform SA again
/gem5/src/mem/ruby/network/simple/
H A DSimpleNetwork.py57 # Also add buffers for all router-link connections
58 for router in self.routers:
63 if link.dst_node == router:
73 router.port_buffers = router_buffers
/gem5/ext/mcpat/cacti/
H A Dnuca.h46 #include "router.h"
59 Router *router; member in class:nuca_org_t
H A Dcacti.mk29 cacti_interface.cc router.cc nuca.cc crossbar.cc arbiter.cc
H A Dnuca.cc119 // if(router) delete router;
126 * router configurations, grid organizations, and wire models and
131 * using various router configurations, grid organizations,
252 flit_width = (int) router_s[ro]->flit_size; //initialize router
255 /* calculate router and wire parameters */
362 nuca_list.back()->router = router_s[ro];
447 fr->router->print_router();
602 * nuca->router->flit_size +
608 * nuca->router
[all...]
/gem5/src/mem/ruby/network/
H A DTopology.cc73 BasicRouter *router = ext_link->params()->int_node; local
78 int int_idx = router->params()->router_id + 2*m_nodes;

Completed in 24 milliseconds