edu.byu.ece.edif.tools.sterilize.halflatch
Class XilinxProblemPrimitiveMap
java.lang.Object
edu.byu.ece.edif.tools.sterilize.halflatch.XilinxProblemPrimitiveMap
- All Implemented Interfaces:
- ProblemPrimitiveMap, java.io.Serializable
public class XilinxProblemPrimitiveMap
- extends java.lang.Object
- implements ProblemPrimitiveMap, java.io.Serializable
- Since:
- Created on Oct 31, 2005
- See Also:
- Serialized Form
|
Constructor Summary |
XilinxProblemPrimitiveMap()
Constructs a new XilinxProblemPrimitiveMap object, which contains sub
maps corresponding to IOB primitives and CLB primitives. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_cell
EdifCell _cell
_clbMap
XilinxCLBProblemPrimitiveMap _clbMap
_iobMap
XilinxIOBProblemPrimitiveMap _iobMap
_iobPrimitives
java.util.Set<EdifCellInstance> _iobPrimitives
_debug
public static final boolean _debug
- See Also:
- Constant Field Values
XilinxProblemPrimitiveMap
public XilinxProblemPrimitiveMap()
- Constructs a new XilinxProblemPrimitiveMap object, which contains sub
maps corresponding to IOB primitives and CLB primitives.
- Parameters:
cell - The EdifCell this XilinxProblemPrimitiveMap should be
associated with.
addIOBRegisters
public void addIOBRegisters(java.util.Collection<EdifCellInstance> iobRegs)
- Add the given EdifCellInstances to the the list of IOB primitives in this
ProblemPrimitiveMap. These instances will be handled as IOB instances
rather than CLB instances.
- Parameters:
iobRegs - A Collection of EdifCellInstances that correspond to
registers to be placed in an IOB
getPrimitiveReplacementType
public java.lang.String getPrimitiveReplacementType(EdifCellInstance primitiveECI)
- Specified by:
getPrimitiveReplacementType in interface ProblemPrimitiveMap
getPrimitiveReplacementFloatingPorts
public java.lang.String[] getPrimitiveReplacementFloatingPorts(EdifCellInstance primitiveECI)
- Specified by:
getPrimitiveReplacementFloatingPorts in interface ProblemPrimitiveMap
getPrimitiveReplacementFloatingPortDefaultValue
public int getPrimitiveReplacementFloatingPortDefaultValue(EdifCellInstance primitiveECI,
java.lang.String floatingPort)
- Specified by:
getPrimitiveReplacementFloatingPortDefaultValue in interface ProblemPrimitiveMap
test
public static int test()
main
public static void main(java.lang.String[] args)