at.dms.kjc.spacetime
Class RawTile
java.lang.Object
at.dms.kjc.slicegraph.ProcElement
at.dms.kjc.backendSupport.ComputeNode<RawComputeCodeStore>
at.dms.kjc.spacetime.RawComputeNode
at.dms.kjc.spacetime.RawTile
public class RawTile
- extends RawComputeNode
This class represents a raw tile on the raw chip with its compute
processor and its switch processor and the code that runs on each.
- Author:
- mgordon
RawTile
public RawTile(int x,
int y,
RawChip rawChip)
toString
public String toString()
- Overrides:
toString
in class Object
hasIODevice
public boolean hasIODevice()
addIODevice
public void addIODevice(IODevice io)
addBuffer
public void addBuffer(OffChipBuffer buf)
getBuffers
public HashSet<OffChipBuffer> getBuffers()
getDRAM
public StreamingDram getDRAM()
setDRAM
public void setDRAM(StreamingDram sd)
isAttached
public boolean isAttached(IODevice dev)
getIOIndex
public int getIOIndex(IODevice dev)
getIODevices
public IODevice[] getIODevices()
getIODevice
public IODevice getIODevice()
getTileNumber
public int getTileNumber()
hasComputeCode
public boolean hasComputeCode()
hasSwitchCode
public boolean hasSwitchCode()
getSwitchCode
public SwitchCodeStore getSwitchCode()
setSwitches
public void setSwitches()
setMapped
public void setMapped()
isMapped
public boolean isMapped()
setComputes
public void setComputes()
printDram
public void printDram()
printDramSetup
public static void printDramSetup(RawChip chip)
getNeighborTiles
public Vector<RawTile> getNeighborTiles()
addSliceNode
public void addSliceNode(boolean init,
boolean primepump,
SliceNode node)
- Add a SliceNode to the the filters associated with this node.
- Parameters:
init
- true if init stage, false if primepump or steady stageprimepump
- true if primepump stage, false if init or steady stagenode
- SliceNode to add
getSliceNodes
public Iterable<SliceNode> getSliceNodes(boolean init,
boolean primepump)
- Get the SliceNode's associated with this ComputeNode.
- Parameters:
init
- true if init stage, false if primepump or steady stageprimepump
- true if primepump stage, false if init or steady stage
- Returns:
- the FilterSliceNodes added by addFilterSlice for the passed
values of init and primepump