Class VerilogPathDescription


  • public final class VerilogPathDescription
    extends java.lang.Object
    VerilogPathDescription represents path descriptions.
    • Constructor Detail

      • VerilogPathDescription

        public VerilogPathDescription()
        Creates a path description.
      • VerilogPathDescription

        public VerilogPathDescription​(VerilogPathDescription other)
        Creates a copy of the path description.
        Parameters:
        other - the path description to be copied.
    • Method Detail

      • setType

        public void setType​(VerilogPathDescription.Type type)
        Sets the type of the path description.
        Parameters:
        type - the type to be set.
      • isParallel

        public boolean isParallel()
        Checks whether the path description is PARALLEL.
        Returns:
        true iff the path description PARALLEL.
      • isFull

        public boolean isFull()
        Checks whether the path description is FULL.
        Returns:
        true iff the path description is FULL.
      • setParallel

        public void setParallel()
        Sets the path description type to PARALLEL.
      • setFull

        public void setFull()
        Sets the path description type to FULL.
      • setPolarity

        public void setPolarity​(VerilogPathDescription.Polarity polarity)
        Sets the polarity of the path description.
        Parameters:
        polarity - the polarity to be set.
      • isPlus

        public boolean isPlus()
        Checks whether the polarity is PLUS.
        Returns:
        true iff the polarity is PLUS.
      • isMinus

        public boolean isMinus()
        Checks whether the polarity is MINUS.
        Returns:
        true if the polarity is MINUS.
      • setPlus

        public void setPlus()
        Sets the path description polarity to PLUS.
      • setMinus

        public void setMinus()
        Sets the path description polarity to MINUS.
      • getEdge

        public VerilogEdge getEdge()
        Returns the edge type of the path description.
        Returns:
        the path description edge.
      • setEdge

        public void setEdge​(VerilogEdge edge)
        Sets the edge type of the path description.
        Parameters:
        edge - the edge type to be set.
      • getInputs

        public java.util.List<VerilogReference> getInputs()
        Returns the source references of the path description.
        Returns:
        the source references.
      • addInput

        public void addInput​(VerilogReference input)
        Adds the reference to the source references.
        Parameters:
        input - the reference to be added.
      • getOutputs

        public java.util.List<VerilogReference> getOutputs()
        Returns the destination references of the path description.
        Returns:
        the destination references.
      • addOutput

        public void addOutput​(VerilogReference output)
        Adds the reference to the destination references.
        Parameters:
        output - the reference to be added.
      • getExpression

        public VerilogExpression getExpression()
        Returns the data source expression of the path description.
        Returns:
        the data source expression.
      • setExpression

        public void setExpression​(VerilogExpression expression)
        Sets the data source expression of the path description.
        Parameters:
        expression - the expression to be set.
      • toString

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