|
||||||||||
| 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.IndexedNode
|
+--org.opencores.structure.NodeSPC
SPC, consisting of Conf.ADD_GROUP_SIZE full adders ports:
2 A1 3 B1
4 A2 5 B2
6 A3 7 B3
8 CIN 9 S0
10 S1 11 S2
12 S3 13 COUT 0 A0 1 B0
| Field Summary | |
static int |
CARRY_IN_PORT
index of carry input port |
static int |
CARRY_OUT_PORT
index of carry ouput port |
NodeSPC |
group
first adder of the group |
NodeSPC |
next
adder this one passes carry |
static int |
NINPUTS
number of inputs, they must be listed first in ports |
NodeSPC |
prev
adder this one receives carry |
| Fields inherited from class org.opencores.structure.IndexedNode |
idx |
| 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 | |
NodeSPC()
constructs new adder |
|
NodeSPC(NodeAdd group,
NetGlobal fillWith)
creates 4bit adder from four NodeAdds, looking at .next. |
|
NodeSPC(NodeAdd a0,
NodeAdd a1,
NodeAdd a2,
NodeAdd a3)
constructs new 4b adder from four full adders |
|
| Method Summary | |
java.lang.Object |
clone()
creates new (unlinked) node with same parameters. |
void |
duplicate(NodeAdd n)
duplicates parameters from n to this |
static int |
indexOf(int x,
int y)
returns index in array, based on position in matrix |
int |
posX()
Returns its x position. |
static int |
posX(int idx)
returns SPCs x position. |
int |
posY()
returns its y position |
static int |
posY(int idx)
returns SPCs y position. |
java.lang.String |
toString()
|
| Methods inherited from class org.opencores.structure.Node |
duplicate,
linkNets,
setWidth,
unlinkNets |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int NINPUTS
public static final int CARRY_IN_PORT
public static final int CARRY_OUT_PORT
public NodeSPC prev
public NodeSPC next
public NodeSPC group
| Constructor Detail |
public NodeSPC()
public NodeSPC(NodeAdd a0,
NodeAdd a1,
NodeAdd a2,
NodeAdd a3)
public NodeSPC(NodeAdd group,
NetGlobal fillWith)
null.group - lowest bit full adderfillWith - this global net is linked with unused inputs| Method Detail |
public java.lang.String toString()
public java.lang.Object clone()
public void duplicate(NodeAdd n)
n - node to copy data frompublic static int posX(int idx)
idx - SPC indexpublic static int posY(int idx)
idx - SPC indexpublic int posX()
public int posY()
public static int indexOf(int x,
int y)
x - x positiony - y position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||