11 #ifndef SSTMAC_HARDWARE_NETWORK_TOPOLOGY_CROSSBAR_H_INCLUDED 12 #define SSTMAC_HARDWARE_NETWORK_TOPOLOGY_CROSSBAR_H_INCLUDED 29 return "crossbar topology";
void configure_vc_routing(std::map< routing::algorithm_t, int > &m) const
void minimal_route_to_switch(switch_id current_sw_addr, switch_id dest_sw_addr, structured_routable::path &path) const
Implementation of topology::minimal_route_to_switch.
virtual void connect_objects(internal_connectable_map &switches)
Given a set of connectables, connect them appropriately.
virtual void init_factory_params(sprockit::sim_parameters *params)
virtual int convert_to_port(int dim, int dir) const
virtual std::string to_string() const
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual int num_switches() const
virtual void productive_path(int dim, const coordinates &src, const coordinates &dst, structured_routable::path &path) const
The crossbar network generates a network which connects all nodes with only two hops: those to and fr...
switch_id switch_number(const coordinates &coords) const
void minimal_route_to_coords(const coordinates &src_coords, const coordinates &dest_coords, structured_routable::path &path) const
Workhorse function for implementing minimal_route_to_switch and #minimal_route_to_node.
Encapsulates a topology like torus, fat tree, butterfly which has a regular, well-defined structure...
int minimal_distance(const coordinates &src_coords, const coordinates &dest_coords) const
The function accepts either source or node coordinates.
virtual void compute_switch_coords(switch_id uid, coordinates &coords) const
Compute coordinates (e.g.
int ndimensions() const
The number of distinct 'dimensions' in the topology.
int num_leaf_switches() const
Structured topologies can be direct (torus) or indirect (fat tree).