VERILOG2032: Deprecated “DPI” should be replaced by “DPI-C”

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
MEDIUM--Consistency | Conventional10minsynthesis, 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.