public final class VerilogStrength
extends java.lang.Object
VerilogStrength
represents signal strengths.Modifier and Type | Class and Description |
---|---|
static class |
VerilogStrength.Type
VerilogStrength.Type contains the strengths. |
Constructor and Description |
---|
VerilogStrength()
Creates a signal strength.
|
VerilogStrength(VerilogStrength other)
Creates a copy of the signal strength.
|
Modifier and Type | Method and 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() |
public VerilogStrength()
public VerilogStrength(VerilogStrength other)
other
- the signal strength to be copied.public VerilogStrength.Type getStrength0()
public void setStrength0(VerilogStrength.Type type)
type
- the drive strength for 0.public boolean isSupply0()
SUPPLY
.true
iff the drive strength for 0 is SUPPLY
.public boolean isStrong0()
STRONG
.true
iff the drive strength for 0 is STRONG
.public boolean isPull0()
PULL
.true
iff the drive strength for 0 is PULL
.public boolean isLarge0()
LARGE
.true
iff the drive strength for 0 is LARGE
.public boolean isWeak0()
WEAK
.true
iff the drive strength for 0 is WEAK
.public boolean isMedium0()
MEDIUM
.true
iff the drive strength for 0 is MEDIUM
.public boolean isSmall0()
SMALL
.true
iff the drive strength for 0 is SMALL
.public boolean isHighZ0()
HIGHZ
.true
iff the drive strength for 0 is HIGHZ
.public void setSupply0()
SUPLLY
.public void setStrong0()
STRONG
.public void setPull0()
PULL
.public void setLarge0()
LARGE
.public void setWeak0()
WEAK
.public void setMedium0()
MEDIUM
.public void setSmall0()
SMALL
.public void setHighZ0()
HIGHZ
.public VerilogStrength.Type getStrength1()
public void setStrength1(VerilogStrength.Type type)
type
- the drive strength for 1.public boolean isSupply1()
SUPPLY
.true
iff the drive strength for 1 is SUPPLY
.public boolean isStrong1()
STRONG
.true
iff the drive strength for 1 is STRONG
.public boolean isPull1()
PULL
.true
iff the drive strength for 1 is PULL
.public boolean isLarge1()
LARGE
.true
iff the drive strength for 1 is LARGE
.public boolean isWeak1()
WEAK
.true
iff the drive strength for 1 is WEAK
.public boolean isMedium1()
MEDIUM
.true
iff the drive strength for 1 is MEDIUM
.public boolean isSmall1()
SMALL
.true
iff the drive strength for 1 is SMALL
.public boolean isHighZ1()
HIGHZ
.true
iff the drive strength for 1 is HIGHZ
.public void setSupply1()
SUPPLY
.public void setStrong1()
STRONG
.public void setPull1()
PULL
.public void setLarge1()
LARGE
.public void setWeak1()
WEAK
.public void setMedium1()
MEDIUM
.public void setSmall1()
SMALL
.public void setHighZ1()
HIGHZ
.public VerilogStrength.Type getStrength()
public void setStrength(VerilogStrength.Type type)
type
- the charge strength.public boolean isSmall()
SMALL
.true
iff the charge strength is SMALL
.public boolean isMedium()
MEDIUM
.true
iff the charge strength is MEDIUM
.public boolean isLarge()
LARGE
.true
iff the charge strength is LARGE
.public void setSmall()
SMALL
.public void setMedium()
MEDIUM
.public void setLarge()
LARGE
.public java.lang.String toString()
toString
in class java.lang.Object
public VerilogStrength clone()
clone
in class java.lang.Object