|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.opencores.structure.Node
node structure suitable for P&R process
| Field Summary | |
int[] |
dir
directions of ports Edifp.Port. |
boolean |
flag
misc flag |
float |
fx
RxR position |
float |
fy
RxR position |
static int |
INOUT
input/output type wire |
static int |
INPUT
input type wire |
Node |
link
node link - for graph duplication, etc. |
java.lang.String |
name
node name |
float |
nfx
temp RxR position |
float |
nfy
temp RxR position |
static int |
OUTPUT
output type wire |
Net[] |
ports
nets that are connected to ports |
int |
temp
misc used temp |
boolean |
visited
visited flag |
float[] |
weight
weights of specific ports |
int |
width
# function inputs |
int |
x
placed position |
int |
y
placed position |
| Constructor Summary | |
(package private) |
Node()
Constructs new node. |
|
Node(int width)
Allocates new node. |
| Method Summary | |
java.lang.Object |
clone()
creates new (unlinked) node with same parameters. |
void |
duplicate(Node n)
duplicates parameters from n to this |
void |
linkNets()
Connect nets to this node, based on ports |
void |
setWidth(int width)
changes Node's width, set all ports to INPUT direction |
java.lang.String |
toString()
|
void |
unlinkNets()
Disconnect nets to this node, based on ports |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int INPUT
public static final int OUTPUT
public static final int INOUT
public java.lang.String name
public Net[] ports
public float[] weight
public int[] dir
public int x
public int y
public float fx
public float fy
public boolean flag
public boolean visited
public int temp
public float nfx
public float nfy
public int width
public Node link
| Constructor Detail |
public Node(int width)
width - number of portsNode()
WARNING: this function should only be called by child constructors.
| Method Detail |
public void setWidth(int width)
width - number of portspublic java.lang.String toString()
public java.lang.Object clone()
public void duplicate(Node n)
n - node to copy data frompublic void unlinkNets()
public void linkNets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||