VERILOG2032: Deprecated “DPI” should be replaced by “DPI-C”
Summary
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Consistency | Conventional | 10min | synthesis, vscode, simulation, linter, deprecated |
Description
Old-style "DPI" specified subroutines are deprecated.
Use the new-style "DPI-C" instead which has a well-defined standardized calling convention.
Noncompliant code example
import "DPI" function void foo();
Parameters
No parameters.