byucc.edif
Class EdifSingleBitPort
java.lang.Object
byucc.edif.NamedPropertyObject
byucc.edif.EdifSingleBitPort
- All Implemented Interfaces:
- Nameable, Properties, java.io.Serializable
public class EdifSingleBitPort
- extends NamedPropertyObject
- implements java.io.Serializable
Represents an Edif single bit port, which belongs to a specific
EdifPort. This class specifies a bit position
and a reference to its parent EdifPort.
- Version:
- $Id: EdifSingleBitPort.java,v 1.6 2005/08/05 18:33:05 nhr2 Exp $
- Author:
- Mike Wirthlin
- See Also:
- Serialized Form
| Methods inherited from class byucc.edif.NamedPropertyObject |
addProperty, addProperty, copyProperties, equals, equalsProperties, getEdifNameable, getName, getOldName, getProperty, getPropertyList, rename, rename |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_bitPosition
private int _bitPosition
_parent
private EdifPort _parent
EdifSingleBitPort
public EdifSingleBitPort(EdifPort parent,
int position)
- Constructor requires
- Parameters:
parent - The parent EdifPort of this single-bit portposition - The bit-position of this single-bit port
getParent
public EdifPort getParent()
bitPosition
public int bitPosition()
getInnerNet
public EdifNet getInnerNet()
- Searches through the EdifNet objects owned by the EdifCell that
uses this EdifSinglebitPort and find the EdifNet object that
connects to this top-level port. Note that this method finds the
net connecting to the top-level port -- this method does not
look for "outer nets" that connect to EdifCellInstnace objects.
- Returns:
- The EdifNet object that connects to this single bit port.
getPortName
public java.lang.String getPortName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object