at.dms.kjc.cell
Class SimpleCellLayout

java.lang.Object
  extended by at.dms.kjc.cell.SimpleCellLayout
All Implemented Interfaces:
Layout<CellPU>

public class SimpleCellLayout
extends Object
implements Layout<CellPU>


Constructor Summary
SimpleCellLayout(SpaceTimeScheduleAndPartitioner spaceTime, CellChip cellChip)
           
 
Method Summary
 CellPU getComputeNode(SliceNode node)
          Get the ComputeNode for a Slice
 void run()
          Do the setup for getComputeNode.
 void setComputeNode(SliceNode node, CellPU computeNode)
          Set the ComputeNode for a Slice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCellLayout

public SimpleCellLayout(SpaceTimeScheduleAndPartitioner spaceTime,
                        CellChip cellChip)
Method Detail

getComputeNode

public CellPU getComputeNode(SliceNode node)
Description copied from interface: Layout
Get the ComputeNode for a Slice

Specified by:
getComputeNode in interface Layout<CellPU>
Parameters:
node - : the SliceNode to look up.
Returns:
the ComputeNode that should execute the SliceNode.

run

public void run()
Description copied from interface: Layout
Do the setup for getComputeNode.

Specified by:
run in interface Layout<CellPU>

setComputeNode

public void setComputeNode(SliceNode node,
                           CellPU computeNode)
Description copied from interface: Layout
Set the ComputeNode for a Slice

Specified by:
setComputeNode in interface Layout<CellPU>
Parameters:
node - the SliceNode to associate with ...
computeNode - the ComputeNode where the SliceNode should execute.