edu.byu.ece.edif.tools.sterilize.halflatch
Class XilinxProblemPrimitiveMap

java.lang.Object
  extended by 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

Field Summary
(package private)  EdifCell _cell
           
(package private)  XilinxCLBProblemPrimitiveMap _clbMap
           
static boolean _debug
           
(package private)  XilinxIOBProblemPrimitiveMap _iobMap
           
(package private)  java.util.Set<EdifCellInstance> _iobPrimitives
           
 
Constructor Summary
XilinxProblemPrimitiveMap()
          Constructs a new XilinxProblemPrimitiveMap object, which contains sub maps corresponding to IOB primitives and CLB primitives.
 
Method Summary
 void addIOBRegisters(java.util.Collection<EdifCellInstance> iobRegs)
          Add the given EdifCellInstances to the the list of IOB primitives in this ProblemPrimitiveMap.
 int getPrimitiveReplacementFloatingPortDefaultValue(EdifCellInstance primitiveECI, java.lang.String floatingPort)
           
 java.lang.String[] getPrimitiveReplacementFloatingPorts(EdifCellInstance primitiveECI)
           
 java.lang.String getPrimitiveReplacementType(EdifCellInstance primitiveECI)
           
static void main(java.lang.String[] args)
           
static int test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

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.
Method Detail

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)