Function: verilog-lint-off

verilog-lint-off is an interactive and byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-lint-off)

Documentation

Convert a Verilog linter warning line into a disable statement.

For example:
        pci_bfm_null.v, line 46: Unused input: pci_rst_
becomes a comment for the appropriate tool.

The first word of the compile-command or verilog-linter variables is used to determine which product is being used.

See M-x verilog-surelint-off (verilog-surelint-off) and M-x verilog-verilint-off (verilog-verilint-off).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
          (t 'surelint))))  ; back compatibility

(defun verilog-lint-off ()
  "Convert a Verilog linter warning line into a disable statement.
For example:
        pci_bfm_null.v, line  46: Unused input: pci_rst_
becomes a comment for the appropriate tool.

The first word of the `compile-command' or `verilog-linter'
variables is used to determine which product is being used.

See \\[verilog-surelint-off] and \\[verilog-verilint-off]."
  (interactive)
  (let ((linter (verilog-linter-name)))
    (cond ((equal linter 'surelint)
	   (verilog-surelint-off))
	  ((equal linter 'verilint)
	   (verilog-verilint-off))
	  (t (error "Linter name not set")))))