DVT SystemVerilog IDE User Guide
Rev. 21.1.14, 13 April 2021
In order to see the contents of some directory on your disk, you must create an Eclipse project in that directory (see also What is a Project ).
If your project is spread across multiple directories without a reasonable common root or if you need to access files somehow related to your project that are not located in the project directory , you can open them from menu File > Open File.... If the file is outside any project in your workspace, the editor will open and the tab icon will be grayed.
For example if you have a single project xbusonly in your workspace located in /ovm/examples/xbus that includes files from /ovm/src and you open ovm.svh (for example via a hyperlink from the include directive) the editor tab will look like this:
The same will happen if you jump to a definition located in the /ovm/src directory.
The functionality in "gray iconed" editors is limited (no hyperlinks etc.).
NOTE: This "capability" serves as an alarm that you are out of your project scope and avoid touching the files. But if you are just navigating in order to understand the world around your project (module), limited functionality it's not what you want.
Solution 1. Create the project in a "root directory" that encloses all directories with relevant files (or emulate)
This is a simplistic solution. Besides additional relevant files, it is most likely to get in a lot of unrelated files that might also slow the platform.
A variant might be to create a special "root" directory with file system links to each directory whose contents you must access. Then create an Eclipse project in the "root". It requires changes to disk (links) just to work with Eclipse, not really acceptable.
Solution 2. Create a project in each relevant directory
This solution might work for you. In the example above, it is most probable that a project is already defined for ex_atm.
But if a project is just spread in multiple directories without a common root and each directory it's not really a separated project, it will be cumbersome to have my_p__dir_1, my_p__dir_2 projects.
Solution 3. Linked Resources
Choose one "main" directory to locate the project and create linked resources from it to other relevant external directories.
Linked resources are very similar with file system links, except they are registered in the .project file, not created on the disk. For more details see Linked Resources.
Full functionality is available for files accessible via linked resources.