LEON
LEON is a radiation-tolerant 32-bit central processing unit microprocessor core that implements the SPARC V8 instruction set architecture developed by Sun Microsystems. It was originally designed by the European Space Research and Technology Centre, part of the European Space Agency, without any involvement by Sun. Later versions have been designed by Gaisler Research, under a variety of owners. It is described in synthesizable VHSIC Hardware Description Language. LEON has a dual license model: A GNU Lesser General Public License and GNU General Public License free and open-source software license that can be used without licensing fee, or a proprietary license that can be purchased for integration in a proprietary product.
The core is configurable through VHDL generics, and is used in system on a chip designs both in research and commercial settings.
History
The LEON project was begun by the European Space Agency in late 1997 to study and develop a high-performance processor to be used in European space projects.The objectives for the project were to provide an open, portable and non-proprietary processor design, capable to meet future requirements for performance, software compatibility and low system cost. Another objective was to be able to manufacture in a single-event upset tolerant sensitive semiconductor process. To maintain correct operation in the presence of SEUs, extensive error detection and error handling functions were needed. The goals have been to detect and tolerate one error in any register without software intervention, and to suppress effects from Single Event Transient errors in combinational logic.
The LEON family includes the first LEON1 VHSIC Hardware Description Language design that was used in the LEONExpress test chip developed in 0.25 μm technology to prove the fault-tolerance concept. The second LEON2 VHDL design was used in the processor device AT697 from Atmel and various system-on-chip devices. These two LEON implementations were developed by ESA. Gaisler Research, now part of Frontgrade, developed the third LEON3 design and has announced the availability of the fourth generation LEON, the LEON4 processor.
LEON processor models and distributions
A LEON processor can be implemented in programmable logic such as a field-programmable gate array or manufactured into an application-specific integrated circuit. This section and the subsequent subsections focus on the LEON processors as soft IP cores and summarise the main features of each processor version and the infrastructure with which the processor is packaged, referred to as a LEON distribution.All processors in the LEON series use the SPARC V8 reduced instruction set computer ISA. LEON2 has a five-stage pipeline while later versions have a seven-stage pipeline. LEON2 and LEON2-FT are distributed as a system-on-chip design that can be modified using a graphical configuration tool. While the LEON2 design can be extended and re-used in other designs, its structure does not emphasise re-using parts of the design as building blocks or enable designers to easily incorporate new IP cores in the design.
The standard LEON2 distribution includes the following support cores:
- Interrupt controller
- Debug support unit with trace buffer
- Two 24-bit timers
- Two universal asynchronous receiver-transmitters
- 16-bit I/O port
- Memory controller.
- 32-bit PC133 synchronous dynamic random-access memory controller
- 32-bit Peripheral Component Interconnect bridge with direct memory access
- 10/100/1000 Mbit Ethernet media access control address
- 8/16/32-bit programmable read-only memory and static random-access memory controller
- 16/32/64-bit DDR/DDR2 controllers
- Universal Serial Bus 2.0 host and device controllers
- Controller area network controller
- JTAG TAP controller
- Serial Peripheral Interface controller
- Inter-Integrated Circuit controller
- Universal asynchronous receiver-transmitter with first in, first out
- Modular timer unit
- Interrupt controller
- 32-bit general-purpose I/O port
FPGA design flow
Design flow documentation for the LEON into FPGA are available from the manufacturer and from third party resources.Terminology
The term LEON2/LEON2-FT often refers to the LEON2 system-on-chip design, which is the LEON2 processor core together with the standard set of peripherals available in the LEON2 distribution. Later processors in the LEON series are used in a wide range of designs and are therefore not as tightly coupled with a standard set of peripherals. With LEON3 and LEON4 the name typically refers to only the processor core, while LEON/GRLIB is used to refer to the complete system-on-chip design.LEON2 processor core
LEON2 has the following characteristics:- The GNU LGPL allows a high degree of freedom of intervention on the freely available source code.
- Configurability is a key feature of the project, and is achieved through the usage of VHDL generics.
- It offers all basic functions of a pipelined in-order processor.
- It is a fairly sized VHDL project
LEON2-FT processor core
The LEON2-FT processor is the single-event upset fault tolerant version of the LEON2 processor. Flip-flops are protected by triple modular redundancy and all internal and external memories are protected by EDAC or parity bits. Special licence restrictions apply to this IP. Among other satellites, the processor was used in ESA's Intermediate eXperimental Vehicle in 2015 and China's Chang'e 4 lunar lander.LEON3 processor core
The LEON3 is a synthesisable VHDL model of a 32-bit processor compliant with the SPARC V8 architecture. The model is highly configurable, and particularly suitable for system-on-a-chip designs. The full source code is available under the GNU GPL license, allowing use for any purpose without licensing fee. LEON3 is also available under a proprietary license, allowing it to be used in proprietary applications.There are several differences between the two LEON2 processor models and the LEON3. LEON3 includes SMP support and a seven-stage pipeline, while LEON2 does not support SMP and has a five-stage pipeline.
LEON3FT processor core
The LEON3FT is a fault-tolerant version of the standard LEON3 SPARC V8 Processor. It has been designed for operation in the harsh space environment, and includes functionality to detect and correct single-event upset errors in all on-chip RAM memories. The LEON3FT processor supports most of the functionality in the standard LEON3 processor, and adds the following features:- Register file SEU error-correction of up to 4 errors per 32-bit word
- Cache memory error-correction of up to 4 errors per tag or 32-bit word
- Autonomous and software transparent error handling
- No timing impact due to error detection or correction
The LEON3FT core is distributed together with a special FT version of the GRLIP IP library. Only netlist distribution is possible.
An FPGA implementation called was proposed for critical space applications., but it has been discontinued.
LEON4 processor core
In January 2010, the fourth version of the LEON processor was released. This release has the following new features:- Static branch prediction added to pipeline
- Optional level-2 cache
- 64-bit or 128-bit path to AMBA AHB interface
- Higher performance possible
- Rad hardened.