|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.opencores.structure.Node
|
+--org.opencores.structure.NodeRoutable
|
+--org.opencores.structure.IndexedNode
|
+--org.opencores.structure.NodeGPC
GPC, consisting of one 5->1 LUT and one FFs.
IndexedNode| Field Summary | |
NodeLUT |
a
LUT inside this |
static int |
CLK
a's clock |
private static int[] |
INPUT_CONF
Precalculated table for input selection. |
static int |
NINPUTS_LUT
number of inputs for LUT |
static int |
OUT
a's output |
NodeFF |
ra
FF inside this |
static int |
RST
a's async reset |
static int |
SET
a's async set |
| Fields inherited from class org.opencores.structure.IndexedNode |
idx |
| Fields inherited from class org.opencores.structure.NodeRoutable |
cost,
costs,
neigh,
neighCoor,
NINPUTS_ROUTABLE,
nSegments,
portsUnassigned,
segments |
| Fields inherited from class org.opencores.structure.Node |
dir,
flag,
fx,
fy,
INOUT,
INPUT,
link,
name,
nfx,
nfy,
OUTPUT,
ports,
temp,
visited,
weight,
width,
x,
y |
| Constructor Summary | |
NodeGPC(NodeLUT a,
NodeFF ra,
boolean updateNets,
NetGlobal fillWith)
groups specified elements into one GPC |
|
| Method Summary | |
static int |
indexOf(int x,
int y)
Returns index in array, based on position in matrix. |
boolean |
isConnectable(int pin,
int segment)
|
int |
posX()
Returns its x position. |
static int |
posX(int idx)
returns GPCs x position. |
int |
posY()
returns its y position |
static int |
posY(int idx)
returns GPCs y position. |
java.lang.String |
toString()
|
void |
writeBitstream(BitStreamWriter stream)
Writes (necessary) bistream representation of this object to stream. |
| Methods inherited from class org.opencores.structure.NodeRoutable |
calcCost,
lessLoadedNeighbour,
opposite |
| Methods inherited from class org.opencores.structure.Node |
clone,
duplicate,
linkNets,
setWidth,
unlinkNets |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int NINPUTS_LUT
public static final int CLK
public static final int SET
public static final int RST
public static final int OUT
public NodeLUT a
thispublic NodeFF ra
thisprivate static final int[] INPUT_CONF
| Constructor Detail |
public NodeGPC(NodeLUT a,
NodeFF ra,
boolean updateNets,
NetGlobal fillWith)
a - LUTra - FF connected to a's outputupdateNets - whether nets should be relinked to new GPCfillWith - this global net is set to unassigned inputs
If parameters are null, they are ignored. WARNING: no checking for FFs. Nets between x-rx have to be deleted manually
| Method Detail |
public java.lang.String toString()
public static int posX(int idx)
idx - GPC indexpublic static int posY(int idx)
idx - GPC indexpublic int posX()
public int posY()
public static int indexOf(int x,
int y)
x - x positiony - y position
public boolean isConnectable(int pin,
int segment)
pin using wire segment segment/i>
public void writeBitstream(BitStreamWriter stream)
throws java.io.IOException
this object to stream.stream - stream to write to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||