vpi
Safe and ergonomic Rust bindings for writing Verilog/SystemVerilog VPI plugins.
This crate wraps vpi-sys with a safer API surface.
Features
sv: Enable SystemVerilog VPI extensions.bigint: Enable conversions withnum-bigint.dynamic: On Windows/macOS, use runtime symbol lookup viavpi-shimso plugins can be built without directly linking simulator libraries.
Usage
Add this crate as a dependency in your plugin crate and build as cdylib.
[]
= ["cdylib"]
[]
= { = "../vpi" }
See top-level project examples for complete plugin implementations.