digsim-native
The native simulation engine of DigSim, in Rust
(PyO3). DigSim uses it when it can import digsim_native, and simulates in Python when
it can't. Both engines give the same results, the native one about 10x faster on Yosys
netlists.
Install
The wheels are on the releases, one per platform for every Python from 3.11: Linux x86_64 and aarch64 (glibc and musl), Windows x64 and arm64, macOS arm64 and x86_64.
pip install digsim-native==0.1.0 \
--find-links https://github.com/freand76/digsim-native/releases/expanded_assets/v0.1.0
DIGSIM_ENGINE=python python ... # the Python engine, with the package installed
What it does
Rust runs the event loop and simulates every Yosys gate and functional cell, GND, VDD,
the bus ports up to 64 bits and one-bit ports with several drivers. Every other component
stays in Python and is called from the same event queue. When the wires change during a
simulation, the engine hands its state back to Python until the next init().
Build
pip install maturin
maturin build --release # the wheel, in target/wheels/
pip install target/wheels/*.whl # into the environment of DigSim
cargo fmt --check && cargo clippy --release -- -D warnings
The tests are in DigSim (its pytest, and tools/native/).
Releases
- Bump
versioninCargo.tomlandpyproject.toml, and the pin in DigSim. - Push a tag
vX.Y.Z. TheWheelsworkflow builds and tests the wheels and attaches them to a release.
The interface to DigSim isn't stable, so DigSim pins the version it was written for.
Metadata
Release files for digsim-native 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 3.0 MB
Release files / digsim_native-0.1.0-cp311-abi3-win_arm64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 247.2 kB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
ac87c1b8837f38c2893f6e082d0b98633337b9117e89a89a836f0aa1fdcc1261
|
|
BLAKE2b-256 checksum How to use checksums |
028848b7c40d6351f61164d2dcdb89e94131970027685d4281ebc1449d053df2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-win_amd64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 263.8 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bda24afeefe0851fb158cf221a3d64f1fc062a8aac949f56083dd014a6c74d5a
|
|
BLAKE2b-256 checksum How to use checksums |
8a1df9614d3f914defd4c2ca988bf9b26fbe54f0a8b4fe702b86efdefdc8c796
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-musllinux_1_2_x86_64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 576.2 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0ae275311f07da036b4e974b222bc6b74caa009663cfcd4009d3bdcb066d107e
|
|
BLAKE2b-256 checksum How to use checksums |
ee2cbd3fe0f5fa85f3e20018286b6fd37044ad540bb49b3ddefb3ec68688acf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-musllinux_1_2_aarch64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 535.8 kB |
| Tags | CPython 3.11 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e70256389a538727cf73058387a56038e69ddde13d83c476b85685e0ae495853
|
|
BLAKE2b-256 checksum How to use checksums |
902f73f63f2da0f343b42f1931102d9b89f0a770eda787bee2dd22616711da84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 364.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c2c54922e09561de9301cc9f06655dbe5d2b1d151415feb180eca6ebc15918c9
|
|
BLAKE2b-256 checksum How to use checksums |
9c613d7e0f9047452760c1c74dc902b55433f00c371412fbcf530e8f354ade9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 357.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
b5648491dbb463d6c8f9c0ca88524223ea282db6249ca8c819047e104fab39d5
|
|
BLAKE2b-256 checksum How to use checksums |
b375523b435b4f6bc3673409aa88a9e1c8ef650b496e599bd29813791198f7a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 335.2 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
257da54dd89568a4acf3f165d2a696da5bba21dc89c74512d46e1906e35f140b
|
|
BLAKE2b-256 checksum How to use checksums |
2fec9cefebebc40400f137d4b221fa5468bda27448ac502d291d5f00ad2a410b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / digsim_native-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | digsim_native-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 354.5 kB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1092dd9825cbfa62ba4e9b187d926e113a3bd701434555f483f40458164b0f69
|
|
BLAKE2b-256 checksum How to use checksums |
2cd2a60f6b6f6399635f88dd79d7bedee1cbe7978eebb09b0fad4d542490a073
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for digsim-native 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 8 files in this release have been uploaded with provenance metadata.
Attestation for digsim_native-0.1.0-cp311-abi3-win_arm64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.