Project

General

Profile

Actions

Command Line Options » History » Revision 1

Revision 1/11 | Next »
Sergey Smolov, 10/11/2019 07:07 PM


Command Line Options

Verilog Translator provides the following command line options:
Long name Short name Description Default value, if it has so
--include-dir -I Include directory path -

Detailed notes about potions are written below.

Include directory path

The option is used to provide to the tool the path to directory where Verilog modules that the target one uses are located.

When a.v module uses module that is described at b.v file, following situations are available:
  1. The a.v file does not contain "`include" macro - no '--include-dir' option should be used, both modules should be given to Verilog Translator and b.v should be the first one;
  2. The a.v file contains "`include "b.v"" macro - set full path to directory with b.v to '--include-dir' option
  3. The a.v file contains "`include "/relative/path/to/b.v"" macro - set prefix to path to directory with b.v to '--include-dir' option

Updated by Sergey Smolov about 5 years ago · 11 revisions