OpenRISC

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
OpenRISC
DesignerDamjan Lampret, with contributions from OpenRISC community members
Bits32-bit, 64-bit
Introduced2000
DesignRISC
EncodingFixed
EndiannessBig (unimplemented stub for Little)
OpenYes
Registers
General purpose16 or 32
Floating pointOptional

OpenRISC is a project to develop a series of open-source hardware based central processing units (CPUs) on established reduced instruction set computing (RISC) principles. It includes an instruction set architecture (ISA) using an open-source license. It is the original flagship project of the OpenCores community.

The first (and currently only) architectural description is for the OpenRISC 1000, describing a family of 32- and 64-bit processors with optional floating point and vector processing support,[1] and the OpenRISC 1200 implementation of this was designed by Damjan Lampret in 2000, written in the Verilog hardware description language (HDL).[2][3]

The hardware design was released under the GNU Lesser General Public License (LGPL), while the models and firmware were released under the GNU General Public License (GPL).

A reference system on a chip (SoC) implementation based on the OpenRISC 1200 was developed, named the OpenRISC Reference Platform System-on-Chip (ORPSoC). Several groups have demonstrated ORPSoC and other OR1200 based designs running on field-programmable gate arrays (FPGAs),[4][5] and there have been several commercial derivatives produced.

Instruction set[edit]

The instruction set is a reasonably simple MIPS architecture-like traditional RISC using a 3-operand load-store architecture, with 16 or 32 general-purpose registers and a fixed 32-bit instruction length. The instruction set is mostly identical between the 32- and 64-bit versions of the specification, the main difference being the register width (32 or 64 bits) and page table layout. The OpenRISC specification includes all features common to modern desktop and server processors: a supervisor mode and virtual memory system, optional read, write, and execute control for memory pages, and instructions for synchronizing and interrupt handling between multiple processors.

Another notable feature is a rich set of single instruction, multiple data (SIMD) instructions intended for digital signal processing.

Implementations[edit]

OpenRISC prototyped on Flextronics (Flex) FPGA dev board, running uClinux

Most implementations are on field-programmable gate arrays (FPGAs) which give the possibility to iterate on the design at the cost of performance.

As the OpenRISC 1000 is now considered stable, ORSoC (owner of OpenCores) launched a crowd-funding project trying to build a cost-efficient application-specific integrated circuit (ASIC) to get improved performance. ORSoC faced criticism for this from the community.[citation needed] The project never reached the goal.

As of April 2017, no open-source ASIC had been produced.

Commercial implementations[edit]

Several commercial organizations have developed derivatives of the OpenRISC 1000 architecture, including the ORC32-1208 from ORSoC and the BA12, BA14, and BA22 from Beyond Semiconductor. Dynalith Systems provide the iNCITE FPGA prototyping board, which can run both the OpenRISC 1000 and BA12. Flextronics (Flex) and Jennic Limited manufactured the OpenRISC as part of an application-specific integrated circuit (ASIC). Samsung uses the OpenRISC 1000 in their DTV system-on-chips (SDP83 B-Series, SDP92 C-Series, SDP1001/SDP1002 D-Series, SDP1103/SDP1106 E-Series).[6] Allwinner Technology are reported to use an OpenRISC core in their AR100 power controller, which forms part of the A31 ARM-based SoC.[7]

Cadence Design Systems have begun using OpenRISC as a reference architecture in documenting tool chain flows (for example the UVM reference flow, now contributed to Accellera).[8]

TechEdSat, the first NASA OpenRISC architecture based Linux computer launched in July 2012, and was deployed in October 2012 to the International Space Station with hardware provided, built, and tested by ÅAC Microtec and ÅAC Microtec North America.[9][10][11]

Academic and non-commercial use[edit]

Being open source, OpenRISC has proved popular in academic and hobbyist circles. For example, Stefan Wallentowitz and his team at the Institute for Integrated Systems at the Technische Universität München have used OpenRISC in research into multi-core processor architectures.[12] The Open Source Hardware User Group (OSHUG) in the UK has on two occasions[13][14] run sessions on OpenRISC, while hobbyist Sven-Åke Andersson has written a comprehensive blog on OpenRISC for beginners,[15] which attracted the interest of Electronic Engineering Times (EE Times).[16] Sebastian Macke has implemented jor1k, an OpenRISC 1000 emulator in JavaScript, running Linux with X Window System and Wayland support.[17]

Toolchain support[edit]

The OpenRISC community have ported the GNU toolchain to OpenRISC to support development in the programming languages C and C++. Using this toolchain the newlib, uClibc, musl (as of release 1.1.4), and glibc libraries have been ported to the processor. Dynalith provides OpenIDEA, a graphical integrated development environment (IDE) based on this toolchain. A project to port LLVM to the OpenRISC 1000 architecture began in early 2012.[18]

