com.eu.miscedautils.verilogparser
Class FVPRoot

java.lang.Object
  extended by com.eu.miscedautils.BaseHDLObject.BaseHDL
      extended by com.eu.miscedautils.verilogparser.FVPBase
          extended by com.eu.miscedautils.verilogparser.FVPRoot
All Implemented Interfaces:
java.io.Serializable

public class FVPRoot
extends FVPBase

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.eu.miscedautils.verilogparser.FVPBase
FVPBase.ObjType
 
Nested classes/interfaces inherited from class com.eu.miscedautils.BaseHDLObject.BaseHDL
BaseHDL.ParserType
 
Constructor Summary
FVPRoot()
           
 
Method Summary
 void addDefine(FVPDefine def)
           
 void addIncludeDirective(FVPIncludeDirective incdir)
           
 void addMacrolValue(java.lang.String macro, java.lang.String value)
           
 void addModule(FVPModule mod)
           
 void addPreprocessedIncludeFile(java.lang.String orgFile, java.lang.String newFile)
           
 void addTimescaleDirective(FVPTimeScale ts)
           
 void addUDP(FVPUDP ud)
           
 void cleanAll()
           
 boolean elaborate()
           
 java.util.LinkedList<FVPBase> findModuleAndDependentModulesInSortedOrder(java.lang.String name)
           
 FVPBase findModuleOrUDP(java.lang.String name)
           
 java.util.LinkedList<FVPBase> findSubModulesInSortedOrder(FVPBase mod)
           
 java.util.LinkedList<FVPDefine> getDefines()
           
 java.util.LinkedList<FVPIncludeDirective> getIncludes()
           
 java.util.HashMap<java.lang.String,java.lang.String> getMacrolTable()
           
 java.lang.String getMacrolValue(java.lang.String macro)
           
 java.util.LinkedList<FVPModule> getModules()
           
 java.lang.String getOutputfile()
           
 java.lang.String getPreprocessedIncludeFile(java.lang.String fname)
           
 java.util.HashMap<java.lang.String,java.lang.String> getPreprocessedIncludeFiles()
           
 java.util.HashMap<java.lang.String,FVPBase> getSymbolTable()
           
 FVPTimeScale getTimescale()
           
 java.util.ArrayList<FVPBase> getTopModules()
           
 java.util.LinkedList<FVPUDP> getUDPs()
           
 boolean isDefined(java.lang.String id)
           
 java.lang.String print()
           
 java.lang.String printDecl()
           
 java.lang.String printDeclSystemC()
           
 void printIntoFileStream(java.io.BufferedWriter writer)
           
 java.lang.String printSystemC()
           
 java.lang.String printSystemC(FVPSCUtil.SignalPrintType printType)
           
 void removeDefine(FVPDefine def)
           
 void removeDefine(java.lang.String id)
           
 void removeModule(FVPModule mod)
           
 void resetAllDefines()
           
 void setDefines(java.util.LinkedList<FVPDefine> defines)
           
 void setIncludes(java.util.LinkedList<FVPIncludeDirective> includes)
           
 void setMacrolTable(java.util.HashMap<java.lang.String,java.lang.String> macrolTable)
           
 void setOutputfile(java.lang.String file)
           
 void setPreprocessedIncludeFiles(java.util.HashMap<java.lang.String,java.lang.String> preprocessedIncludeFiles)
           
 void setSymbolTable(java.util.HashMap<java.lang.String,FVPBase> symbolTable)
           
 void setTimescale(FVPTimeScale timescale)
           
 
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 com.eu.miscedautils.BaseHDLObject.BaseHDL
getParserType, setParserType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FVPRoot

public FVPRoot()
Method Detail

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