at.dms.kjc.spacedynamic
Class RawTile

java.lang.Object
  extended by at.dms.kjc.spacedynamic.ComputeNode
      extended by at.dms.kjc.spacedynamic.RawTile

public class RawTile
extends ComputeNode


Field Summary
 
Fields inherited from class at.dms.kjc.spacedynamic.ComputeNode
rawChip, X, Y
 
Constructor Summary
RawTile(int x, int y, RawChip rawChip)
           
 
Method Summary
 void addIOPort(IOPort io)
           
 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
 IOPort[] getIOPorts()
           
 Vector<RawTile> getNeighborTiles()
           
 List<RawTile> getSouthAndEastNeighbors()
           
 int getTileNumber()
           
 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
 String toString()
           
 
Methods inherited from class at.dms.kjc.spacedynamic.ComputeNode
getRawChip, getX, getY, isPort, isTile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RawTile

public RawTile(int x,
               int y,
               RawChip rawChip)
Method Detail

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()