Skip to content

crisbour/svdpi_oxide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

SV DPI bindgen for Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published