Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 632 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 632 Bytes

SV DPI Oxide

This repo simply generates a bindgen library for the "svdpi.h" compliant with SystemVerilog standard. The header file is taken from Verilator project.

Getting Started

Prerequisites

  • bindgen requires clang

Use

use svdpi::prelude::*;

Tests

Run the test: cargo test

Bindgen tests

Bindgen provides a few minimal tests.

User tests

There are no user defined tests at the moment, but if you think of some, place them in src/lib.rs

SV DPI with Rust

There is another crate project on this topic that build the types from the ground up: https://github.com/dalance/sv4state