3 releases (breaking)

0.4.0 Mar 22, 2024
0.3.0 Mar 3, 2024
0.2.0 Jan 16, 2023

#168 in Hardware support

Download history 8/week @ 2024-02-22 126/week @ 2024-02-29 31/week @ 2024-03-07 7/week @ 2024-03-14 107/week @ 2024-03-21 44/week @ 2024-03-28 22/week @ 2024-04-04

173 downloads per month

MPL-2.0 license

260KB
4K SLoC

ArC TWO™ Low-level library

This is the low-level interface library for ArC TWO. It manages the tool's command buffer, memory and instruction serialisation. It also provides some basic testing-related functionality such as individual pulsing and reading as well as a generic ramp generator. It is meant to be used as a bulding block towards developing more elaborate testing setups.

Using

The recommended way to get started with libarc2 is through its Python bindings. If you do, however, want to hack on libarc2 itself or build Rust-based testing programs then you can do so by adding the following to you Cargo.toml.

[dependencies]
libarc2 = "0.4"

The library is still under development and more features are added constantly. An effort is made to maintain a consistent API but there is no API stability guarantee until we hit 1.0.

Requirements

To actually talk to an ArC TWO board you will need the beastlink FPGA library. Detailed instructions are available on the beastlink-rs repository. The Python wheels of the libarc2 bindings include all necessary libraries but if you are using libarc2 itself you need to make them available for the Rust compiler to link against. For Windows a Python script is included to pull the necessary DLLs into the working directory. For Linux follow the instructions on the beastlink-rs repository to build appropriate packages for your distribution (for Debian, RedHat, Archlinux and their derivatives).

Dependencies

~1–11MB
~88K SLoC