Rig - libraries for SpiNNaker application support¶
Rig is a Python library which contains a collection of complementary tools for developing applications for the massively-parallel SpiNNaker architecture. First and foremost, Rig aims to present a light-weight, well tested and well documented interface for SpiNNaker application developers.
Getting started¶
If you’re new to Rig, here are two options for getting started: If you’re feeling impatient and want to start playing, take a look at some of the ten-line quick-start example programs. Alternatively the ‘hello world’ to circuit simulator tutorial gives a detailed introduction to building real-world SpiNNaker applications using Rig (still in under 400 lines of heavily commented Python).
- Quick-start examples in under 10 lines of code
- Booting a SpiNNaker machine
- Loading a SpiNNaker application
- Real-time communication via Ethernet using SDP
- Place and route
- Place and route for external devices
- Discover an unbooted SpiNNaker board’s IP address
- Discover if your application is dropping packets
- Fixed point number conversion
- Fixed point number conversion (for Numpy)
- ‘XYP’ routing keys with BitField
- Hierarchical routing keys with BitField
Reference manual¶
The Rig reference manual describes Rig’s public APIs, grouped by function. Most
of this documentation is also accessible using Python’s help()
facility.
Data packaging for SpiNNaker¶
Graph-to-machine mapping¶
rig.place_and_route
: Place applications, allocate on-chip resources, create routing tablesrig.routing_table
: Multicast routing table datastructures and toolsrig.geometry
: Machine geometry utility functions