# VERILOG2033: Pure "DPI" tasks should not be used ## Summary ```{raw} html
| Reliability | Security | Maintainability | Code attribute | Effort to fix | Tags |
|---|---|---|---|---|---|
| MEDIUM | - | - | Consistency | Conventional | 10min | synthesis, portability, vscode, simulation, linter |
SystemVerilog standard does not allow a DPI import task to be marked as pure.
Even if some tools allow this syntax, refrain from using it to keep your code portable.
import "DPI-C" pure task func(logic [3:0] a);``` ## Parameters No parameters. ```{raw} html ```