|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbyucc.edif.libraries.xilinx.EdifXPowerParser
public class EdifXPowerParser
| Field Summary | |
|---|---|
private int |
_numLineElements
This is the number of items in an entry of the given file section |
private java.lang.String |
_section
This string represents the XPower file section to parse |
private java.util.ArrayList |
_xpowerNames
This List contains the XPower names for a given file section |
static int[] |
xpowerLineElements
|
static java.lang.String[] |
xpowerSections
This is the list of possible XPower file sections |
| Constructor Summary | |
|---|---|
EdifXPowerParser(java.lang.String fileName,
java.lang.String section)
|
|
| Method Summary | |
|---|---|
java.util.ArrayList |
getXPowerNames()
|
static java.util.List |
parseXPowerFile(java.lang.String fileName)
This method will open the given "power" file and parse the contents to create a List of String objects where each String is a Net name or instnace name in the file. |
static java.util.List |
parseXPowerFileSection(java.lang.String fileName,
java.lang.String section,
int numLineElements)
This is a helper method to help parse the different sections of the XPower file. |
static void |
printXPowerFile(java.lang.String xpowerFile)
|
static void |
printXPowerFileSection(java.lang.String xpowerFile,
java.lang.String section,
int elements)
|
void |
printXPowerNames()
This method prints the signal names parsed from the XPower file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int[] xpowerLineElements
public static java.lang.String[] xpowerSections
private int _numLineElements
private java.lang.String _section
private java.util.ArrayList _xpowerNames
| Constructor Detail |
|---|
public EdifXPowerParser(java.lang.String fileName,
java.lang.String section)
| Method Detail |
|---|
public java.util.ArrayList getXPowerNames()
public static java.util.List parseXPowerFile(java.lang.String fileName)
fileName -
public static void printXPowerFile(java.lang.String xpowerFile)
public static void printXPowerFileSection(java.lang.String xpowerFile,
java.lang.String section,
int elements)
public void printXPowerNames()
public static java.util.List parseXPowerFileSection(java.lang.String fileName,
java.lang.String section,
int numLineElements)
fileName - section - numLineElements -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||