M-Labs

M-Labs (formerly known as the Milkymist Project) is a company which develops, manufactures and sells open hardware devices and software. It is known for the Milkymist System-On-Chip (SoC) which is a commercialized system-on-chip with free HDL source code.

M-Labs Technologies have been used in different programs. For example, NASA developed the Communication Navigation and Networking Reconfigurable Testbed (Connect) experiment which uses the Memory Controller that was originally developed for the Milkymist One and published under the terms of the GNU General Public License (GPL).

The project was presented at several open source and hacking conferences, such as the Chaos Communication Congress, FOSDEM, Libre Software Meeting, and Libre Graphics Meeting 2011. It was also featured on the Make magazine blog The Milkymist One board was included in their "Ultimate open source hardware gift guide 2010".

Milkymist SoC
The Milkymist system-on-chip uses the LatticeMico32 (LM32) core as a general purpose processor. It is a RISC 32-bit big endian CPU with a memory management unit (MMU) developed later by M-Labs contributors. It is supported by the GCC compiler and can run RTEMS and μClinux. There is also an experimental back-end for LLVM targeting this microprocessor.

The LM32 microprocessor is assisted by a texture mapping unit and a programmable floating point VLIW coprocessor, which are used by the Flickernoise video synthesis software. It is also surrounded by various peripheral cores to support every I/O device of the Milkymist One. The system-on-chip interconnect uses three bridged buses and mixes the Wishbone protocol with two custom protocols used for configuration registers and high performance DMA with the SDRAM.

The architecture of the Milkymist system-on-chip is largely documented in the project founder's Master thesis report. Most components of the system-on-chip, except the LatticeMico32 core, were custom developed and placed under the GNU GPL license.

The QEMU emulator can be used to run and debug Milkymist SoC binaries on another computer.

Milkymist One and Flickernoise
The Milkymist One video synthesizer and reconfigurable computer is the main product released by the project. It was manufactured by Qi Hardware, a start-up founded by former Openmoko employees. It was first sold at the Chaos Communication Congress in 2010, as an "early developer kit" for interested hackers, open source activists, and pioneers who could tolerate the remaining software and FPGA design shortcomings. A more refined version, including case and accessories, was later sold.

The technical specifications of the Milkymist One are as follows:
 * Multi-standard video input (PAL/SECAM/NTSC)
 * Two DMX512 (RS485) ports
 * MIDI IN and MIDI OUT ports
 * SVGA output, 24 bpp, up to 140 MHz pixel clock (about 1280×1024)
 * AC97 audio
 * Xilinx XC6SLX45 Spartan-6 FPGA supporting the open source Milkymist SoC
 * 128 MB 32-bit DDR333 SDRAM
 * 32 MB parallel flash
 * 10/100 Ethernet
 * Memory card
 * Two USB host connectors
 * RC-5 compatible infrared receiver
 * RS-232 debug port

The design files of the printed circuit board and the CAD files of the case were released under the Creative Commons Attribution-Share Alike license.

Flickernoise is the video synthesis software that runs on the Milkymist One. It is heavily inspired by MilkDrop and uses a similar, and largely compatible, scripting language to define and program the visual effects. However, while MilkDrop is designed to run automatically in a music player, Flickernoise is focused on the interactivity of the visuals for use in live performances. The software supports the programming of visual effects that transform a live video stream coming from a camera connected to the Milkymist One, as well as input from OpenSoundControl, DMX512, and MIDI controllers.

Flickernoise runs on the RTEMS real-time operating system and uses many POSIX software libraries that were ported to this operating system, such as libpng, libjpeg, jbig2dec, OpenJPEG, FreeType, MuPDF, and liblo for OpenSoundControl support. The streamlined hardware platform and the use of a real-time operating system allow the system to have a lower response time than an equivalent PC-based setup. The user interface is based on a variant of the Genode FX toolkit.

Flickernoise is also free software, released under the terms of the GNU General Public License.

ARTIQ
In May 2014, M-Labs entered a partnership with NIST to develop a next-generation open source control system for quantum information experiments. The system, called ARTIQ (Advanced Real-Time Infrastructure for Quantum physics), is a combination of software and gateware that enables synchronized control of many devices with nanosecond-level timing resolution and sub-microsecond latency, while retaining features of high level programming languages.

Some of the ideas and code from Milkymist SoC have been reused in ARTIQ.

In 2016 M-Labs partnered with ARL and ISE to develop ARTIQ Sinara, an open source hardware and software-defined radio platform.