Class VerilogCaseGenerate

    • Constructor Detail

      • VerilogCaseGenerate

        public VerilogCaseGenerate​(VerilogNode parent)
        Creates a generate case construct.
        Parameters:
        parent - the parent node.
      • VerilogCaseGenerate

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

      • getExpression

        public VerilogExpression getExpression()
        Returns the case selection expression.
        Returns:
        the expression.
      • setExpression

        public void setExpression​(VerilogExpression expression)
        Sets the case selection expression.
        Parameters:
        expression - the expression to be set.
      • getCases

        public java.util.List<VerilogCaseGenerateItem> getCases()
        Returns the cases.
        Returns:
        the list of cases.
      • addCase

        public void addCase​(VerilogCaseGenerateItem item)
        Adds the case to the case selection construct.
        Parameters:
        item - the case to be added.