|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectOctalRouter
public class OctalRouter
Constructor Summary | |
---|---|
OctalRouter()
|
Method Summary | |
---|---|
int |
determineRoute(int source,
int dest,
int switchAddr)
Returns the physical link number to transfer a flit from an input buffer to the output buffer on that link to reach the destination node. |
private int |
octal_static_route(int source,
int dest,
int switchAddr)
|
private int |
octalDetermineOutputLink(int destSwitch,
int ownSwitch)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OctalRouter()
Method Detail |
---|
public int determineRoute(int source, int dest, int switchAddr)
Router
determineRoute
in interface Router
source
- address of the source nodedest
- address of the destination nodeswitchAddr
- address of the switch
private int octalDetermineOutputLink(int destSwitch, int ownSwitch)
private int octal_static_route(int source, int dest, int switchAddr)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |