Class VerilogCaseGenerateItem

    • Constructor Detail

      • VerilogCaseGenerateItem

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

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

      • getExpressions

        public java.util.List<VerilogExpression> getExpressions()
        Returns the expressions of the case.
        Returns:
        the list of expressions.
      • addExpression

        public void addExpression​(VerilogExpression expression)
        Adds the expression to the case.
        Parameters:
        expression - the expression to be added.
      • getGenerate

        public VerilogBlockGenerate getGenerate()
        Returns the generate block of the case.
        Returns:
        the generate block.
      • setGenerate

        public void setGenerate​(VerilogBlockGenerate generate)
        Sets the generate block of the case.
        Parameters:
        generate - the generate block to be set.
      • getExpression

        public VerilogExpression getExpression()
        Returns the condition associated with the case.
        Returns:
        the case condition.