org.opencores.structure
Class NodePort

java.lang.Object
  |
  +--org.opencores.structure.Node
        |
        +--org.opencores.structure.NodePort

public final class NodePort
extends Node

design cell port is handled as Node


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
NodePort(int direction)
          Constructs new node with given direction
 
Method Summary
 java.lang.Object clone()
          creates new (unlinked) node with same parameters.
 void duplicate(NodePort n)
          duplicates parameters from n to this
 java.lang.String toString()
           
 
Methods inherited from class org.opencores.structure.Node
duplicate, linkNets, setWidth, unlinkNets
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

NodePort

public NodePort(int direction)
Constructs new node with given direction
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Node

clone

public java.lang.Object clone()
creates new (unlinked) node with same parameters.
Returns:
duplicated node
Overrides:
clone in class Node

duplicate

public void duplicate(NodePort n)
duplicates parameters from n to this
Parameters:
n - node to copy data from