|
||||||||||
| 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.NodeLUT
|
+--org.opencores.structure.NodePrim
LUT cell type class. It implements some standard primitives
| Field Summary | |
static int |
AND2
primitive |
static int |
BUF
primitive |
private static byte[] |
funcs
primitive's functions |
static int |
GND
primitive |
static int |
INV
primitive |
static java.lang.String[] |
names
primitive's names |
static int |
NAND2
primitive |
static int |
NOR2
primitive |
static int |
OR2
primitive |
private static int[] |
sizes
primitive's number of inputs |
static int |
VCC
primitive |
static int |
XOR2
primitive |
| Fields inherited from class org.opencores.structure.NodeLUT |
func,
OUT |
| 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 | |
NodePrim(int type)
|
|
| Method Summary | |
java.lang.Object |
clone()
creates new (unlinked) node with same parameters. |
void |
duplicate(NodePrim n)
duplicates parameters from n to this |
java.lang.String |
toString()
|
| Methods inherited from class org.opencores.structure.NodeLUT |
calc,
duplicate,
isAChild,
NumJoinInputs,
NumJoinInputsEx,
permutateInputs,
permutateInputsInv,
size |
| 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 INV
public static final int XOR2
public static final int AND2
public static final int OR2
public static final int NAND2
public static final int NOR2
public static final int GND
public static final int VCC
public static final int BUF
private static final int[] sizes
private static final byte[] funcs
public static final java.lang.String[] names
| Constructor Detail |
public NodePrim(int type)
type - primitive type (e.g. NodePrim.INV)| Method Detail |
public java.lang.String toString()
public java.lang.Object clone()
public void duplicate(NodePrim n)
n - node to copy data from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||