byucc.jhdl.util.xmac
Class SharecellParser

java.lang.Object
  extended bybyucc.jhdl.util.xmac.TagParser
      extended bybyucc.jhdl.util.xmac.SharecellParser

public class SharecellParser
extends TagParser

Parse the sharecell tag. This class takes care of the sharecell tag in the xmac file.

Usage:
  <sharecell/>

This results in the following being placed in the output:
final public boolean cellInterfaceDeterminesUniqueNetlistStructure() {
  return true;
}

Author:
Isaac E. Wagner

Field Summary
 
Fields inherited from class byucc.jhdl.util.xmac.TagParser
docInfo
 
Constructor Summary
SharecellParser(DocInfo docInfo)
          The default constructor for this class.
 
Method Summary
 void parse(org.w3c.dom.Node docRoot)
          This is the actual method that does the parsing of the 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

SharecellParser

public SharecellParser(DocInfo docInfo)
                throws java.lang.Exception
The default constructor for this class.

Parameters:
docInfo - The DocInfo object that contains the current settings and parameters.
Method Detail

parse

public void parse(org.w3c.dom.Node docRoot)
           throws java.lang.Exception
This is the actual method that does the parsing of the tag.

Overrides:
parse in class TagParser
Parameters:
docRoot - The Node of the clock tag.
Returns:
None
Throws:
java.lang.Exception


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.