byucc.edif.libraries.xilinx
Class EdifXPowerCompare
java.lang.Object
byucc.edif.libraries.xilinx.EdifXPowerCompare
public class EdifXPowerCompare
- extends java.lang.Object
|
Constructor Summary |
EdifXPowerCompare(java.lang.String EDIFFile,
java.lang.String xpowerFile)
|
|
Method Summary |
protected int[] |
_checkEDIFNameMatch(java.io.PrintWriter fp,
java.util.Map EDIFMap,
java.util.List xpowerNames)
|
protected int[] |
_checkXPowerNameMatch(java.io.PrintWriter fp,
java.util.Map EDIFMap,
java.util.List xpowerNames)
This method ensures that all the signals parsed from the XPower file
have corresponding data structures built from the EDIF file. |
void |
checkNameMatch(java.lang.String EDIFFile,
java.lang.String xpowerFile)
For each XPower file section listed in the sections array list the signals
that:
1) appear in the XPower list but not the EDIF list
2) appear in the EDIF list but not the XPower list |
static java.util.List |
getAllKeysWithSameValue(java.util.Map map,
java.lang.Object value)
|
java.util.Map |
getFoundEdifNamesMap()
|
java.util.Map |
getNotFoundEdifNamesMap()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_edifFound
private java.util.Map _edifFound
_edifNotFound
private java.util.Map _edifNotFound
EdifXPowerCompare
public EdifXPowerCompare(java.lang.String EDIFFile,
java.lang.String xpowerFile)
checkNameMatch
public void checkNameMatch(java.lang.String EDIFFile,
java.lang.String xpowerFile)
- For each XPower file section listed in the sections array list the signals
that:
1) appear in the XPower list but not the EDIF list
2) appear in the EDIF list but not the XPower list
- Parameters:
EDIFFile - the name of the EDIF file to parsexpowerFile - the name of the XPower file to parsesection - an array of XPower file section names to parse and match
getAllKeysWithSameValue
public static java.util.List getAllKeysWithSameValue(java.util.Map map,
java.lang.Object value)
getFoundEdifNamesMap
public java.util.Map getFoundEdifNamesMap()
getNotFoundEdifNamesMap
public java.util.Map getNotFoundEdifNamesMap()
_checkEDIFNameMatch
protected int[] _checkEDIFNameMatch(java.io.PrintWriter fp,
java.util.Map EDIFMap,
java.util.List xpowerNames)
_checkXPowerNameMatch
protected int[] _checkXPowerNameMatch(java.io.PrintWriter fp,
java.util.Map EDIFMap,
java.util.List xpowerNames)
- This method ensures that all the signals parsed from the XPower file
have corresponding data structures built from the EDIF file.