Project

General

Profile

Command Line Options » History » Version 1

Sergey Smolov, 10/11/2019 07:07 PM

1 1 Sergey Smolov
h1. Command Line Options
2
3
Verilog Translator provides the following command line options:
4
|*Long name*|*Short name*|*Description*|*Default value, if it has so*|
5
|--include-dir|-I|Include directory path|-|
6
7
Detailed notes about potions are written below.
8
9
h2. Include directory path
10
11
The option is used to provide to the tool the path to directory where Verilog modules that the target one uses are located.
12
13
When _a.v_ module uses module that is described at _b.v_ file, following situations are available:
14
# 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;
15
# The _a.v_ file contains "`include "b.v"" macro - set full path to directory with _b.v_ to '--include-dir' option
16
# 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