vhpi
This crate provides a high-level wrapper around VHPI (VHDL Procedural Interface) allowing the user to inspect and control a VHDL simulation. See nvc for a supported simulator.
A full description of VHPI capabilities can be found in the VHDL LRM.
Usage
Add vhpi to your Cargo.toml:
[]
= "0.3.0"
VHPI programs are usually compiled as plugins and loaded into the simulator which requires:
[]
= ["cdylib"]
If you get linker errors on Windows and macOS because you are trying to build a stand-alone plugin, use the dynamic feature:
[]
= { = "0.3.0", = ["dynamic"] }
or, if you have nvc installed, link with $PREFIX/lib/nvc/libnvcimp.a.