21.17.12 add_include_path

Description

Specifies a path to search include files when reading RTL files.

add_include_path <directory>

Arguments

ParameterTypeDescription
directoryStringSpecifies a path to search include files when reading RTL files. This option is mandatory.
Return TypeDescription
0Command succeeded.
1Command failed. There is an error. You can observe the error message in the console.

List of Errors

Error CodeError MessageDescription

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