edu.byu.ece.edif.arch.xilinx
Class EdifXPowerCompare

java.lang.Object
  extended by edu.byu.ece.edif.arch.xilinx.EdifXPowerCompare

public class EdifXPowerCompare
extends java.lang.Object

Since:
Created on Jun 14, 2005
Author:
nhr2

Field Summary
private  java.util.Map _edifFound
           
private  java.util.Map _edifNotFound
           
 
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
 

Field Detail

_edifFound

private java.util.Map _edifFound

_edifNotFound

private java.util.Map _edifNotFound
Constructor Detail

EdifXPowerCompare

public EdifXPowerCompare(java.lang.String EDIFFile,
                         java.lang.String xpowerFile)
Method Detail

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 parse
xpowerFile - the name of the XPower file to parse
section - 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.