Class VerilogAssignment

    • Constructor Detail

      • VerilogAssignment

        public VerilogAssignment​(VerilogNode parent)
        Creates an assignment.
        Parameters:
        parent - the parent node.
      • VerilogAssignment

        public VerilogAssignment​(VerilogAssignment other,
                                 VerilogNode parent)
        Creates a copy of the assignment.
        Parameters:
        other - the assignment to be copied.
        parent - the parent node.
    • Method Detail

      • getReferences

        public java.util.List<VerilogReference> getReferences()
        Returns the l-value (reference) of the assignment.
        Returns:
        the reference.
      • addReference

        public void addReference​(VerilogReference reference)
        Adds the reference to the l-value.
        Parameters:
        reference - the reference to be added.
      • getLhsNode

        public ru.ispras.fortress.expression.Node getLhsNode()
        Returns the expression representation of the assignment's left hand side.
        Returns:
        the left hand side.
      • getRhsExpression

        public VerilogMinTypMax getRhsExpression()
        Returns the r-value (expression) of the assignment.
        Returns:
        the expression.
      • setRhsExpression

        public void setRhsExpression​(VerilogMinTypMax expression)
        Sets the r-value (expression) of the assignment.
        Parameters:
        expression - the expression to be set.