The OR1K project provides an instruction set simulator, or1ksim. The flagship implementation, the OR1200, is a register-transfer level (RTL) model in Verilog HDL, from which a SystemC-based cycle-accurate model can be built in ORPSoC. A high speed model of the OpenRISC 1200 is also available through the Open Virtual Platforms (OVP) initiative (see OVPsim), set up by Imperas.

Operating system support[edit]

Linux support[edit]

The mainline Linux kernel gained support for OpenRISC in version 3.1.[19] The implementation merged in this release is the 32-bit OpenRISC 1000 family (or1k).[20] Formerly OpenRISC 1000 architecture, it has been superseded by the mainline port.

RTOS support[edit]

Several real-time operating systems (RTOS) have been ported to OpenRISC, including RTEMS, FreeRTOS, and eCos.

QEMU support[edit]

Since version 1.2 [21] QEMU supports emulating OpenRISC platforms.

See also[edit]

References[edit]

  1. ^ Lampret, Damjan; et al. (2012-12-05). "OpenRISC 1000 Architecture Manual, Architecture Version 1.0, Document Revision 0" (PDF). OpenCores. Retrieved 2019-03-24.
  2. ^ Clarke, Peter (2000-02-28). "Free 32-bit processor core hits the Net". Electronic Engineering Times (EE Times). San Francisco, California, United States: AspenCore Media. Retrieved 2019-03-21.
  3. ^ Clarke, Peter (2000-02-28). "Free 32-bit processor core hits the Internet". Electronic Engineering Times (EE Times). AspenCore Media. Retrieved 2019-03-21 – via Damjan Lampret.
  4. ^ Pelgrims, Patrick; Tierens, Tom; Driessens, Dries (2004). "Basic Custom OpenRISC System Hardware Tutorial: Embedded system design based upon Soft- and Hardcore FPGAs" (PDF). De Nayer Instituut. 1.0. Archived from the original (PDF) on 2006-11-27. Retrieved 2009-03-03.
  5. ^ Li, Xiang; Zuo, Lin. Open source embedded platform based on OpenRISC and DE2-70 (Masters). KTH Royal Institute of Technology (KTH), Sweden., SoC program
  6. ^ Samsung Open Source Release Center, follow the links → TV & VIDEO → TV → DTV → ETC → OR1200.zip
  7. ^ Linux-sunxi project community wiki page on the AR100 controller. Retrieved on 20 July 2013.
  8. ^ UVM Reference Flow, Accellera website (undated).
  9. ^ Post to the openrisc mailing lists at lists.openrisc.net on 8 April 2012 by Fredrick Bruhn, CEO of ÅAC Microtec
  10. ^ "Swedish breakthrough in space on NASA satellite with electronics from ÅAC Microtec". ÅAC Microtec (Press release). 2012-10-11.
  11. ^ "Svenskt genombrott i rymden på NASA-satellit med elektronik från ÅAC Microtec" [Swedish breakthrough in space on NASA satellite with electronics from ÅAC Microtec] (Press release) (in Swedish). 2012-10-11. Archived from the original on 2012-10-16. Retrieved 2018-03-16 – via Mynewsdesk.
  12. ^ Wallentowitz, Stefan; Wild, Thomas; Herkersdorf, Andreas. "Multicore Architecture and Programming Model Co-Optimization (MAPCO)" (PDF) (Research poster at the Sixth International Summer School on Advanced Computer Architecture and Compilation for High-Performance and Embedded Systems (ACACES), 11-17 July 2010). Terrassa (Barcelona), Spain. Archived (PDF) from the original on 2013-02-10. Retrieved 2018-10-29.
  13. ^ Chips (Programmable Logic, Computer Conservation with FPGAs, OpenCores & OpenRISC 1000). OSHUG meeting #9, Skills Matter, 116-120 Goswell Road, London, 21 April 2011.
  14. ^ Practical System-on-Chip (Program your own open source FPGA SoC). OSHUG meeting #17, Centre for Creative Collaboration, 16 Acton Street, London, 29 March 2012.
  15. ^ OpenRISC 1200 soft processor. Blog post by Sven-Åke Andersson, 2 March 2012.
  16. ^ Maxfield, Clive (2012-05-03). "Comparing four 32-bit soft processor cores". Electronic Engineering Times (EE Times). San Francisco, California, United States: AspenCore Media. Retrieved 2019-03-21.
  17. ^ OpenRISC Emulator in JavaScript Can Run Wayland
  18. ^ "llvm-or1k". GitHub. 2018-04-06. Retrieved 2019-03-21.
  19. ^ "git.kernel.org - linux/kernel/git/torvalds/linux-2.6.git/tree - arch/openrisc/". git.kernel.org. Archived from the original on 2012-07-08. Retrieved 2011-10-17.
  20. ^ "Linux 3.1". Kernel Newbies. Retrieved 2011-10-17.
  21. ^ QEMU Changelog 1.2

External links[edit]