mrve32-snn
SNN layer accelerator device module for the MRVE32 RISC-V emulator: a behavioural (golden) model of a memory-mapped spiking-layer accelerator, spec v0 draft.
- LIF/IF neurons,
i16saturating potentials,i8weights, reset by subtraction - one layer per START, local SRAM (spikes, weights, potentials, bias)
- analytical cycle model, completion interrupt (MEIP)
- the computation sits behind a swappable
SnnBackend(default:ReferenceLif)
It plugs into the emulator through the public device interfaces only
(BusDevice in Rust, the device C ABI in Python), like any third-party device;
see docs/devices.md.
Rust
use mrve32::Bus;
use mrve32_snn::{SNN_WINDOW_SIZE, SnnAccelerator, SnnConfig};
let mut bus = Bus::new();
bus.map_device(0x1000_0000, SNN_WINDOW_SIZE, Box::new(SnnAccelerator::new(SnnConfig::default())))
.unwrap();
Python
pip install ../.. # mrve32 core first (not on PyPI yet)
pip install .
from mrve32 import Emulator
from mrve32_snn import SnnAccelerator, SnnDriver, reference_step, pack_spikes
emu = Emulator()
emu.map_device(0x1000_0000, SnnAccelerator(max_inputs=1024, max_outputs=512))
dev = SnnDriver(emu, 0x1000_0000) # host-side driver over the emulated bus
reference_step is the NumPy golden model of one timestep; the tests check
the Rust model against it bit-exactly.
Metadata
Release files for mrve32-snn 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mrve32_snn-0.1.0.tar.gz | 180.3 kB | With provenance | Details for mrve32_snn-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| mrve32_snn-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for mrve32_snn-0.1.0-cp310-abi3-win_amd64.whl |
| mrve32_snn-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details for mrve32_snn-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| mrve32_snn-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details for mrve32_snn-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| mrve32_snn-0.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for mrve32_snn-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
| mrve32_snn-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details for mrve32_snn-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
Total release size: 1.3 MB
Release files / mrve32_snn-0.1.0.tar.gz
| Download URL | mrve32_snn-0.1.0.tar.gz |
|---|---|
| Size | 180.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d8825b5c96a0e00e2116f7e3bf8413958ea0a94bfcdc8b759e3d521f01277c6
|
|
BLAKE2b-256 checksum How to use checksums |
4c9c54c541e251b5bb72eb30f50b5b376f7cfd07706ff8f2c283c02dafe33716
|
| 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 Nov 3, 2026.
Transparency logRelease files / mrve32_snn-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | mrve32_snn-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 137.8 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
827a8eca169173b9498b2337091fffe225c6de14ddf5979220608c708b1a6923
|
|
BLAKE2b-256 checksum How to use checksums |
098105580be7235761b0fa52d9ad08a9d7fdeed650c1f9ac6ac15b9066d747b1
|
| 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 Nov 3, 2026.
Transparency logRelease files / mrve32_snn-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | mrve32_snn-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 278.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cf06da3f2fba2ab7d1a149e3367e0e4f0021eb92af33a5324a8f07eba47dcc85
|
|
BLAKE2b-256 checksum How to use checksums |
9cfe4baa459565aa54b8fdc09b53cff78b5b7cadecf799222b7dcd87b3b2236c
|
| 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 Nov 3, 2026.
Transparency logRelease files / mrve32_snn-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | mrve32_snn-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 272.3 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
abde3712e735aef10470b7dbd1a86d71f4bfff1d455197c892b7060bae0c7bb1
|
|
BLAKE2b-256 checksum How to use checksums |
b62363a1c4043c7b3c04788021a945657c8ba42268d4594e4185ff332613f6d4
|
| 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 Nov 3, 2026.
Transparency logRelease files / mrve32_snn-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | mrve32_snn-0.1.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 239.7 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
87a64e028dd3781a6f9b597e2cc0f5fc8a050c615bf418b982b56fc8e662bed5
|
|
BLAKE2b-256 checksum How to use checksums |
1dae7b6df1ba36a2b4ee73b323c5c9dc6d0b1e3d4f1e5e74f08bd64741535317
|
| 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 Nov 3, 2026.
Transparency logRelease files / mrve32_snn-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | mrve32_snn-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 239.2 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
e1d36fd3572a849edd527db21360a9f884de849004550ff12352faa891f920c9
|
|
BLAKE2b-256 checksum How to use checksums |
c096f46eca84fbcd5631e7e4464d153eb41ec7cd893b9e798954516bd8eaa8b1
|
| 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 Nov 3, 2026.
Transparency logSecurity for mrve32-snn 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 6 files in this release have been uploaded with provenance metadata.
Attestation for mrve32_snn-0.1.0.tar.gz
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 Nov 3, 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.