Variable: verilog-preprocessor

verilog-preprocessor is a customizable variable defined in verilog-mode.el.gz.

Value

"verilator -E __FLAGS__ __FILE__"

Documentation

Program and arguments to use to preprocess Verilog source.

This is invoked with verilog-preprocess, and depending on the verilog-set-compile-command, may also be invoked when you type M-x compile (compile). When the compile completes, C-x ` (next-error) will take you to the next lint error.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
;; We don't mark it safe, as it's used as a shell command

(defcustom verilog-preprocessor
  "verilator -E __FLAGS__ __FILE__"
  "Program and arguments to use to preprocess Verilog source.
This is invoked with `verilog-preprocess', and depending on the
`verilog-set-compile-command', may also be invoked when you type
\\[compile].  When the compile completes, \\[next-error] will
take you to the next lint error."
  :type 'string
  :group 'verilog-mode-actions)