com.eu.miscedautils.verilogparser
Class FVPSeqLoopStatment

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

public class FVPSeqLoopStatment
extends FVPSeqStmtBase

See Also:
Serialized Form

Nested Class Summary
static class FVPSeqLoopStatment.LoopType
           
 
Nested classes/interfaces inherited from class com.eu.miscedautils.verilogparser.FVPSeqStmtBase
FVPSeqStmtBase.StmtType
 
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
FVPSeqLoopStatment(java.lang.Integer line, FVPSeqLoopStatment.LoopType type, java.util.LinkedList<FVPBase> stmts, FVPExprBase cond)
           
 
Method Summary
 void addStatement(FVPBase st)
           
 boolean elaborate()
           
 FVPExprBase evaluate()
           
 FVPExprBase getCondition()
           
 FVPSeqAssignment getInitial()
           
 FVPSeqLoopStatment.LoopType getLoopType()
           
 java.util.LinkedList<FVPBase> getStatements()
           
 void getStatements(java.util.LinkedList<FVPBase> sts)
           
 FVPSeqAssignment getSteps()
           
 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 setCondition(FVPExprBase condition)
           
 void setInitial(FVPSeqAssignment initial)
           
 void setLoopType(FVPSeqLoopStatment.LoopType looptype)
           
 void setSteps(FVPSeqAssignment steps)
           
 
Methods inherited from class com.eu.miscedautils.verilogparser.FVPSeqStmtBase
addComment, addDeclaration, getComment, getDeclarations, getLabel, getStatementType, getSymbolTable, setComment, setDeclarations, setLabel, setStatementType, setSymbolTable
 
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

FVPSeqLoopStatment

public FVPSeqLoopStatment(java.lang.Integer line,
                          FVPSeqLoopStatment.LoopType type,
                          java.util.LinkedList<FVPBase> stmts,
                          FVPExprBase cond)
Method Detail

getLoopType

public FVPSeqLoopStatment.LoopType getLoopType()

setLoopType

public void setLoopType(FVPSeqLoopStatment.LoopType looptype)

getStatements

public java.util.LinkedList<FVPBase> getStatements()

getStatements

public void getStatements(java.util.LinkedList<FVPBase> sts)

addStatement

public void addStatement(FVPBase st)

getCondition

public FVPExprBase getCondition()

setCondition

public void setCondition(FVPExprBase condition)

getInitial

public FVPSeqAssignment getInitial()

setInitial

public void setInitial(FVPSeqAssignment initial)

getSteps

public FVPSeqAssignment getSteps()

setSteps

public void setSteps(FVPSeqAssignment steps)

print

public java.lang.String print()
Specified by:
print in class FVPSeqStmtBase

elaborate

public boolean elaborate()
Specified by:
elaborate in class FVPSeqStmtBase

printIntoFileStream

public void printIntoFileStream(java.io.BufferedWriter writer)
Specified by:
printIntoFileStream in class FVPBase

evaluate

public FVPExprBase evaluate()
Specified by:
evaluate in class FVPSeqStmtBase

printDecl

public java.lang.String printDecl()
Specified by:
printDecl in class FVPBase

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