rustdv-gpi-sys
Raw FFI declarations for the simulator programming interface.
Deviation from design-doc D2.1 (documented in STATUS.md): the design
calls for bindgen-generated bindings to cocotb's gpi.h. This sandbox has
no cocotb GPI build and a zero-external-dependency constraint (no bindgen),
so v0 binds the IEEE 1800 VPI C API directly — the same API cocotb's
GPI wraps for Icarus. The declarations below are a hand-written subset of
vpi_user.h, sufficient for: hierarchy lookup, value get/set, time query,
and callbacks. The safe layer (rustdv-gpi) exposes a GPI-shaped API so
that swapping this crate for real gpi.h bindings later is contained.
Everything here is unsafe extern "C"; no logic lives in this crate
(the -sys discipline, design-doc D2.1).