com.eu.miscedautils.verilogparser
Class FVPExprTernary

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

public class FVPExprTernary
extends FVPExprBase

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.eu.miscedautils.verilogparser.FVPExprBase
FVPExprBase.ExprType
 
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
FVPExprTernary(java.lang.Integer line, FVPExprBase cond, FVPExprBase op1, FVPExprBase op2)
           
 
Method Summary
 boolean elaborate()
           
 FVPExprBase evaluate()
           
 FVPExprBase getCondition()
           
 java.util.LinkedList<FVPNet> getConstituentNetList()
           
 FVPExprBase getOperand1()
           
 FVPExprBase getOperand2()
           
 java.lang.Integer getWidth()
           
 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 cond)
           
 void setOperand1(FVPExprBase op1)
           
 void setOperand2(FVPExprBase op2)
           
 
Methods inherited from class com.eu.miscedautils.verilogparser.FVPExprBase
getEvaluatedIntegerValue, getEvaluatedval, getType, isInternal, setEvaluatedval, setInternal, setType
 
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

FVPExprTernary

public FVPExprTernary(java.lang.Integer line,
                      FVPExprBase cond,
                      FVPExprBase op1,
                      FVPExprBase op2)
Method Detail

getCondition

public FVPExprBase getCondition()

setCondition

public void setCondition(FVPExprBase cond)

getOperand1

public FVPExprBase getOperand1()

setOperand1

public void setOperand1(FVPExprBase op1)

getOperand2

public FVPExprBase getOperand2()

setOperand2

public void setOperand2(FVPExprBase op2)

elaborate

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

getWidth

public java.lang.Integer getWidth()
Specified by:
getWidth in class FVPExprBase

evaluate

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

print

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

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

printSystemC

public java.lang.String printSystemC()
Specified by:
printSystemC in class FVPExprBase

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 FVPExprBase

getConstituentNetList

public java.util.LinkedList<FVPNet> getConstituentNetList()
Specified by:
getConstituentNetList in class FVPExprBase