mirror of
https://github.com/kaushalmodi/nim-svdpi
synced 2026-01-05 11:51:19 +00:00
No description
|
|
||
|---|---|---|
| includes | ||
| src | ||
| tests/chandle | ||
| .gitignore | ||
| config.nims | ||
| LICENSE | ||
| README.org | ||
| svdpi.nimble | ||
Small wrapper for SystemVerilog DPI-C header svdpi.h
Installation
nimble install svdpi
How to get nimble?
Get static binaries for nim, nimble by downloading and
extracting the latest nightly build for your OS.
Examples
See the svdpi package in use in my Nim/SystemVerilog experiment
repo.
Development
Environment setup
- User needs to have Cadence Xcelium installed and have the
XCELIUM_ROOTenv var set to point to thebin/directory containing thexrunexecutable. - LLVM
clangneeds to be installed in the environment. -
Install Futhark package
nimble install futhark
Updating the wrapper
nim wrap
Testing
To run a basic test while developing this package:
cd tests/chandle
make
Versions tested
- Cadence Xcelium
- 25.03-s01
- OS
- RHEL 8.8
- Nim
- 2.3.1 (devel) as of Thu May 15 2025
- Clang
- 19.1.7 (required only when updating the wrapper)