Class VerilogEventControl


  • public final class VerilogEventControl
    extends java.lang.Object
    VerilogEventControl represents event control constructs.
    • Constructor Detail

      • VerilogEventControl

        public VerilogEventControl()
        Creates an event control.
      • VerilogEventControl

        public VerilogEventControl​(VerilogEventControl other)
        Creates a copy of the event control.
        Parameters:
        other - the event control to be copied.
    • Method Detail

      • isDelays

        public boolean isDelays()
        Checks whether the control is delay-based.
        Returns:
        true iff the control is delay-based.
      • isEvents

        public boolean isEvents()
        Checks whether the control is event-based.
        Returns:
        true iff the control is event-based.
      • isRepeat

        public boolean isRepeat()
        Checks whether the control is event-based and has the repeat construct.
        Returns:
        true iff the control is event-based and has the repeat construct.
      • isEmpty

        public boolean isEmpty()
        Checks whether the control is absent.
        Returns:
        true iff the control is absent.
      • getDelay

        public VerilogDelay getDelay()
        Returns the delay of the delay-based control.
        Returns:
        the delay.
      • setDelay

        public void setDelay​(VerilogDelay delay)
        Sets the delay of the delay-based control.
        Parameters:
        delay - the delay to be set.
      • getEvents

        public java.util.List<VerilogEvent> getEvents()
        Returns the events of the event-based control.
        Returns:
        the events.
      • setEvents

        public void setEvents​(java.util.List<VerilogEvent> events)
        Sets the events of the event-based control.
        Parameters:
        events - the events to be set.
      • getRepeat

        public VerilogExpression getRepeat()
        Returns the repetition number of the event-based control.
        Returns:
        the repetition number.
      • setRepeat

        public void setRepeat​(VerilogExpression repeat)
        Sets the number of repetitions of the event-based control.
        Parameters:
        repeat - the repetition number to be set.
      • setRepeatEvents

        public void setRepeatEvents​(VerilogRepeatEvents repeatEvents)
        Sets the number of repetitions and the events of the event-based control.
        Parameters:
        repeatEvents - the repeat events construct.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object