edu.byu.ece.edif.tools.replicate.nmr.xilinx
Class XilinxPartValidator

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.nmr.xilinx.XilinxPartValidator

public class XilinxPartValidator
extends java.lang.Object


Field Summary
protected  java.lang.String archName
           
static java.lang.String[] archNames
           
protected  java.lang.String[] devNames
           
protected  java.lang.String[][] packageNames
           
static java.lang.String[] techNames
           
static java.lang.String XC2V
           
static java.lang.String XC2VP
           
static java.lang.String XC4V
           
static java.lang.String XCV
           
static java.lang.String XQR2V
           
static java.lang.String XQR2VP
           
static java.lang.String XQR4V
           
static java.lang.String XQRV
           
 
Constructor Summary
XilinxPartValidator(java.lang.String arch_Name, java.lang.String[] dev_Names, java.lang.String[][] package_Names)
           
 
Method Summary
 boolean archNameIsValid(java.lang.String name)
           
 java.lang.String assembler(java.lang.String portion)
           
 void backwardslist(java.lang.String pac)
           
 boolean comboIsCorrect(java.lang.String arc, java.lang.String dev, java.lang.String pac)
           
 boolean devNameIsValid(java.lang.String name)
           
static java.lang.String getTechnologyFromPart(java.lang.String part)
           
 boolean packageNameIsValid(java.lang.String name)
           
 void setArchName(java.lang.String name)
           
 void setDevName(java.lang.String name)
           
 void setPackageName(java.lang.String name)
           
 java.lang.String validate(java.lang.String part)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archName

protected java.lang.String archName

devNames

protected java.lang.String[] devNames

packageNames

protected java.lang.String[][] packageNames

XCV

public static final java.lang.String XCV
See Also:
Constant Field Values

XC2V

public static final java.lang.String XC2V
See Also:
Constant Field Values

XC2VP

public static final java.lang.String XC2VP
See Also:
Constant Field Values

XC4V

public static final java.lang.String XC4V
See Also:
Constant Field Values

XQRV

public static final java.lang.String XQRV
See Also:
Constant Field Values

XQR2V

public static final java.lang.String XQR2V
See Also:
Constant Field Values

XQR2VP

public static final java.lang.String XQR2VP
See Also:
Constant Field Values

XQR4V

public static final java.lang.String XQR4V
See Also:
Constant Field Values

archNames

public static final java.lang.String[] archNames

techNames

public static final java.lang.String[] techNames
Constructor Detail

XilinxPartValidator

public XilinxPartValidator(java.lang.String arch_Name,
                           java.lang.String[] dev_Names,
                           java.lang.String[][] package_Names)
Method Detail

validate

public java.lang.String validate(java.lang.String part)
                          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

assembler

public java.lang.String assembler(java.lang.String portion)

getTechnologyFromPart

public static java.lang.String getTechnologyFromPart(java.lang.String part)

setArchName

public void setArchName(java.lang.String name)

archNameIsValid

public boolean archNameIsValid(java.lang.String name)

setDevName

public void setDevName(java.lang.String name)

devNameIsValid

public boolean devNameIsValid(java.lang.String name)

setPackageName

public void setPackageName(java.lang.String name)

packageNameIsValid

public boolean packageNameIsValid(java.lang.String name)

comboIsCorrect

public boolean comboIsCorrect(java.lang.String arc,
                              java.lang.String dev,
                              java.lang.String pac)

backwardslist

public void backwardslist(java.lang.String pac)