Class VerilogPulseStyle

    • Constructor Detail

      • VerilogPulseStyle

        public VerilogPulseStyle​(VerilogNode parent)
        Creates a pulse style specification.
        Parameters:
        parent - the parent node.
      • VerilogPulseStyle

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

      • getType

        public VerilogPulseStyle.Type getType()
        Returns the type of the pulse style specification.
        Returns:
        the pulse style type.
      • setType

        public void setType​(VerilogPulseStyle.Type type)
        Sets the type of the pulse style specification.
        Parameters:
        type - the type to be set.
      • isOnEvent

        public boolean isOnEvent()
        Checks whether the pulse style is ON_EVENT.
        Returns:
        true iff the pulse style is ON_EVENT.
      • isOnDetect

        public boolean isOnDetect()
        Checks whether the pulse style is ON_DETECT.
        Returns:
        true iff the pulse style is ON_DETECT.
      • setOnEvent

        public void setOnEvent()
        Sets a pulse style type to ON_EVENT.
      • setOnDetect

        public void setOnDetect()
        Sets a pulse style type to ON_DETECT.
      • getReferences

        public java.util.List<VerilogReference> getReferences()
        Returns the references of the pulse style specification.
        Returns:
        the list of references.
      • addReference

        public void addReference​(VerilogReference reference)
        Adds the reference to the pulse style specification.
        Parameters:
        reference - the reference to be added.