# DPI - checks needed inside interface context - Source URL: https://github.com/AsFigo/pyslint/issues/147 DPI checks to be added for interface context. ```verilog interface af_sv_if; import "DPI" function int c_sum(); endinterface : af_sv_if ``` ## PR Content from GitHub # Pull Request Summary **PR Title:** DPI enhancements **PR Number:** #149 **Status:** Merged **Author:** svenka3 **Merge Date:** December 1, 2023 --- ## PR Description The pull request description is minimal. The author only states: "Fixes #147 and #148" --- ## Commits Two commits were included: 1. "Fixes Issue #147" (commit f340d60) 2. "Support for DPI inside PKG is added" (commit e15120a) --- ## Comments **svenka3** commented on December 1, 2023: "Fixes #147 and #148" --- ## Linked Issues This PR references two issues: - **Issue #147:** "DPI - checks needed inside interface context" - **Issue #148:** "DPI - checks need to be performed for package scoped DPI methods" The pull request successfully closed Issue #147. Issue #148 was also referenced and addressed through the implementation of DPI (Direct Programming Interface) support within package scoping contexts.