Class VerilogStrength


  • public final class VerilogStrength
    extends java.lang.Object
    VerilogStrength represents signal strengths.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      VerilogStrength clone()  
      VerilogStrength.Type getStrength()
      Returns the charge strength.
      VerilogStrength.Type getStrength0()
      Returns the drive strength for 0.
      VerilogStrength.Type getStrength1()
      Returns the drive strength for 1.
      boolean isHighZ0()
      Checks whether the drive strength for 0 is HIGHZ.
      boolean isHighZ1()
      Checks whether the drive strength for 1 is HIGHZ.
      boolean isLarge()
      Checks whether the charge strength is LARGE.
      boolean isLarge0()
      Checks whether the drive strength for 0 is LARGE.
      boolean isLarge1()
      Checks whether the drive strength for 1 is LARGE.
      boolean isMedium()
      Checks whether the charge strength is MEDIUM.
      boolean isMedium0()
      Checks whether the drive strength for 0 is MEDIUM.
      boolean isMedium1()
      Checks whether the drive strength for 1 is MEDIUM.
      boolean isPull0()
      Checks whether the drive strength for 0 is PULL.
      boolean isPull1()
      Checks whether the drive strength for 1 is PULL.
      boolean isSmall()
      Checks whether the charge strength is SMALL.
      boolean isSmall0()
      Checks whether the drive strength for 0 is SMALL.
      boolean isSmall1()
      Checks whether the drive strength for 1 is SMALL.
      boolean isStrong0()
      Checks whether the drive strength for 0 is STRONG.
      boolean isStrong1()
      Checks whether the drive strength for 1 is STRONG.
      boolean isSupply0()
      Checks whether the drive strength for 0 is SUPPLY.
      boolean isSupply1()
      Checks whether the drive strength for 1 is SUPPLY.
      boolean isWeak0()
      Checks whether the drive strength for 0 is WEAK.
      boolean isWeak1()
      Checks whether the drive strength for 1 is WEAK.
      void setHighZ0()
      Sets the drive strength for 0 to HIGHZ.
      void setHighZ1()
      Sets the drive strength for 1 to HIGHZ.
      void setLarge()
      Sets the charge strength to LARGE.
      void setLarge0()
      Sets the drive strength for 0 to LARGE.
      void setLarge1()
      Sets the drive strength for 1 to LARGE.
      void setMedium()
      Sets the charge strength to MEDIUM.
      void setMedium0()
      Sets the drive strength for 0 to MEDIUM.
      void setMedium1()
      Sets the drive strength for 1 to MEDIUM.
      void setPull0()
      Sets the drive strength for 0 to PULL.
      void setPull1()
      Sets the drive strength for 1 to PULL.
      void setSmall()
      Sets the charge strength to SMALL.
      void setSmall0()
      Sets the drive strength for 0 to SMALL.
      void setSmall1()
      Sets the drive strength for 1 to SMALL.
      void setStrength​(VerilogStrength.Type type)
      Sets the charge strength.
      void setStrength0​(VerilogStrength.Type type)
      Sets the drive strength for 0.
      void setStrength1​(VerilogStrength.Type type)
      Sets the drive strength for 1.
      void setStrong0()
      Sets the drive strength for 0 to STRONG.
      void setStrong1()
      Sets the drive strength for 1 to STRONG.
      void setSupply0()
      Sets the drive strength for 0 to SUPLLY.
      void setSupply1()
      Sets the drive strength for 1 to SUPPLY.
      void setWeak0()
      Sets the drive strength for 0 to WEAK.
      void setWeak1()
      Sets the drive strength for 1 to WEAK.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • VerilogStrength

        public VerilogStrength()
        Creates a signal strength.
      • VerilogStrength

        public VerilogStrength​(VerilogStrength other)
        Creates a copy of the signal strength.
        Parameters:
        other - the signal strength to be copied.
    • Method Detail

      • getStrength0

        public VerilogStrength.Type getStrength0()
        Returns the drive strength for 0.
        Returns:
        the drive strength for 0.
      • setStrength0

        public void setStrength0​(VerilogStrength.Type type)
        Sets the drive strength for 0.
        Parameters:
        type - the drive strength for 0.
      • isSupply0

        public boolean isSupply0()
        Checks whether the drive strength for 0 is SUPPLY.
        Returns:
        true iff the drive strength for 0 is SUPPLY.
      • isStrong0

        public boolean isStrong0()
        Checks whether the drive strength for 0 is STRONG.
        Returns:
        true iff the drive strength for 0 is STRONG.
      • isPull0

        public boolean isPull0()
        Checks whether the drive strength for 0 is PULL.
        Returns:
        true iff the drive strength for 0 is PULL.
      • isLarge0

        public boolean isLarge0()
        Checks whether the drive strength for 0 is LARGE.
        Returns:
        true iff the drive strength for 0 is LARGE.
      • isWeak0

        public boolean isWeak0()
        Checks whether the drive strength for 0 is WEAK.
        Returns:
        true iff the drive strength for 0 is WEAK.
      • isMedium0

        public boolean isMedium0()
        Checks whether the drive strength for 0 is MEDIUM.
        Returns:
        true iff the drive strength for 0 is MEDIUM.
      • isSmall0

        public boolean isSmall0()
        Checks whether the drive strength for 0 is SMALL.
        Returns:
        true iff the drive strength for 0 is SMALL.
      • isHighZ0

        public boolean isHighZ0()
        Checks whether the drive strength for 0 is HIGHZ.
        Returns:
        true iff the drive strength for 0 is HIGHZ.
      • setSupply0

        public void setSupply0()
        Sets the drive strength for 0 to SUPLLY.
      • setStrong0

        public void setStrong0()
        Sets the drive strength for 0 to STRONG.
      • setPull0

        public void setPull0()
        Sets the drive strength for 0 to PULL.
      • setLarge0

        public void setLarge0()
        Sets the drive strength for 0 to LARGE.
      • setWeak0

        public void setWeak0()
        Sets the drive strength for 0 to WEAK.
      • setMedium0

        public void setMedium0()
        Sets the drive strength for 0 to MEDIUM.
      • setSmall0

        public void setSmall0()
        Sets the drive strength for 0 to SMALL.
      • setHighZ0

        public void setHighZ0()
        Sets the drive strength for 0 to HIGHZ.
      • getStrength1

        public VerilogStrength.Type getStrength1()
        Returns the drive strength for 1.
        Returns:
        the drive strength for 1.
      • setStrength1

        public void setStrength1​(VerilogStrength.Type type)
        Sets the drive strength for 1.
        Parameters:
        type - the drive strength for 1.
      • isSupply1

        public boolean isSupply1()
        Checks whether the drive strength for 1 is SUPPLY.
        Returns:
        true iff the drive strength for 1 is SUPPLY.
      • isStrong1

        public boolean isStrong1()
        Checks whether the drive strength for 1 is STRONG.
        Returns:
        true iff the drive strength for 1 is STRONG.
      • isPull1

        public boolean isPull1()
        Checks whether the drive strength for 1 is PULL.
        Returns:
        true iff the drive strength for 1 is PULL.
      • isLarge1

        public boolean isLarge1()
        Checks whether the drive strength for 1 is LARGE.
        Returns:
        true iff the drive strength for 1 is LARGE.
      • isWeak1

        public boolean isWeak1()
        Checks whether the drive strength for 1 is WEAK.
        Returns:
        true iff the drive strength for 1 is WEAK.
      • isMedium1

        public boolean isMedium1()
        Checks whether the drive strength for 1 is MEDIUM.
        Returns:
        true iff the drive strength for 1 is MEDIUM.
      • isSmall1

        public boolean isSmall1()
        Checks whether the drive strength for 1 is SMALL.
        Returns:
        true iff the drive strength for 1 is SMALL.
      • isHighZ1

        public boolean isHighZ1()
        Checks whether the drive strength for 1 is HIGHZ.
        Returns:
        true iff the drive strength for 1 is HIGHZ.
      • setSupply1

        public void setSupply1()
        Sets the drive strength for 1 to SUPPLY.
      • setStrong1

        public void setStrong1()
        Sets the drive strength for 1 to STRONG.
      • setPull1

        public void setPull1()
        Sets the drive strength for 1 to PULL.
      • setLarge1

        public void setLarge1()
        Sets the drive strength for 1 to LARGE.
      • setWeak1

        public void setWeak1()
        Sets the drive strength for 1 to WEAK.
      • setMedium1

        public void setMedium1()
        Sets the drive strength for 1 to MEDIUM.
      • setSmall1

        public void setSmall1()
        Sets the drive strength for 1 to SMALL.
      • setHighZ1

        public void setHighZ1()
        Sets the drive strength for 1 to HIGHZ.
      • getStrength

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

        public void setStrength​(VerilogStrength.Type type)
        Sets the charge strength.
        Parameters:
        type - the charge strength.
      • isSmall

        public boolean isSmall()
        Checks whether the charge strength is SMALL.
        Returns:
        true iff the charge strength is SMALL.
      • isMedium

        public boolean isMedium()
        Checks whether the charge strength is MEDIUM.
        Returns:
        true iff the charge strength is MEDIUM.
      • isLarge

        public boolean isLarge()
        Checks whether the charge strength is LARGE.
        Returns:
        true iff the charge strength is LARGE.
      • setSmall

        public void setSmall()
        Sets the charge strength to SMALL.
      • setMedium

        public void setMedium()
        Sets the charge strength to MEDIUM.
      • setLarge

        public void setLarge()
        Sets the charge strength to LARGE.
      • toString

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

        public VerilogStrength clone()
        Overrides:
        clone in class java.lang.Object