Skip to main content

Basil

Build status Documentation

Basil is a modular data acquisition (DAQ) framework developed by SiLab for the characterization of monolithic and hybrid pixel detectors. It comprises a library of HDL modules (written in Verilog) for custom FPGA readout boards, paired with a collection of Python code that control the hardware over USB, Ethernet, or serial interfaces from a host PC. Basil also includes Python drivers for common lab instruments such as power supplies, oscilloscopes, and other bench equipment.

Features

Firmware:

  • Very simple single master bus definition
  • Multiple basic modules (SPI, SEQ, GPIO, I2C, JTAG)
  • Multiple interfaces (UART, USB2, USB3, Ethernet)

Software:

  • Layer structure following hardware
  • Generation based on YAML file
  • Register abstract layer (RAL)
  • Simulator interface allows software test against simulated RTL (thanks to cocotb)

Installation

Install via PyPI:

pip install basil-daq

Or install from source:

git clone https://github.com/SiLab-Bonn/basil.git
cd basil
pip install -e .

Support

Please use GitHub's issue tracker for bug reports/feature requests/questions.

Documentation

Documentation can be found at: https://basil.rtfd.org

Example Projects

  • TJ-Monopix2 - DAQ for TJ-Monopix2 depleted monolithic pixel sensor
  • BDAQ53 - Readout system for ATLAS ITkPix (RD53) chips
  • LF-Monopix2 - DAQ for LF-Monopix2 depleted monolithic pixel sensor
  • FRIDA - DAQ for FRIDA, an ADC test array for frame-based imaging detectors

License

If not stated otherwise:

Host Software: The host software is distributed under the BSD 3-Clause ("BSD New" or "BSD Simplified") License.

FPGA Firmware: The FPGA code is distributed under the GNU Lesser General Public License, version 3.0 (LGPLv3).

Metadata

Release files for basil-daq 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basil-daq 3.3.0
File Size Uploaded Provenance
basil_daq-3.3.0.tar.gz 1.2 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for basil-daq 3.3.0
File Interpreter ABI Platform
basil_daq-3.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / basil_daq-3.3.0.tar.gz

Download URL basil_daq-3.3.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
bff4f3211620beb58c5cca9c167f9ed2088a1aa81864165499cc88141dc23429
BLAKE2b-256 checksum
How to use checksums
273fed5461150333b69c8fc88864e8375f70f48a81346826fa5dd9828a17cbb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 15, 2026.

Transparency log

Release files / basil_daq-3.3.0-py3-none-any.whl

Download URL basil_daq-3.3.0-py3-none-any.whl
Size 527.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1870d2e247db5138965ebcda0732c0f193c788e19753b9821f6c97f0fcb9957
BLAKE2b-256 checksum
How to use checksums
d68f4f403651e0bb8c03d61430debcf5caaa1f8e290a30f7a9a264c8d187772c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 15, 2026.

Transparency log

Security for basil-daq 3.3.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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for basil_daq-3.3.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 Oct 15, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page