|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.parsers.xnf.XNFParser
XNFParser.java
Constructor Summary | |
XNFParser()
|
Method Summary | |
static void |
main(java.lang.String[] arguments)
|
static void |
parseXNF(Cell parent,
java.lang.Object[] ports,
java.lang.String fileName)
parseXNF will instantiate an XNFPrsr and an XNFPrsrVisitor to parse and visit the elements of an .xnf file. |
static void |
parseXNF(Cell parent,
java.lang.Object[] ports,
java.lang.String fileName,
boolean pushHierarchy)
parseXNF will instantiate an XNFPrsr and an XNFPrsrVisitor to parse and visit the elements of an .xnf file. |
static void |
parseXNF(Cell parent,
java.lang.String[] wireNames,
Wire[] xnfWires,
java.lang.String fileName)
parseXNF will instantiate an XNFPrsr and an XNFPrsrVisitor to parse and visit the elements of an .xnf file. |
static void |
parseXNF(Cell parent,
java.lang.String[] wireNames,
Wire[] xnfWires,
java.lang.String fileName,
boolean pushHierarchy)
parseXNF will instantiate an XNFPrsr and an XNFPrsrVisitor to parse and visit the elements of an .xnf file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XNFParser()
Method Detail |
public static void main(java.lang.String[] arguments)
public static void parseXNF(Cell parent, java.lang.Object[] ports, java.lang.String fileName)
parent
- The JHDL parent cell of the XNF fileports
- This object can be either an array of Wire or an
array of XNFPortInterface. If the user names of the
wires (as returned by the getUserName method of the
Wire class) match exactly the names of the wires as
found in the .xnf file, then an array of Wire is
sufficient; otherwise, an array of XNFPortInterface
will be necessary in order to pair up the proper
names with the instances of Wire. The other option
available is to use the parseXNF method that takes
two arrays as parameters.fileName
- The name of the .xnf file. It can include or
omit the .xnf extension; but either way, the
XNFParser expects the actual file name to contain
that extension.public static void parseXNF(Cell parent, java.lang.Object[] ports, java.lang.String fileName, boolean pushHierarchy)
parent
- The JHDL parent cell of the XNF fileports
- This object can be either an array of Wire or an
array of XNFPortInterface. If the user names of the
wires (as returned by the getUserName method of the
Wire class) match exactly the names of the wires as
found in the .xnf file, then an array of Wire is
sufficient; otherwise, an array of XNFPortInterface
will be necessary in order to pair up the proper
names with the instances of Wire. The other option
available is to use the parseXNF method that takes
two arrays as parameters.fileName
- The name of the .xnf file. It can include or
omit the .xnf extension; but either way, the
XNFParser expects the actual file name to contain
that extension.pushHierarchy
- If true, then the XNFToJHDLVisitor will
create another level of JHDL hierarchy in
which it will place the components of the
.xnf file.public static void parseXNF(Cell parent, java.lang.String[] wireNames, Wire[] xnfWires, java.lang.String fileName)
parent
- The JHDL parent cell of the XNF filewireNames
- This is an array of the names of the wires found
in xnfWires.xnfWires
- This array contains the wires that will be
attached to the top-level components of the
circuitry found in the .xnf file. These wires
must match up with the wire names in wireNames
(index for index).fileName
- The name of the .xnf file. It can include or
omit the .xnf extension; but either way, the
XNFParser expects the actual file name to contain
that extension.public static void parseXNF(Cell parent, java.lang.String[] wireNames, Wire[] xnfWires, java.lang.String fileName, boolean pushHierarchy)
parent
- The JHDL parent cell of the XNF filewireNames
- This is an array of the names of the wires found
in xnfWires.xnfWires
- This array contains the wires that will be
attached to the top-level components of the
circuitry found in the .xnf file. These wires
must match up with the wire names in wireNames
(index for index).fileName
- The name of the .xnf file. It can include or
omit the .xnf extension; but either way, the
XNFParser expects the actual file name to contain
that extension.pushHierarchy
- If true, then the XNFToJHDLVisitor will
create another level of JHDL hierarchy in
which it will place the components of the
.xnf file.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |