com.eu.miscedautils.verilogparser
Class FVPRoot
java.lang.Object
com.eu.miscedautils.BaseHDLObject.BaseHDL
com.eu.miscedautils.verilogparser.FVPBase
com.eu.miscedautils.verilogparser.FVPRoot
- All Implemented Interfaces:
- java.io.Serializable
public class FVPRoot
- extends FVPBase
- See Also:
- Serialized Form
Methods inherited from class com.eu.miscedautils.verilogparser.FVPBase |
clearDummy, getFile, getLine, getObjType, getRegion, getScope, isDummy, isParsableToInt, setDummy, setFile, setLine, setObjType, setRegion, setScope |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FVPRoot
public FVPRoot()
cleanAll
public void cleanAll()
findModuleAndDependentModulesInSortedOrder
public java.util.LinkedList<FVPBase> findModuleAndDependentModulesInSortedOrder(java.lang.String name)
findSubModulesInSortedOrder
public java.util.LinkedList<FVPBase> findSubModulesInSortedOrder(FVPBase mod)
getMacrolTable
public java.util.HashMap<java.lang.String,java.lang.String> getMacrolTable()
setMacrolTable
public void setMacrolTable(java.util.HashMap<java.lang.String,java.lang.String> macrolTable)
getMacrolValue
public java.lang.String getMacrolValue(java.lang.String macro)
addMacrolValue
public void addMacrolValue(java.lang.String macro,
java.lang.String value)
getPreprocessedIncludeFiles
public java.util.HashMap<java.lang.String,java.lang.String> getPreprocessedIncludeFiles()
setPreprocessedIncludeFiles
public void setPreprocessedIncludeFiles(java.util.HashMap<java.lang.String,java.lang.String> preprocessedIncludeFiles)
getPreprocessedIncludeFile
public java.lang.String getPreprocessedIncludeFile(java.lang.String fname)
addPreprocessedIncludeFile
public void addPreprocessedIncludeFile(java.lang.String orgFile,
java.lang.String newFile)
getModules
public java.util.LinkedList<FVPModule> getModules()
findModuleOrUDP
public FVPBase findModuleOrUDP(java.lang.String name)
addModule
public void addModule(FVPModule mod)
removeModule
public void removeModule(FVPModule mod)
getUDPs
public java.util.LinkedList<FVPUDP> getUDPs()
addUDP
public void addUDP(FVPUDP ud)
addDefine
public void addDefine(FVPDefine def)
removeDefine
public void removeDefine(FVPDefine def)
resetAllDefines
public void resetAllDefines()
removeDefine
public void removeDefine(java.lang.String id)
getDefines
public java.util.LinkedList<FVPDefine> getDefines()
setDefines
public void setDefines(java.util.LinkedList<FVPDefine> defines)
isDefined
public boolean isDefined(java.lang.String id)
addIncludeDirective
public void addIncludeDirective(FVPIncludeDirective incdir)
getIncludes
public java.util.LinkedList<FVPIncludeDirective> getIncludes()
setIncludes
public void setIncludes(java.util.LinkedList<FVPIncludeDirective> includes)
addTimescaleDirective
public void addTimescaleDirective(FVPTimeScale ts)
getTimescale
public FVPTimeScale getTimescale()
setTimescale
public void setTimescale(FVPTimeScale timescale)
getSymbolTable
public java.util.HashMap<java.lang.String,FVPBase> getSymbolTable()
setSymbolTable
public void setSymbolTable(java.util.HashMap<java.lang.String,FVPBase> symbolTable)
getOutputfile
public java.lang.String getOutputfile()
setOutputfile
public void setOutputfile(java.lang.String file)
print
public java.lang.String print()
- Specified by:
print
in class FVPBase
elaborate
public boolean elaborate()
- Specified by:
elaborate
in class FVPBase
printIntoFileStream
public void printIntoFileStream(java.io.BufferedWriter writer)
- Specified by:
printIntoFileStream
in class FVPBase
printDecl
public java.lang.String printDecl()
- Specified by:
printDecl
in class FVPBase
getTopModules
public java.util.ArrayList<FVPBase> getTopModules()
printSystemC
public java.lang.String printSystemC()
- Specified by:
printSystemC
in class FVPBase
printDeclSystemC
public java.lang.String printDeclSystemC()
- Specified by:
printDeclSystemC
in class FVPBase
printSystemC
public java.lang.String printSystemC(FVPSCUtil.SignalPrintType printType)
- Specified by:
printSystemC
in class FVPBase