Class VerilogElementType


  • public final class VerilogElementType
    extends java.lang.Object
    VerilogElementType represents element types.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VerilogElementType clone()  
      VerilogRange getRange()
      Returns the range of the element.
      VerilogStrength getStrength()
      Returns the strength.
      VerilogElementType.Type getType()
      Returns the element type.
      boolean isByte()
      Checks whether the element is BYTE.
      boolean isInteger()
      Checks whether the element is INTEGER.
      boolean isLongInt()
      Checks whether the element is LONGINT.
      boolean isNet()
      Checks whether the element is a net.
      boolean isNumeric()
      Checks whether the element is a numeric variable (INTEGER or REAL).
      boolean isProperty()
      Checks whether the element is PROPERTY.
      boolean isReal()
      Checks whether the element is REAL.
      boolean isRealtime()
      Checks whether the element is REALTIME.
      boolean isReg()
      Checks whether the element is REG.
      boolean isRegister()
      Checks whether the element is a register.
      boolean isScalared()
      Checks whether the element is scalared.
      boolean isSequence()
      Checks whether the element is SEQUENCE.
      boolean isShortInt()
      Checks whether the element is SHORTINT.
      boolean isShortReal()
      Checks whether the element is SHORTREAL.
      boolean isSigned()
      Checks whether the element is signed.
      boolean isSpecified()
      Checks whether the type is specified (something is written in the code).
      boolean isSupply0()
      Checks whether the element is SUPPLY0.
      boolean isSupply1()
      Checks whether the element is SUPPLY1.
      boolean isTemporal()
      Checks whether the element is a temporal variable (TIME or REALTIME).
      boolean isTime()
      Checks whether the element is TIME.
      boolean isTri()
      Checks whether the element is TRI.
      boolean isTri0()
      Checks whether the element is TRI0.
      boolean isTri1()
      Checks whether the element is TRI1.
      boolean isTriand()
      Checks whether the element is TRIAND.
      boolean isTrior()
      Checks whether the element is TRIOR.
      boolean isTrireg()
      Checks whether the element is TRIREG.
      boolean isUndefined()
      Checks whether the element is UNDEFINED.
      boolean isUwire()
      Checks whether the element is UWIRE.
      boolean isVectored()
      Checks whether the element is vectored.
      boolean isWand()
      Checks whether the element is WAND.
      boolean isWire()
      Checks whether the element is WIRE.
      boolean isWor()
      Checks whether the element is WOR.
      void setByte()
      Sets the element type to BYTE.
      void setInteger()
      Sets the element type to INTEGER.
      void setLongInt()
      Sets the element type to LONGINT.
      void setProperty()
      Sets the element type to PROPERTY.
      void setRange​(VerilogRange range)
      Sets a range of the element.
      void setReal()
      Sets the element type to REAL.
      void setRealtime()
      Sets the element type to REALTIME.
      void setReg()
      Sets the element type to REG.
      void setScalared()
      Sets the scalared property.
      void setSequence()
      Sets the element type to SEQUENCE.
      void setShortInt()
      Sets the element type to SHORTINT.
      void setShortReal()
      Sets the element type to SHORTREAL.
      void setSigned()
      Sets the signed property.
      void setStrength​(VerilogStrength strength)
      Sets the strength.
      void setSupply0()
      Sets the element type to SUPPLY0.
      void setSupply1()
      Sets the element type to SUPPLY1.
      void setTime()
      Sets the element type to TIME.
      void setTri()
      Sets the element type to TRI.
      void setTri0()
      Sets the element type to TRI0.
      void setTri1()
      Sets the element type to TRI1.
      void setTriand()
      Sets the element type to TRIAND.
      void setTrior()
      Sets the element type to TRIOR.
      void setTrireg()
      Sets the element type to TRIREG.
      void setType​(VerilogElementType.Type type)
      Sets the element type.
      void setUwire()
      Sets the element type to UWIRE.
      void setVectored()
      Sets the vectored property.
      void setWand()
      Sets the element type to WAND.
      void setWire()
      Sets the element type to WIRE.
      void setWor()
      Sets the element type to WOR.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VerilogElementType

        public VerilogElementType()
        Creates an element type.
      • VerilogElementType

        public VerilogElementType​(VerilogElementType other)
        Creates a copy of the element type.
        Parameters:
        other - the element type to be copied.
    • Method Detail

      • isSpecified

        public boolean isSpecified()
        Checks whether the type is specified (something is written in the code).
        Returns:
        true iff the type is specified.
      • setType

        public void setType​(VerilogElementType.Type type)
        Sets the element type.
        Parameters:
        type - the element type to be set.
      • isInteger

        public boolean isInteger()
        Checks whether the element is INTEGER.
        Returns:
        true iff the element is INTEGER.
      • isReal

        public boolean isReal()
        Checks whether the element is REAL.
        Returns:
        true iff the element is REAL.
      • isTime

        public boolean isTime()
        Checks whether the element is TIME.
        Returns:
        true iff the element is TIME.
      • isRealtime

        public boolean isRealtime()
        Checks whether the element is REALTIME.
        Returns:
        true iff the element is REALTIME.
      • isSupply0

        public boolean isSupply0()
        Checks whether the element is SUPPLY0.
        Returns:
        true iff the element is SUPPLY0.
      • isSupply1

        public boolean isSupply1()
        Checks whether the element is SUPPLY1.
        Returns:
        true iff the element is SUPPLY1.
      • isTri

        public boolean isTri()
        Checks whether the element is TRI.
        Returns:
        true iff the element is TRI.
      • isTriand

        public boolean isTriand()
        Checks whether the element is TRIAND.
        Returns:
        true iff the element is TRIAND.
      • isTrior

        public boolean isTrior()
        Checks whether the element is TRIOR.
        Returns:
        true iff the element is TRIOR.
      • isTri0

        public boolean isTri0()
        Checks whether the element is TRI0.
        Returns:
        true iff the element is TRI0.
      • isTri1

        public boolean isTri1()
        Checks whether the element is TRI1.
        Returns:
        true iff the element is TRI1.
      • isUwire

        public boolean isUwire()
        Checks whether the element is UWIRE.
        Returns:
        true iff the element is UWIRE.
      • isWire

        public boolean isWire()
        Checks whether the element is WIRE.
        Returns:
        true iff the element is WIRE.
      • isWand

        public boolean isWand()
        Checks whether the element is WAND.
        Returns:
        true iff the element is WAND.
      • isWor

        public boolean isWor()
        Checks whether the element is WOR.
        Returns:
        true iff the element WOR.
      • isTrireg

        public boolean isTrireg()
        Checks whether the element is TRIREG.
        Returns:
        true iff the element TRIREG.
      • isReg

        public boolean isReg()
        Checks whether the element is REG.
        Returns:
        true iff the element is REG.
      • isSequence

        public boolean isSequence()
        Checks whether the element is SEQUENCE.
        Returns:
        true iff the element is SEQUENCE.
      • isProperty

        public boolean isProperty()
        Checks whether the element is PROPERTY.
        Returns:
        true iff the element is PROPERTY.
      • isUndefined

        public boolean isUndefined()
        Checks whether the element is UNDEFINED.
        Returns:
        true iff the element is UNDEFINED.
      • isByte

        public boolean isByte()
        Checks whether the element is BYTE.
        Returns:
        true iff the element is BYTE.
      • isShortInt

        public boolean isShortInt()
        Checks whether the element is SHORTINT.
        Returns:
        true iff the element is SHORTINT.
      • isLongInt

        public boolean isLongInt()
        Checks whether the element is LONGINT.
        Returns:
        true iff the element is LONGINT.
      • isShortReal

        public boolean isShortReal()
        Checks whether the element is SHORTREAL.
        Returns:
        true iff the element is SHORTREAL.
      • isNumeric

        public boolean isNumeric()
        Checks whether the element is a numeric variable (INTEGER or REAL).
        Returns:
        true iff the element is a numeric variable.
      • isTemporal

        public boolean isTemporal()
        Checks whether the element is a temporal variable (TIME or REALTIME).
        Returns:
        true iff the element is a temporal variable.
      • isRegister

        public boolean isRegister()
        Checks whether the element is a register.
        Returns:
        true iff the element is a register.
      • isNet

        public boolean isNet()
        Checks whether the element is a net.
        Returns:
        true iff the element is a net.
      • setInteger

        public void setInteger()
        Sets the element type to INTEGER.
      • setReal

        public void setReal()
        Sets the element type to REAL.
      • setTime

        public void setTime()
        Sets the element type to TIME.
      • setRealtime

        public void setRealtime()
        Sets the element type to REALTIME.
      • setSupply0

        public void setSupply0()
        Sets the element type to SUPPLY0.
      • setSupply1

        public void setSupply1()
        Sets the element type to SUPPLY1.
      • setTri

        public void setTri()
        Sets the element type to TRI.
      • setTriand

        public void setTriand()
        Sets the element type to TRIAND.
      • setTrior

        public void setTrior()
        Sets the element type to TRIOR.
      • setTri0

        public void setTri0()
        Sets the element type to TRI0.
      • setTri1

        public void setTri1()
        Sets the element type to TRI1.
      • setUwire

        public void setUwire()
        Sets the element type to UWIRE.
      • setWire

        public void setWire()
        Sets the element type to WIRE.
      • setWand

        public void setWand()
        Sets the element type to WAND.
      • setWor

        public void setWor()
        Sets the element type to WOR.
      • setTrireg

        public void setTrireg()
        Sets the element type to TRIREG.
      • setReg

        public void setReg()
        Sets the element type to REG.
      • setSequence

        public void setSequence()
        Sets the element type to SEQUENCE.
      • setProperty

        public void setProperty()
        Sets the element type to PROPERTY.
      • setByte

        public void setByte()
        Sets the element type to BYTE.
      • setShortInt

        public void setShortInt()
        Sets the element type to SHORTINT.
      • setLongInt

        public void setLongInt()
        Sets the element type to LONGINT.
      • setShortReal

        public void setShortReal()
        Sets the element type to SHORTREAL.
      • getStrength

        public VerilogStrength getStrength()
        Returns the strength.
        Returns:
        the strength.
      • setStrength

        public void setStrength​(VerilogStrength strength)
        Sets the strength.
        Parameters:
        strength - the strength to be set.
      • isVectored

        public boolean isVectored()
        Checks whether the element is vectored.
        Returns:
        true iff the element is vectored.
      • setVectored

        public void setVectored()
        Sets the vectored property.
      • isScalared

        public boolean isScalared()
        Checks whether the element is scalared.
        Returns:
        true iff the element is scalared.
      • setScalared

        public void setScalared()
        Sets the scalared property.
      • isSigned

        public boolean isSigned()
        Checks whether the element is signed.
        Returns:
        true iff the element is signed.
      • setSigned

        public void setSigned()
        Sets the signed property.
      • getRange

        public VerilogRange getRange()
        Returns the range of the element.
        Returns:
        the element range.
      • setRange

        public void setRange​(VerilogRange range)
        Sets a range of the element.
        Parameters:
        range - the element range.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object