edu.byu.ece.edif.util.iob
Class XilinxVirtexIOB

java.lang.Object
  extended by edu.byu.ece.edif.util.iob.AbstractIOB
      extended by edu.byu.ece.edif.util.iob.XilinxIOB
          extended by edu.byu.ece.edif.util.iob.XilinxVirtexIOB
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
XilinxVirtex4IOB

public class XilinxVirtexIOB
extends XilinxIOB

This class is currently written for Virtex devices only, though other architectures will probably work to some degree. Virtex-II and Virtex-II Pro work with this as far as we have been able to tell

See Also:
Serialized Form

Field Summary
protected  java.util.Collection<EdifCellInstance> _elements
           
private  java.util.Collection<java.lang.String> _iob_elements
           
 
Fields inherited from class edu.byu.ece.edif.util.iob.AbstractIOB
_esbp, _ibuf, _inReg, _iobuf, _obuf, _outReg, _resistor, _triReg
 
Constructor Summary
XilinxVirtexIOB(EdifSingleBitPort esbp)
           
 
Method Summary
 boolean canPack()
          Determines whether this XilinxVirtexIOB object corresponds to a clock IOB.
 boolean containsDDR()
           
 java.util.Collection<EdifCellInstance> getAllInstances()
           
private  void iobComponentsDFS(EdifCellInstance ibuf, EdifCellInstanceGraph graph)
           
 void setIBUF(EdifCellInstance ibuf, EdifCellInstanceGraph graph)
           
 void setOBUF(EdifCellInstance obuf, EdifCellInstanceGraph graph)
           
 
Methods inherited from class edu.byu.ece.edif.util.iob.XilinxIOB
setIBUF, setInputReg, setIOBUF, setOBUF, setOutputReg, setResistor, setTristateReg
 
Methods inherited from class edu.byu.ece.edif.util.iob.AbstractIOB
getIBUF, getInputReg, getIOBUF, getOBUF, getOutputReg, getRegisters, getResistor, getSingleBitPort, getTristateReg, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_iob_elements

private java.util.Collection<java.lang.String> _iob_elements

_elements

protected java.util.Collection<EdifCellInstance> _elements
Constructor Detail

XilinxVirtexIOB

public XilinxVirtexIOB(EdifSingleBitPort esbp)
Method Detail

setIBUF

public void setIBUF(EdifCellInstance ibuf,
                    EdifCellInstanceGraph graph)

iobComponentsDFS

private void iobComponentsDFS(EdifCellInstance ibuf,
                              EdifCellInstanceGraph graph)

setOBUF

public void setOBUF(EdifCellInstance obuf,
                    EdifCellInstanceGraph graph)

getAllInstances

public java.util.Collection<EdifCellInstance> getAllInstances()
Overrides:
getAllInstances in class AbstractIOB

canPack

public boolean canPack()
Description copied from class: XilinxIOB
Determines whether this XilinxVirtexIOB object corresponds to a clock IOB. This is done simply by checking the input buffer object. If the input buffer is an IBUFG*, then this is a clock IOB.

Overrides:
canPack in class XilinxIOB
Returns:
true if this XilinxVirtexIOB object corresponds to a clock IOB, false otherwise.

containsDDR

public boolean containsDDR()