Libre-SOC was a project by Luke Leighton and other contributors to build a
libre soft processor core, announced at the OpenPOWER Summit NA 2020.
[OpenPOWER Summit NA 2020: The LibreSOC Initiative: a hybrid CPU/VPU/GPU](_blank)
/ref> It adhered to the Power ISA 3.0 instruction set
In computer science, an instruction set architecture (ISA) is an abstract model that generally defines how software controls the CPU in a computer or a family of computers. A device or program that executes instructions described by that ISA, s ...
and could be run on field-programmable gate array boards, currently booting MicroPython
MicroPython is a software implementation of a programming language largely compatible with Python 3, written in C, that is optimized to run on a microcontroller.
MicroPython consists of a Python compiler to bytecode and a runtime interpreter o ...
and other bare-metal applications.
The purpose of Libre-SOC was to be a system on a chip
A system on a chip (SoC) is an integrated circuit that combines most or all key components of a computer or Electronics, electronic system onto a single microchip. Typically, an SoC includes a central processing unit (CPU) with computer memory, ...
(SoC) with 3D and video
Video is an Electronics, electronic medium for the recording, copying, playback, broadcasting, and display of moving picture, moving image, visual Media (communication), media. Video was first developed for mechanical television systems, whi ...
capability built-in as part of the Power ISA
Power ISA is a reduced instruction set computer (RISC) instruction set architecture (ISA) currently developed by the OpenPOWER Foundation, led by IBM. It was originally developed by IBM and the now-defunct Power.org industry group. Power IS ...
, suitable for single-board computer
A single-board computer (SBC) is a complete computer built on a single circuit board, with microprocessor(s), memory, input/output (I/O) and other features required of a functional computer. Single-board computers are commonly made as demonst ...
s, netbook
A netbook is a small-sized laptop computer; they were primarily sold from 2007 until around 2013, designed mostly as a means of accessing the Internet and being significantly less expensive than regular-sized laptops.
At their inception in l ...
s, IoT devices and other small form factors, while retaining a completely free and open design.
On June 23, 2024 Luke Leighton described the project a
"effectively terminated"
History
Libre-SOC began its life when Luke Leighton wanted there to be a completely free and libre system on a chip offering. He initially opted for a RISC-V
RISC-V (pronounced "risk-five") is an open standard instruction set architecture (ISA) based on established reduced instruction set computer (RISC) principles. The project commenced in 2010 at the University of California, Berkeley. It transfer ...
base, but later switched to OpenPOWER
The OpenPOWER Foundation is a collaboration around Power ISA-based products initiated by IBM and announced as the "OpenPOWER Consortium" on August 6, 2013. IBM's focus is to open up technology surrounding their Power Architecture offerings, such ...
when that seemed like a better fit for the project. It is the second processor written from scratch using the OpenPOWER ISA 3.0, and the first libre core that is completely independent of IBM
International Business Machines Corporation (using the trademark IBM), nicknamed Big Blue, is an American Multinational corporation, multinational technology company headquartered in Armonk, New York, and present in over 175 countries. It is ...
.
The project is mostly funded through NLnet
The NLnet Foundation supports organizations and people that contribute to an open information society. It was influential in spreading the Internet throughout Europe in the 1980s. In 1997, the foundation sold off its commercial networking operat ...
grants.
While being developed as a "soft core" Libre-SOC will be fabricated in 180 nm by TSMC's "Open MPW Shuttle Program" through IMEC
Interuniversity Microelectronics Centre (IMEC; officially stylised as imec) is an international Research and development, research & development organization, active in the fields of nanoelectronics and Digital electronics, digital technologies ...
in 2021. The finished ASIC was sent to IMEC in July 2021.
Design
Libre-SOC is a 64-bit
In computer architecture, 64-bit integers, memory addresses, or other data units are those that are 64 bits wide. Also, 64-bit central processing units (CPU) and arithmetic logic units (ALU) are those that are based on processor registers, a ...
bi-endian scalar processor core, implementing a subset of the Power ISA 3.0 instruction set. It has 32× 64-bit general purpose registers. It uses Wishbone for the memory interface.
The Libre-SOC core will be a hybrid design, based around a precise-augmented version of the historic CDC 6600 microarchitecture, merging traditional general purpose, vector
Vector most often refers to:
* Euclidean vector, a quantity with a magnitude and a direction
* Disease vector, an agent that carries and transmits an infectious pathogen into another living organism
Vector may also refer to:
Mathematics a ...
and graphics computing into a single execution unit reducing complexity and size of the complete chip as well as simplifying 3D driver development. This constitutes the need to add a small addition to the OpenPOWER instruction set architecture
In computer science, an instruction set architecture (ISA) is an abstract model that generally defines how software controls the CPU in a computer or a family of computers. A device or program that executes instructions described by that ISA, ...
called "Simple-V".
SVP64, currently in draft, extends OpenPOWER register files to 128, including CR fields, in order to cope with modern 3D and Video workloads, effectively making Libre-SOC a Vector processor
In computing, a vector processor or array processor is a central processing unit (CPU) that implements an instruction set where its instructions are designed to operate efficiently and effectively on large one-dimensional arrays of data called ...
.
Like Microwatt, the initial development was done in around three months, included the entire integer processing functionality of the instruction set; the bare minimum to make it compliant, with no memory management unit
A memory management unit (MMU), sometimes called paged memory management unit (PMMU), is a computer hardware unit that examines all references to computer memory, memory, and translates the memory addresses being referenced, known as virtual mem ...
and no floating-point unit
A floating-point unit (FPU), numeric processing unit (NPU), colloquially math coprocessor, is a part of a computer system specially designed to carry out operations on floating-point numbers. Typical operations are addition, subtraction, multip ...
. Libre-SOC's rapid development is, like Microwatt, down to the significant use of software engineering
Software engineering is a branch of both computer science and engineering focused on designing, developing, testing, and maintaining Application software, software applications. It involves applying engineering design process, engineering principl ...
practices including thousands of unit tests and by Microwatt source code
In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer.
Since a computer, at base, only ...
as a reference design.
Libre-SOC is unusual in that it is designed usin
nMigen
a Python-based hardware description language
In computer engineering, a hardware description language (HDL) is a specialized computer language used to describe the structure and behavior of electronic circuits, usually to design application-specific integrated circuits (ASICs) and to progra ...
(HDL). Also, to retain full transparency associated with "libre", the ASIC
An application-specific integrated circuit (ASIC ) is an integrated circuit (IC) chip customized for a particular use, rather than intended for general-purpose use, such as a chip designed to run in a digital voice recorder or a high-efficien ...
layoutLibre-SOC git repository for GDS-II layout
/ref> is performed wit
coriolis2
a VLSI toolchain developed and maintained by Sorbonne University
Sorbonne University () is a public research university located in Paris, France. The institution's legacy reaches back to the Middle Ages in 1257 when Sorbonne College was established by Robert de Sorbon as a constituent college of the Unive ...
's Laboratoire d'Informatique de Paris 6.
See also
* OpenPOWER Foundation
The OpenPOWER Foundation is a collaboration around Power ISA-based products initiated by IBM and announced as the "OpenPOWER Consortium" on August 6, 2013. IBM's focus is to open up technology surrounding their Power Architecture offerings, such ...
* IBM Power microprocessors
* List of open-source computing hardware
References
External links
Libre-SOC's official page
Libre-SOC source code
OpenPOWER list of Libre/Open implementations of the POWER ISA
Articles about Libre-SOC
{{Soft microprocessors
Open microprocessors
Libre-SOC
Soft microprocessors
Libre-SOC