Class VerilogActivity


  • public final class VerilogActivity
    extends VerilogNode
    VerilogActivity represents processes.

    There are the following process types:

    • always (ordinary process);
    • initial (initial process).
    • Constructor Detail

      • VerilogActivity

        public VerilogActivity​(VerilogNode parent)
        Creates a process.
        Parameters:
        parent - the node parent.
      • VerilogActivity

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

      • getType

        public VerilogActivity.Type getType()
        Returns the type of the process.
        Returns:
        the process type: ALWAYS or INITIAL.
      • setType

        public void setType​(VerilogActivity.Type type)
        Sets the type of the process.
        Parameters:
        type - the type to be set.
      • isAlways

        public boolean isAlways()
        Checks whether the process type is ALWAYS.
        Returns:
        true iff the process type is ALWAYS.
      • isInitial

        public boolean isInitial()
        Checks whether the process type is INITIAL.
        Returns:
        true iff the process type is INITIAL.
      • setAlways

        public void setAlways()
        Sets the process type to ALWAYS.
      • setInitial

        public void setInitial()
        Sets the process type to INITIAL.
      • getStatement

        public VerilogStatement getStatement()
        Returns the statement of the process.
        Returns:
        the process statement.
      • setStatement

        public void setStatement​(VerilogStatement statement)
        Sets the statement to the process.
        Parameters:
        statement - the statement to be set.