rustdv-gpi-sys 0.1.0

Raw FFI declarations for the simulator programming interface. v0: hand-written VPI (IEEE 1800) subset for Icarus Verilog; the design-doc's bindgen-from-gpi.h remains the target once cocotb's GPI library can be built in-environment.
Documentation
  • Coverage
  • 2.91%
    3 out of 103 items documented0 out of 4 items with examples
  • Size
  • Source code size: 9.16 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 638.57 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • rustdv/rustdv
    4 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • raysalemi

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).