at.dms.kjc.spacetime
Class IntraSliceBuffer
java.lang.Object
at.dms.kjc.backendSupport.Channel
at.dms.kjc.spacetime.OffChipBuffer
at.dms.kjc.spacetime.IntraSliceBuffer
public class IntraSliceBuffer
- extends OffChipBuffer
This class represents the buffer between the sink filter of a slice
and outputslicenode or between the inputslicenode and the source filter of a
slice.
- Author:
- mgordon
Field Summary |
protected boolean |
staticNet
true if this buffer uses static net |
Methods inherited from class at.dms.kjc.spacetime.OffChipBuffer |
areAllAssigned, getDRAM, getIdent, getIdent, getIdent, getOwner, getRotationLength, getSize, isAssigned, isInterSlice, isIntraSlice, resetDRAMAssignment, setDRAM, setRotationLengths, toString, totalBufferSizeInBytes, unnecessary, unnecessary, unsetDRAM |
Methods inherited from class at.dms.kjc.backendSupport.Channel |
addChannel, assignFromPeekMethod, assignFromPeekMethodName, assignFromPopMethod, assignFromPopMethodName, beginInitRead, beginInitWrite, beginSteadyRead, beginSteadyWrite, dataDecls, dataDeclsH, endInitRead, endInitWrite, endSteadyRead, endSteadyWrite, findChannel, getBuffers, getDest, getExtraCount, getSource, getType, peekMethod, peekMethodName, popManyMethod, popManyMethodName, popMethod, popMethodName, postPreworkInitRead, printBuffers, pushMethod, pushMethodName, readDecls, readDeclsExtern, reset, setExtralength, topOfWorkSteadyRead, topOfWorkSteadyWrite, writeDecls, writeDeclsExtern |
staticNet
protected boolean staticNet
- true if this buffer uses static net
getBuffer
public static IntraSliceBuffer getBuffer(FilterSliceNode src,
OutputSliceNode dst)
getBuffer
public static IntraSliceBuffer getBuffer(InputSliceNode src,
FilterSliceNode dst)
isStaticNet
public boolean isStaticNet()
- Returns:
- Returns true if this buffer uses staticNet.
setStaticNet
public void setStaticNet(boolean staticNet)
- Parameters:
staticNet
- The staticNet to set.
redundant
public boolean redundant()
- Specified by:
redundant
in class OffChipBuffer
getNonRedundant
public OffChipBuffer getNonRedundant()
- Description copied from class:
OffChipBuffer
- if this buffer is redundant return the first upstream buffer that is not
redundant, return null if this is a input->filter buffer with no input or
a filter->output buffer with no output
- Specified by:
getNonRedundant
in class OffChipBuffer
calculateSize
protected void calculateSize()
- Specified by:
calculateSize
in class OffChipBuffer
getDstIntraBuf
public static IntraSliceBuffer getDstIntraBuf(Slice t)
- Parameters:
t
- a slice.
- Returns:
- The intrasliceBuffer between the last filter and the outputslicenode
getSrcIntraBuf
public static IntraSliceBuffer getSrcIntraBuf(Slice t)
- Parameters:
t
- a slice.
- Returns:
- The intraslicebuffer between the inputslicenode
and the first filterslicenode