public final class VerilogPathDescription
extends java.lang.Object
VerilogPathDescription
represents path descriptions.Modifier and Type | Class and Description |
---|---|
static class |
VerilogPathDescription.Polarity
VerilogPathDescription.Polarity contains the polarity types. |
static class |
VerilogPathDescription.Type
VerilogPathDescription.Type contains the path description types. |
Constructor and Description |
---|
VerilogPathDescription()
Creates a path description.
|
VerilogPathDescription(VerilogPathDescription other)
Creates a copy of the path description.
|
Modifier and Type | Method and Description |
---|---|
void |
addInput(VerilogReference input)
Adds the reference to the source references.
|
void |
addOutput(VerilogReference output)
Adds the reference to the destination references.
|
VerilogPathDescription |
clone() |
VerilogEdge |
getEdge()
Returns the edge type of the path description.
|
VerilogExpression |
getExpression()
Returns the data source expression of the path description.
|
java.util.List<VerilogReference> |
getInputs()
Returns the source references of the path description.
|
java.util.List<VerilogReference> |
getOutputs()
Returns the destination references of the path description.
|
VerilogPathDescription.Polarity |
getPolarity()
Returns the polarity of the path description.
|
VerilogPathDescription.Type |
getType()
Returns the type of the path description.
|
boolean |
isFull()
Checks whether the path description is
FULL . |
boolean |
isMinus()
Checks whether the polarity is
MINUS . |
boolean |
isParallel()
Checks whether the path description is
PARALLEL . |
boolean |
isPlus()
Checks whether the polarity is
PLUS . |
void |
setEdge(VerilogEdge edge)
Sets the edge type of the path description.
|
void |
setExpression(VerilogExpression expression)
Sets the data source expression of the path description.
|
void |
setFull()
Sets the path description type to
FULL . |
void |
setMinus()
Sets the path description polarity to
MINUS . |
void |
setParallel()
Sets the path description type to
PARALLEL . |
void |
setPlus()
Sets the path description polarity to
PLUS . |
void |
setPolarity(VerilogPathDescription.Polarity polarity)
Sets the polarity of the path description.
|
void |
setType(VerilogPathDescription.Type type)
Sets the type of the path description.
|
java.lang.String |
toString() |
public VerilogPathDescription()
public VerilogPathDescription(VerilogPathDescription other)
other
- the path description to be copied.public VerilogPathDescription.Type getType()
public void setType(VerilogPathDescription.Type type)
type
- the type to be set.public boolean isParallel()
PARALLEL
.true
iff the path description PARALLEL
.public boolean isFull()
FULL
.true
iff the path description is FULL
.public void setParallel()
PARALLEL
.public void setFull()
FULL
.public VerilogPathDescription.Polarity getPolarity()
public void setPolarity(VerilogPathDescription.Polarity polarity)
polarity
- the polarity to be set.public boolean isPlus()
PLUS
.true
iff the polarity is PLUS
.public boolean isMinus()
MINUS
.true
if the polarity is MINUS
.public void setPlus()
PLUS
.public void setMinus()
MINUS
.public VerilogEdge getEdge()
public void setEdge(VerilogEdge edge)
edge
- the edge type to be set.public java.util.List<VerilogReference> getInputs()
public void addInput(VerilogReference input)
input
- the reference to be added.public java.util.List<VerilogReference> getOutputs()
public void addOutput(VerilogReference output)
output
- the reference to be added.public VerilogExpression getExpression()
public void setExpression(VerilogExpression expression)
expression
- the expression to be set.public java.lang.String toString()
toString
in class java.lang.Object
public VerilogPathDescription clone()
clone
in class java.lang.Object