How to Work with C/C++ Code in the DVT Eclipse IDE
Description
The C Development Tooling Eclipse plugin (CDT) provides functionality for the C and C++ languages. DVT provides an integration plugin for cross-linking C and SystemVerilog DPI and simplifies the CDT configuration.
This video shows how to install the DVT/CDT integration plugin, how to configure a DVT/CDT project and how to use the integration features.
Explore the design and verification tools: https://www.dvteclipse.com
Or request a license: https://www.dvteclipse.com/request-license
Transcript
The C development tooling Eclipse plugin, or simply CDT, provides functionality for the C and C++ languages. DVT provides an integration plugin for cross-linking C and SystemVerilog DPI. It also simplifies the CDT configuration.
The CDT plugin is already bundled in DVTKit distributions and has to be enabled using the DVTKit installer script. This command installs the CDT plugin and the DVT-CDT integration plugin as well.
Start with a configured DVT project. Right-click on the project, select Change DVT Nature, and check C⧸C++ Language.
When you trigger a full build, DVT analyzes the C-specific directives in your build configuration file and uses them to configure CDT. C sources located outside the project directory are scanned and auto-linked.
Now you can use regular IDE functionalities for C files, like hyperlinks, errors reported as you type, and so on. You can hyperlink and show usages of imported and exported DPI functions in SystemVerilog and C code.