verilog-library-flags

verilog-library-flags is a variable defined in `verilog-mode.el'.
Its value is
("")

  • This variable is safe as a file local variable if its value
    satisfies the predicate `listp'.

Documentation:
List of standard Verilog arguments to use for /*AUTOINST*/.
These arguments are used to find files for `verilog-auto', and match
the flags accepted by a standard Verilog-XL simulator.

-f filename Reads more `verilog-library-flags' from the filename.
+incdir+dir Adds the directory to `verilog-library-directories'.
-Idir Adds the directory to `verilog-library-directories'.
-y dir Adds the directory to `verilog-library-directories'.
+libext+.v Adds the extensions to `verilog-library-extensions'.
-v filename Adds the filename to `verilog-library-files'.

filename Adds the filename to `verilog-library-files'.
This is not recommended, -v is a better choice.

You might want these defined in each file; put at the *END* of your file
something like:

// Local Variables:
// verilog-library-flags:("-y dir -y otherdir")
// End:

Verilog-mode attempts to detect changes to this local variable, but they
are only insured to be correct when the file is first visited. Thus if you
have problems, use C-x C-v RET to have these take effect.

See also the variables mentioned above.

You can customize this variable.