at.dms.kjc.spacetime
Class RawComputeNode

java.lang.Object
  extended by at.dms.kjc.slicegraph.ProcElement
      extended by at.dms.kjc.backendSupport.ComputeNode<RawComputeCodeStore>
          extended by at.dms.kjc.spacetime.RawComputeNode
Direct Known Subclasses:
IODevice, RawTile

public class RawComputeNode
extends ComputeNode<RawComputeCodeStore>

This abstract class represents a node of the Raw chip that performs computation. So conceptually, it could be a tile or even an i/o device connected to the side of the chip that we route from or to. For tiles, we start the coordinate numbering at the upper left side of the chip. Thus devices can have negative coordinate components.

Author:
mgordon

Field Summary
protected  RawChip rawChip
          the parent RawChip
protected  int X
          the x coordinate
protected  int Y
          the y coordinate
 
Fields inherited from class at.dms.kjc.backendSupport.ComputeNode
computeCode
 
Constructor Summary
RawComputeNode(RawChip chip)
          Construct a new ComputeNode of chip.
 
Method Summary
 RawChip getRawChip()
          Return the RawChip we are a part of.
 int getX()
          Return the x coordinate.
 int getY()
          Return the y coordinate.
 
Methods inherited from class at.dms.kjc.backendSupport.ComputeNode
getComputeCode, getUniqueId, setComputeCode, setUniqueId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X

protected int X
the x coordinate


Y

protected int Y
the y coordinate


rawChip

protected RawChip rawChip
the parent RawChip

Constructor Detail

RawComputeNode

public RawComputeNode(RawChip chip)
Construct a new ComputeNode of chip.

Parameters:
chip - The parent RawChip.
Method Detail

getRawChip

public RawChip getRawChip()
Return the RawChip we are a part of.

Returns:
the RawChip we are a part of.

getX

public int getX()
Return the x coordinate.

Returns:
the x coordinate.

getY

public int getY()
Return the y coordinate.

Returns:
the y coordinate.