|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.spacedynamic.RawChip
public class RawChip
This class represents the RawChip we are compiling to *
Field Summary | |
---|---|
static int |
cacheLineBytes
|
static int |
cacheLineWords
|
static int |
dCacheSizeBytes
|
Constructor Summary | |
---|---|
RawChip(int xSize,
int ySize)
|
Method Summary | |
---|---|
boolean |
areNeighbors(ComputeNode tile1,
ComputeNode tile2)
|
void |
connectDevice(IODevice dev,
IOPort port)
|
ComputeNode |
getComputeNode(int x,
int y)
|
String |
getDirection(ComputeNode from,
ComputeNode to)
|
IOPort |
getIOPort(int i)
|
int |
getNumPorts()
|
int |
getSimulatedXSize()
|
int |
getSimulatedYSize()
|
RawTile |
getTile(int tileNumber)
|
RawTile |
getTile(int x,
int y)
|
int |
getTotalSimulatedTiles()
|
int |
getTotalTiles()
|
int |
getXDir(ComputeNode src,
ComputeNode dst)
get the direction in X from src to dst, -1 for west 0 for same X, and 1 for east |
int |
getXSize()
Return the number of tiles in the Y direction for the chip configuration. |
int |
getYDir(ComputeNode src,
ComputeNode dst)
get the direction in Y from src to dst, -1 for North 0 for same and 1 for south. |
int |
getYSize()
Return the number of tiles in the Y direction for the chip configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int cacheLineBytes
public static final int cacheLineWords
public static final int dCacheSizeBytes
Constructor Detail |
---|
public RawChip(int xSize, int ySize)
Method Detail |
---|
public int getNumPorts()
public IOPort getIOPort(int i)
public void connectDevice(IODevice dev, IOPort port)
public RawTile getTile(int tileNumber)
public ComputeNode getComputeNode(int x, int y)
public RawTile getTile(int x, int y)
public int getTotalTiles()
public int getTotalSimulatedTiles()
public int getXSize()
public int getYSize()
public int getSimulatedXSize()
public int getSimulatedYSize()
public boolean areNeighbors(ComputeNode tile1, ComputeNode tile2)
public int getXDir(ComputeNode src, ComputeNode dst)
public int getYDir(ComputeNode src, ComputeNode dst)
public String getDirection(ComputeNode from, ComputeNode to)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |