Module caminos_lib::topology
source · Expand description
A Topology defines the way routers and servers are connected.
see new_topology
for documentation on the configuration syntax of predefined topologies.
Modules
- Some things most uses of the topology module will use.
Structs
- Item for iterators of neighbour routers.
- The use may want to build topologies himself, and it cannot be
Default' unless we move to
Cow’. So I am removing the non_exhaustive attribute.
Enums
- A location where a phit can be inserted. None is used for disconnected ports, for example in the
Mesh
topology.
Traits
- A topology describes how routers and servers are connected. The router
index
hasports(index)
neighbours. The firstdegree(index)
must be other routers.
Functions
- Build a topology. All topologies should admit an optional
legend_name
to be used in plots.