|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.util.xmac.TagParser
byucc.jhdl.util.xmac.InterfaceParser
Parse the interface tag. This class provides the functionality to process the
interface tag for the xmac system.
The tag form is as follows:
<interface>
<in name="i" width="1"/>
<out name="o" width="1"/>
. . .
Other port stuff goes here
. . .
</interface>
The valid port tags are:
<in>
<out>
<inout>
<clk>
<sout>
<saout>
<sin>
<sain>
<ain>
<aout>
Note that the name and width attributes are required.
Field Summary |
Fields inherited from class byucc.jhdl.util.xmac.TagParser |
docInfo |
Constructor Summary | |
InterfaceParser(DocInfo docInfo)
Construct a new InterfaceParser object. |
Method Summary | |
void |
parse(org.w3c.dom.Node docRoot)
Parse the interface tag. |
Methods inherited from class byucc.jhdl.util.xmac.TagParser |
checkParent, countLines, decreaseIndent, increaseIndent, indentBlock, indentLine, indentLine, outmsg, parse, strBlockToArray, writeOutput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InterfaceParser(DocInfo docInfo) throws java.lang.Exception
docInfo
- The DocInfo
object that contains all the info
about this class.Method Detail |
public void parse(org.w3c.dom.Node docRoot) throws java.lang.Exception
parse
in class TagParser
docRoot
- The Node
of the interface tag to parse.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |