at.dms.kjc.spacedynamic
Class RawTile
java.lang.Object
at.dms.kjc.spacedynamic.ComputeNode
at.dms.kjc.spacedynamic.RawTile
public class RawTile
- extends ComputeNode
RawTile
public RawTile(int x,
int y,
RawChip rawChip)
addIOPort
public void addIOPort(IOPort io)
getAttachedFileReaders
public LinkedList<FileReaderDevice> getAttachedFileReaders()
- Function that returns the device connected to this tile
it will die if there isn't a device or if there are two devices
toString
public String toString()
- Overrides:
toString
in class Object
getIOPorts
public IOPort[] getIOPorts()
hopsToEdge
public int hopsToEdge()
- return the shortest number of hops to the edge of the chip
don't count the src or dest, only count intermediate hops,
so tile on the border return 0
getTileNumber
public int getTileNumber()
getSouthAndEastNeighbors
public List<RawTile> getSouthAndEastNeighbors()
getNeighborTiles
public Vector<RawTile> getNeighborTiles()