Top Files
Top Files must be specified in order to build a project. During a build
an internal dictionary is created, which is used for autocomplete and code navigation capabilities
(see also Build).
|
Files analyzed via Top Files are marked with a blue bullet, for example in the Navigator view.
|
|
Files with no bullet are not considered relevant for the project.
|
Specify the Top Files for a project using Right click on a project > Properties > Verilog Top Files.
To specify Top Files, INCDIR etc. you can also directly edit the corresponding files <project_dir>.dvt/.vlog_top_files, <project_dir>.dvt/.vlog_inc_dir etc. and use:
- -f <file_name> to include a file containing more commands.
Important NOTE: The
builder will ignore all files with extensions other than: ".v", ".V", ".vp",
".VP", ".vs", ".VS", ".v95", ".V95", ".v95p", ".V95P", ".sv", ".SV", ".svp",
".SVP", ".svi", ".svh".
This behavior has been introduced starting with DVT version 2.9.3.
For backward compatibility (consider all files specified in command
files as Verilog code) use the +disable_ext flag
- system variables like ${var} or %var%
- absolute paths
- comments (//,--,#)
- Top Files only: +incdir+<path> or -incdir <path> to indicate search directories for files included with `include "filename"
- Top Files only: +define+<DEFINE>[=<replacement>] or -define <DEFINE> [=<replacement>] similar with `define name replacement
- Top Files only: -v <path> to specify the Verilog source library file
- Top Files only: -y <path> to specify the Verilog source library directory
- Top Files only: +libext+<suffix> to specify suffix (extension) of files in the library directories
- Top Files only: +disable_ext to configure the VlogDT builder to parse all files specified in command (.f) files, regardless of extension
If you don't see the file in the Navigator View, you may have to disable some filters:
.
If some file or directory is not found, an error is signaled on the configuration file, in the Problems View etc.
.
.

Build