at.dms.kjc.spacetime
Class StreamingDram
java.lang.Object
at.dms.kjc.slicegraph.ProcElement
at.dms.kjc.backendSupport.ComputeNode<RawComputeCodeStore>
at.dms.kjc.spacetime.RawComputeNode
at.dms.kjc.spacetime.IODevice
at.dms.kjc.spacetime.StreamingDram
public class StreamingDram
- extends IODevice
This class represents a streaming dram (SDRAM) that can be attached
to a port of the raw chip.
- Author:
- mgordon
Field Summary |
static int |
STREAMING_QUEUE_SIZE
the max number of read or write instructions that can be issued to
a the streaming dram. |
STREAMING_QUEUE_SIZE
public static final int STREAMING_QUEUE_SIZE
- the max number of read or write instructions that can be issued to
a the streaming dram.
- See Also:
- Constant Field Values
setSize
public static void setSize(RawProcElements chip)
getStrDram
public static StreamingDram getStrDram(Address addr,
RawProcElements chip)
differentDRAMs
public static boolean differentDRAMs(OutputSliceNode out)
differentDRAMs
public static boolean differentDRAMs(InputSliceNode in)
getUB
public Address getUB()
getLB
public Address getLB()
setTiles
public static void setTiles(RawChip chip)
- Set the tile(s) that is(are) mapped by the hardware to this dram.
Note that we use a different mapping in our compiler so we must communicate
some address between allocating tiles and logical owner tiles.
- Parameters:
chip
-
setBounds
public static void setBounds(RawProcElements chip)
printDramSetup
public void printDramSetup()
printSetup
public static void printSetup(RawProcElements chip)
toString
public String toString()
- Overrides:
toString
in class Object
resetFileAssignments
public void resetFileAssignments()
setFileReader
public void setFileReader(FileInputContent file)
setFileWriter
public void setFileWriter(FileOutputContent file)
getFileReader
public FileState getFileReader()
getFileWriter
public FileState getFileWriter()
isFileReader
public boolean isFileReader()
isFileWriter
public boolean isFileWriter()