/* * File: lib.rs * Brief: sv-bindings: Raw FFI bindings for the (System)Verilog DPI, PLI, and VPI interfaces (IEEE 1800). * * Copyright (C) 2023 John Jekel * See the LICENSE file at the root of the project for licensing info. * * TODO longer description * */ /*! * sv-bindings: Raw FFI bindings for the (System)Verilog DPI, PLI, and VPI interfaces (IEEE 1800). * * If you wish to use sv-bindings, add it as a dependency! * * TODO better documentation */ #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] /* ------------------------------------------------------------------------------------------------ * Includes * --------------------------------------------------------------------------------------------- */ /* include!(concat!(env!("OUT_DIR"), "/svdpi.rs")); include!(concat!(env!("OUT_DIR"), "/vpi_user.rs")); include!(concat!(env!("OUT_DIR"), "/vpi_compatibility.rs")); include!(concat!(env!("OUT_DIR"), "/sv_vpi_user.rs")); */ include!(concat!(env!("OUT_DIR"), "/wrapper.rs"));//Switching to a wrapper to make life easier /* ------------------------------------------------------------------------------------------------ * Submodules * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Uses * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Macros * --------------------------------------------------------------------------------------------- */ //TODO (also pub(crate) use the_macro statements here too) /* ------------------------------------------------------------------------------------------------ * Constants * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Static Variables * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Types * --------------------------------------------------------------------------------------------- */ //TODO includes "type"-defs, structs, enums, unions, etc /* ------------------------------------------------------------------------------------------------ * Associated Functions and Methods * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Traits And Default Implementations * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Trait Implementations * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Functions * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Tests * --------------------------------------------------------------------------------------------- */ //TODO /* ------------------------------------------------------------------------------------------------ * Benchmarks * --------------------------------------------------------------------------------------------- */ //TODO