Enum VerilogStrength.Type
- java.lang.Object
-
- java.lang.Enum<VerilogStrength.Type>
-
- ru.ispras.verilog.parser.model.basis.VerilogStrength.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VerilogStrength.Type>
- Enclosing class:
- VerilogStrength
public static enum VerilogStrength.Type extends java.lang.Enum<VerilogStrength.Type>
VerilogStrength.Type
contains the strengths.Strengths are used to resolve which value should appear on a net or a gate output.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VerilogStrength.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VerilogStrength.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPPLY
public static final VerilogStrength.Type SUPPLY
Supply strength (the strongest one).
-
STRONG
public static final VerilogStrength.Type STRONG
Strong strength.
-
PULL
public static final VerilogStrength.Type PULL
Pull strength.
-
LARGE
public static final VerilogStrength.Type LARGE
Large strength.
-
WEAK
public static final VerilogStrength.Type WEAK
Weak strength.
-
MEDIUM
public static final VerilogStrength.Type MEDIUM
Medium strength.
-
SMALL
public static final VerilogStrength.Type SMALL
Small strength.
-
HIGHZ
public static final VerilogStrength.Type HIGHZ
High-Z strength (the weakest one).
-
-
Method Detail
-
values
public static VerilogStrength.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VerilogStrength.Type c : VerilogStrength.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerilogStrength.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-