Class VerilogInstantiation

    • Constructor Detail

      • VerilogInstantiation

        public VerilogInstantiation​(VerilogNode parent)
        Creates an instantiation.
        Parameters:
        parent - the parent node.
      • VerilogInstantiation

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

      • getModuleName

        public java.lang.String getModuleName()
        Returns the module name of the instance.
        Returns:
        the module name.
      • setModuleName

        public void setModuleName​(java.lang.String module)
      • getDelay

        public VerilogDelay getDelay()
        Returns the delay of the instance's port connections.
        Returns:
        the delay.
      • setDelay

        public void setDelay​(VerilogDelay delay)
        Sets the delay of the instance's port connections.
        Parameters:
        delay - the delay to be set.
      • getStrength

        public VerilogStrength getStrength()
        Returns the strength of the instance's port connections.
        Returns:
        the strength.
      • setStrength

        public void setStrength​(VerilogStrength strength)
        Sets the strength of the instance's port connections.
        Parameters:
        strength - the strength to be set.
      • getRange

        public VerilogRange getRange()
        Returns the range of the instantiation array.
        Returns:
        the range.
      • setRange

        public void setRange​(VerilogRange range)
        Sets the range of the instantiation array.
        Parameters:
        range - the range to be set.
      • addParameter

        public void addParameter​(VerilogAssignment assignment)
        Adds the parameter definition to the instance.
        Parameters:
        assignment - the parameter definition.
      • addConnection

        public void addConnection​(VerilogPortConnection connection)
        Adds a port connection to the instance.
        Parameters:
        connection - the port connection.
      • getDeclaration

        public VerilogModule getDeclaration()
        Returns the module declaration.
        Returns:
        the module declaration.
      • setDeclaration

        public void setDeclaration​(VerilogModule declaration)
        Sets the module declaration.
        Parameters:
        declaration - the module declaration to be set.