Description
Specifies a path to search include files when reading RTL files.
add_include_path <directory>
Arguments
| Parameter | Type | Description |
|---|
| directory | String | Specifies a path to search include files when reading RTL files. This option is mandatory. |
| Return Type | Description |
|---|
| 0 | Command succeeded. |
| 1 | Command failed. There is an error. You can observe the error message in the console. |
List of Errors
| Error Code | Error Message | Description |
|---|
ERR0023 | Required parameter include path is missing. | The directory option is mandatory and must be provided. |
Note: If the directory path is not correct then add_include_path will be passed without an error. However, read_verilog/read_vhd commands will be fail due to Verific's parser.
Supported Families
| PolarFire® |
| PolarFire SoC |
| RTG4™ |
| SmartFusion® 2 |
| IGLOO® 2 |
Example
add_include_path component/work/COREABC0/COREABC0_0/rtl/vlog/core