public class XYTorusUnfoldedOptimized extends Routing
K. Feng, Y. Ye, and J. Xu, “A formal study on topology and floorplan characteristics of mesh and torus-based optical networks-on-chip,” Microprocessors and Microsystems, vol. 37, no. 8, pp. 941–952, 2013.
Constructor and Description |
---|
XYTorusUnfoldedOptimized() |
Modifier and Type | Method and Description |
---|---|
int |
calcInputPort(Topology top,
int src,
int dst)
Calculates the input port used by a message to reach
the current hop along the path between a source and
a destination.
|
int |
calcOutputPort(Topology topology,
int src_tile,
int dst_tile)
Evaluates the output port ID required to reach the next hop.
|
public int calcOutputPort(Topology topology, int src_tile, int dst_tile)
Routing
calcOutputPort
in class Routing
topology
- The topologysrc_tile
- The tile of the optical routerdst_tile
- The destination tilepublic int calcInputPort(Topology top, int src, int dst)
Routing
calcInputPort
in class Routing
top
- The topologysrc
- The source tile of the optical routerdst
- The destination tile