|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.parsers.edif.EdifParserCore
byucc.jhdl.parsers.edif.EdifParser
This class provides the basic interface to parsing EDIF files into JHDL.
Field Summary | |
Token |
jj_nt
|
boolean |
lookingAhead
|
static java.lang.String |
MESSAGE
A message prepended to output. |
static java.lang.String |
target
The default target. |
Token |
token
|
EdifParserCoreTokenManager |
token_source
|
Constructor Summary | |
EdifParser(EdifParserCoreTokenManager tm)
A constructor to parse the given token manager |
|
EdifParser(java.io.InputStream stream)
A constructor to parse the given input stream |
|
EdifParser(java.io.Reader stream)
A constructor to parse the given input stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String target
public static final java.lang.String MESSAGE
public EdifParserCoreTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
Constructor Detail |
public EdifParser(java.io.InputStream stream)
stream
- the stream to parsepublic EdifParser(java.io.Reader stream)
stream
- the stream to parsepublic EdifParser(EdifParserCoreTokenManager tm)
tm
- the token manager to parseMethod Detail |
public static void addToMergePortList(java.lang.String nam)
nam
to a list of ports that the JHDL Generator
will attempt to merge into a single bus port.
nam
- the name of the port to mergepublic static void clearMergePortList()
public static void removeFromMergePortList(java.lang.String nam)
nam
from a list of ports that the JHDL
Generator will attempt to merge into a single bus port.
nam
- the name of the port to remove from merge listpublic static void setCaseSensitive(boolean b)
b
- Case sensitivity enabled if true.public static void parseAndBuildWrapper(java.lang.String filename, java.lang.String targetStr)
filename
- The name of the file containing the ediftargetStr
- The name of the target technologypublic static void parseAndBuildWrapper(java.lang.String filename, java.lang.String subcellname, java.lang.String targetStr)
filename
- The name of the file containing the edifsubcellname
- The name a subcell of the top-level hierarchy
of the edif file, for which the wrapper will be builttargetStr
- The name of the target technologypublic static Cell parse(Cell parent, java.lang.String filename, PortInterface[] portWires, java.lang.String targetStr)
parent
- This JHDL Cell will be the parent of the Cell
generated by the methodfilename
- Name of the file for the edif to be parsedportWires
- Interface of the cell to be generatedtargetStr
- Name of the technology to be targettedpublic static Cell parse(Cell parent, java.lang.String filename, java.lang.String subcellname, PortInterface[] portWires, java.lang.String targetStr)
parent
- This JHDL Cell will be the parent of the Cell
generated by the methodfilename
- Name of the file for the edif to be parsedsubcellname
- Name of subcell of the outermost cell in
filename. The name of the subcell to be returned by this methodportWires
- Interface of the cell to be generatedtargetStr
- Name of the technology to be targettedpublic static Cell parse(Cell parent, java.lang.String filename, Wire[] portWires, java.lang.String targetStr)
parent
- This JHDL Cell will be the parent of the Cell
generated by the methodfilename
- Name of the file for the edif to be parsedportWires
- Array of Wires to be attached to the ports of
the cell generatedtargetStr
- Name of the technology to be targettedpublic static Cell parse(Cell parent, java.lang.String filename, java.lang.String subcellname, Wire[] portWires, java.lang.String targetStr)
parent
- This JHDL Cell will be the parent of the Cell
generated by the methodfilename
- Name of the file for the edif to be parsedsubcellname
- Name of subcell of the outermost cell in
filename. The name of the subcell to be returned by this methodportWires
- Array of Wires to be attached to the ports of
the cell generatedtargetStr
- Name of the technology to be targettedpublic static void parse(java.lang.String filename)
filename
- Name of the edif file to be parsedpublic static void parse(Tbone tbone, java.lang.String filename, java.lang.String targetStr)
tbone
- An instance of Tbone to be the parent of the parsed cellfilename
- The file to parse.targetStr
- The target technology ("XC4000" or "Virtex")public static void parse(Tbone tbone, java.lang.String filename)
tbone
- An instance of Tbone to be the parent of the parsed cellfilename
- The file to parse.public static NewJHDLGenerator generate(java.lang.String filename)
filename
- Name of the edif filepublic static void main(java.lang.String[] args)
args
- Commandline argumentspublic final edif edif() throws ParseException
ParseException
public final edifFileName edifFileName() throws ParseException
ParseException
public final edifLevel edifLevel() throws ParseException
ParseException
public final edifVersion edifVersion() throws ParseException
ParseException
public final acLoad acLoad() throws ParseException
ParseException
public final after after() throws ParseException
ParseException
public final annotate annotate() throws ParseException
ParseException
public final apply apply() throws ParseException
ParseException
public final arc arc() throws ParseException
ParseException
public final array array() throws ParseException
ParseException
public final arrayMacro arrayMacro() throws ParseException
ParseException
public final arrayRelatedInfo arrayRelatedInfo() throws ParseException
ParseException
public final arraySite arraySite() throws ParseException
ParseException
public final atLeast atLeast() throws ParseException
ParseException
public final atMost atMost() throws ParseException
ParseException
public final author author() throws ParseException
ParseException
public final baseArray baseArray() throws ParseException
ParseException
public final becomes becomes() throws ParseException
ParseException
public final between between() throws ParseException
ParseException
public final myBoolean myBoolean() throws ParseException
ParseException
public final booleanDisplay booleanDisplay() throws ParseException
ParseException
public final booleanMap booleanMap() throws ParseException
ParseException
public final borderPattern borderPattern() throws ParseException
ParseException
public final borderWidth borderWidth() throws ParseException
ParseException
public final boundingBox boundingBox() throws ParseException
ParseException
public final cell cell() throws ParseException
ParseException
public final cellNameDef cellNameDef() throws ParseException
ParseException
public final cellNameRef cellNameRef() throws ParseException
ParseException
public final cellRef cellRef() throws ParseException
ParseException
public final cellType cellType() throws ParseException
ParseException
public final change change() throws ParseException
ParseException
public final circle circle() throws ParseException
ParseException
public final color color() throws ParseException
ParseException
public final comment comment() throws ParseException
ParseException
public final commentGraphics commentGraphics() throws ParseException
ParseException
public final compound compound() throws ParseException
ParseException
public final connectLocation connectLocation() throws ParseException
ParseException
public final cornerType cornerType() throws ParseException
ParseException
public final criticality criticality() throws ParseException
ParseException
public final currentMap currentMap() throws ParseException
ParseException
public final curve curve() throws ParseException
ParseException
public final cycle cycle() throws ParseException
ParseException
public final dataOrigin dataOrigin() throws ParseException
ParseException
public final dcFaninLoad dcFaninLoad() throws ParseException
ParseException
public final dcFanoutLoad dcFanoutLoad() throws ParseException
ParseException
public final dcMaxFanin dcMaxFanin() throws ParseException
ParseException
public final dcMaxFanout dcMaxFanout() throws ParseException
ParseException
public final delay delay() throws ParseException
ParseException
public final delta delta() throws ParseException
ParseException
public final derivation derivation() throws ParseException
ParseException
public final design design() throws ParseException
ParseException
public final designator designator() throws ParseException
ParseException
public final designNameDef designNameDef() throws ParseException
ParseException
public final difference difference() throws ParseException
ParseException
public final direction direction() throws ParseException
ParseException
public final display display() throws ParseException
ParseException
public final dominates dominates() throws ParseException
ParseException
public final dot dot() throws ParseException
ParseException
public final duration duration() throws ParseException
ParseException
public final e e() throws ParseException
ParseException
public final enclosureDistance enclosureDistance() throws ParseException
ParseException
public final endType endType() throws ParseException
ParseException
public final entry entry() throws ParseException
ParseException
public final event event() throws ParseException
ParseException
public final exactly exactly() throws ParseException
ParseException
public final external external() throws ParseException
ParseException
public final fabricate fabricate() throws ParseException
ParseException
public final myFalse myFalse() throws ParseException
ParseException
public final figure figure() throws ParseException
ParseException
public final figureArea figureArea() throws ParseException
ParseException
public final figureGroup figureGroup() throws ParseException
ParseException
public final figureGroupNameDef figureGroupNameDef() throws ParseException
ParseException
public final figureGroupNameRef figureGroupNameRef() throws ParseException
ParseException
public final figureGroupObject figureGroupObject() throws ParseException
ParseException
public final figureGroupOverride figureGroupOverride() throws ParseException
ParseException
public final figureGroupRef figureGroupRef() throws ParseException
ParseException
public final figureOp figureOp() throws ParseException
ParseException
public final figurePerimeter figurePerimeter() throws ParseException
ParseException
public final figureWidth figureWidth() throws ParseException
ParseException
public final fillPattern fillPattern() throws ParseException
ParseException
public final follow follow() throws ParseException
ParseException
public final forbiddenEvent forbiddenEvent() throws ParseException
ParseException
public final form form() throws ParseException
ParseException
public final globalPortRef globalPortRef() throws ParseException
ParseException
public final greaterThan greaterThan() throws ParseException
ParseException
public final gridMap gridMap() throws ParseException
ParseException
public final ignore ignore() throws ParseException
ParseException
public final includeFigureGroup includeFigureGroup() throws ParseException
ParseException
public final initial initial() throws ParseException
ParseException
public final instance instance() throws ParseException
ParseException
public final instanceBackAnnotate instanceBackAnnotate() throws ParseException
ParseException
public final instanceGroup instanceGroup() throws ParseException
ParseException
public final instanceMap instanceMap() throws ParseException
ParseException
public final instanceNameDef instanceNameDef() throws ParseException
ParseException
public final instanceNameRef instanceNameRef() throws ParseException
ParseException
public final instanceRef instanceRef() throws ParseException
ParseException
public final integer integer() throws ParseException
ParseException
public final integerDisplay integerDisplay() throws ParseException
ParseException
public final interFigureGroupSpacing interFigureGroupSpacing() throws ParseException
ParseException
public final intersection intersection() throws ParseException
ParseException
public final intraFigureGroupSpacing intraFigureGroupSpacing() throws ParseException
ParseException
public final inverse inverse() throws ParseException
ParseException
public final isolated isolated() throws ParseException
ParseException
public final joined joined() throws ParseException
ParseException
public final justify justify() throws ParseException
ParseException
public final keywordDisplay keywordDisplay() throws ParseException
ParseException
public final keywordLevel keywordLevel() throws ParseException
ParseException
public final keywordMap keywordMap() throws ParseException
ParseException
public final keywordNameRef keywordNameRef() throws ParseException
ParseException
public final layerNameDef layerNameDef() throws ParseException
ParseException
public final lessThan lessThan() throws ParseException
ParseException
public final library library() throws ParseException
ParseException
public final libraryNameDef libraryNameDef() throws ParseException
ParseException
public final libraryNameRef libraryNameRef() throws ParseException
ParseException
public final libraryRef libraryRef() throws ParseException
ParseException
public final listOfNets listOfNets() throws ParseException
ParseException
public final listOfPorts listOfPorts() throws ParseException
ParseException
public final loadDelay loadDelay() throws ParseException
ParseException
public final logicAssign logicAssign() throws ParseException
ParseException
public final logicInput logicInput() throws ParseException
ParseException
public final logicList logicList() throws ParseException
ParseException
public final logicMapInput logicMapInput() throws ParseException
ParseException
public final logicMapOutput logicMapOutput() throws ParseException
ParseException
public final logicNameDef logicNameDef() throws ParseException
ParseException
public final logicNameRef logicNameRef() throws ParseException
ParseException
public final logicOneOf logicOneOf() throws ParseException
ParseException
public final logicOutput logicOutput() throws ParseException
ParseException
public final logicPort logicPort() throws ParseException
ParseException
public final logicRef logicRef() throws ParseException
ParseException
public final logicValue logicValue() throws ParseException
ParseException
public final logicWaveform logicWaveform() throws ParseException
ParseException
public final maintain maintain() throws ParseException
ParseException
public final match match() throws ParseException
ParseException
public final member member() throws ParseException
ParseException
public final miNoMax miNoMax() throws ParseException
ParseException
public final miNoMaxDisplay miNoMaxDisplay() throws ParseException
ParseException
public final mnm mnm() throws ParseException
ParseException
public final multipleValueSet multipleValueSet() throws ParseException
ParseException
public final mustJoin mustJoin() throws ParseException
ParseException
public final name name() throws ParseException
ParseException
public final nameDef nameDef() throws ParseException
ParseException
public final nameRef nameRef() throws ParseException
ParseException
public final net net() throws ParseException
ParseException
public final netBackAnnotate netBackAnnotate() throws ParseException
ParseException
public final netBundle netBundle() throws ParseException
ParseException
public final netDelay netDelay() throws ParseException
ParseException
public final netGroup netGroup() throws ParseException
ParseException
public final netMap netMap() throws ParseException
ParseException
public final netNameDef netNameDef() throws ParseException
ParseException
public final netNameRef netNameRef() throws ParseException
ParseException
public final netRef netRef() throws ParseException
ParseException
public final noChange noChange() throws ParseException
ParseException
public final nonPermutable nonPermutable() throws ParseException
ParseException
public final notAllowed notAllowed() throws ParseException
ParseException
public final notchSpacing notchSpacing() throws ParseException
ParseException
public final number number() throws ParseException
ParseException
public final numberDefinition numberDefinition() throws ParseException
ParseException
public final numberDisplay numberDisplay() throws ParseException
ParseException
public final offPageConnector offPageConnector() throws ParseException
ParseException
public final offsetEvent offsetEvent() throws ParseException
ParseException
public final openShape openShape() throws ParseException
ParseException
public final orientation orientation() throws ParseException
ParseException
public final origin origin() throws ParseException
ParseException
public final overhangDistance overhangDistance() throws ParseException
ParseException
public final overlapDistance overlapDistance() throws ParseException
ParseException
public final oversize oversize() throws ParseException
ParseException
public final owner owner() throws ParseException
ParseException
public final pageSize pageSize() throws ParseException
ParseException
public final parameter parameter() throws ParseException
ParseException
public final parameterAssign parameterAssign() throws ParseException
ParseException
public final parameterDisplay parameterDisplay() throws ParseException
ParseException
public final path path() throws ParseException
ParseException
public final pathDelay pathDelay() throws ParseException
ParseException
public final pathWidth pathWidth() throws ParseException
ParseException
public final permutable permutable() throws ParseException
ParseException
public final physicalDesignRule physicalDesignRule() throws ParseException
ParseException
public final plug plug() throws ParseException
ParseException
public final point point() throws ParseException
ParseException
public final pointDisplay pointDisplay() throws ParseException
ParseException
public final pointList pointList() throws ParseException
ParseException
public final polygon polygon() throws ParseException
ParseException
public final port port() throws ParseException
ParseException
public final portBackAnnotate portBackAnnotate() throws ParseException
ParseException
public final portBundle portBundle() throws ParseException
ParseException
public final portDelay portDelay() throws ParseException
ParseException
public final portGroup portGroup() throws ParseException
ParseException
public final portImplementation portImplementation() throws ParseException
ParseException
public final portInstance portInstance() throws ParseException
ParseException
public final portList portList() throws ParseException
ParseException
public final portListAlias portListAlias() throws ParseException
ParseException
public final portMap portMap() throws ParseException
ParseException
public final portNameDef portNameDef() throws ParseException
ParseException
public final portNameRef portNameRef() throws ParseException
ParseException
public final portRef portRef() throws ParseException
ParseException
public final program program() throws ParseException
ParseException
public final property property() throws ParseException
ParseException
public final propertyDisplay propertyDisplay() throws ParseException
ParseException
public final propertyNameDef propertyNameDef() throws ParseException
ParseException
public final propertyNameRef propertyNameRef() throws ParseException
ParseException
public final protectionFrame protectionFrame() throws ParseException
ParseException
public final pt pt() throws ParseException
ParseException
public final range range() throws ParseException
ParseException
public final rangeVector rangeVector() throws ParseException
ParseException
public final rectangle rectangle() throws ParseException
ParseException
public final rectangleSize rectangleSize() throws ParseException
ParseException
public final rename rename() throws ParseException
ParseException
public final resolves resolves() throws ParseException
ParseException
public final ruleNameDef ruleNameDef() throws ParseException
ParseException
public final scale scale() throws ParseException
ParseException
public final scaledInteger scaledInteger() throws ParseException
ParseException
public final scaleX scaleX() throws ParseException
ParseException
public final scaleY scaleY() throws ParseException
ParseException
public final section section() throws ParseException
ParseException
public final shape shape() throws ParseException
ParseException
public final simulate simulate() throws ParseException
ParseException
public final simulateNameDef simulateNameDef() throws ParseException
ParseException
public final simulationInfo simulationInfo() throws ParseException
ParseException
public final singleValueSet singleValueSet() throws ParseException
ParseException
public final site site() throws ParseException
ParseException
public final socket socket() throws ParseException
ParseException
public final socketSet socketSet() throws ParseException
ParseException
public final status status() throws ParseException
ParseException
public final steady steady() throws ParseException
ParseException
public final string string() throws ParseException
ParseException
public final stringDisplay stringDisplay() throws ParseException
ParseException
public final strong strong() throws ParseException
ParseException
public final symbol symbol() throws ParseException
ParseException
public final symmetry symmetry() throws ParseException
ParseException
public final table table() throws ParseException
ParseException
public final tableDefault tableDefault() throws ParseException
ParseException
public final textHeight textHeight() throws ParseException
ParseException
public final timeInterval timeInterval() throws ParseException
ParseException
public final timeStamp timeStamp() throws ParseException
ParseException
public final timing timing() throws ParseException
ParseException
public final transform transform() throws ParseException
ParseException
public final transition transition() throws ParseException
ParseException
public final trigger trigger() throws ParseException
ParseException
public final myTrue myTrue() throws ParseException
ParseException
public final typedValue typedValue() throws ParseException
ParseException
public final unconstrained unconstrained() throws ParseException
ParseException
public final undefined undefined() throws ParseException
ParseException
public final union union() throws ParseException
ParseException
public final unit unit() throws ParseException
ParseException
public final unused unused() throws ParseException
ParseException
public final userData userData() throws ParseException
ParseException
public final valueNameDef valueNameDef() throws ParseException
ParseException
public final valueNameRef valueNameRef() throws ParseException
ParseException
public final version version() throws ParseException
ParseException
public final view view() throws ParseException
ParseException
public final viewList viewList() throws ParseException
ParseException
public final viewMap viewMap() throws ParseException
ParseException
public final viewNameDef viewNameDef() throws ParseException
ParseException
public final viewNameRef viewNameRef() throws ParseException
ParseException
public final viewRef viewRef() throws ParseException
ParseException
public final viewType viewType() throws ParseException
ParseException
public final visible visible() throws ParseException
ParseException
public final voltageMap voltageMap() throws ParseException
ParseException
public final waveValue waveValue() throws ParseException
ParseException
public final weak weak() throws ParseException
ParseException
public final weakJoined weakJoined() throws ParseException
ParseException
public final when when() throws ParseException
ParseException
public final written written() throws ParseException
ParseException
public final abs abs() throws ParseException
ParseException
public final and and() throws ParseException
ParseException
public final booleanValue booleanValue() throws ParseException
ParseException
public final ceiling ceiling() throws ParseException
ParseException
public final concat concat() throws ParseException
ParseException
public final constant constant() throws ParseException
ParseException
public final constraint constraint() throws ParseException
ParseException
public final contents contents() throws ParseException
ParseException
public final divide divide() throws ParseException
ParseException
public final equal equal() throws ParseException
ParseException
public final fix fix() throws ParseException
ParseException
public final floor floor() throws ParseException
ParseException
public final ident ident() throws ParseException
ParseException
public final increasing increasing() throws ParseException
ParseException
public final integerValue integerValue() throws ParseException
ParseException
public final myInterface myInterface() throws ParseException
ParseException
public final max max() throws ParseException
ParseException
public final min min() throws ParseException
ParseException
public final miNoMaxValue miNoMaxValue() throws ParseException
ParseException
public final mod mod() throws ParseException
ParseException
public final negate negate() throws ParseException
ParseException
public final not not() throws ParseException
ParseException
public final numberValue numberValue() throws ParseException
ParseException
public final or or() throws ParseException
ParseException
public final page page() throws ParseException
ParseException
public final pointSubtract pointSubtract() throws ParseException
ParseException
public final pointSum pointSum() throws ParseException
ParseException
public final pointValue pointValue() throws ParseException
ParseException
public final product product() throws ParseException
ParseException
public final strictlyIncreasing strictlyIncreasing() throws ParseException
ParseException
public final stringValue stringValue() throws ParseException
ParseException
public final subtract subtract() throws ParseException
ParseException
public final sum sum() throws ParseException
ParseException
public final technology technology() throws ParseException
ParseException
public final variable variable() throws ParseException
ParseException
public final xCoord xCoord() throws ParseException
ParseException
public final xor xor() throws ParseException
ParseException
public final yCoord yCoord() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(EdifParserCoreTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public final ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |