Slide 1

Slide 1 text

The State of Open Source Processors and Open Source Silicon LibreCores Free and Open Digital Hardware Stefan Wallentowitz @ Tensilica Day 2017

Slide 2

Slide 2 text

State of Open Source Processors and Open Source Silicon 2 2017-02-16 Karen Arnold, CC0

Slide 3

Slide 3 text

State of Open Source Processors and Open Source Silicon 3 2017-02-16 Open Source Processors vs. ISAs ● Important difference: ISA vs. Implementation ● Open Instruction Set Architecture (ISA) – Define the basic interface between SW and HW – “ISAs don’t matter, ISAs do matter” (K. Asanovic) – Can have proprietary implementations – Closed ISA: Patents on parts in the ISA

Slide 4

Slide 4 text

State of Open Source Processors and Open Source Silicon 4 2017-02-16 Benefits of an Open ISA ● Innovation and broader market ● Boost open source ecosystem – Availability of hardware – Shared tools and software ecosystem ● Reduced costs ● “Real” architecture research and education ● Closed ISAs change with their companies

Slide 5

Slide 5 text

State of Open Source Processors and Open Source Silicon 5 2017-02-16 Popular Open ISAs ● Sparc V8: – 32-bit ISA by Sun (1990) – Adopted as (now inactive) IEEE 1754-1994 ● OpenRISC – Started as a student project, first release: 2000 – Active, but small community

Slide 6

Slide 6 text

State of Open Source Processors and Open Source Silicon 6 2017-02-16 RISC-V: The new star open ISA ● Started in 2010, UCB Aspire Lab ● Based on standard RISC principles ● Base standard extensions (32, 64, 128 bit) ● Integral design concept: custom extensions ● RISC-V Foundation governs the ISA – Many industry members – A lot of traction

Slide 7

Slide 7 text

Take me to the open processors! Chuck Coker via Flickr, CC BY 2.0 https://www.flickr.com/photos/caveman_92223/4016133284/

Slide 8

Slide 8 text

State of Open Source Processors and Open Source Silicon 8 2017-02-16 Open Source Processors 2000 OR1200 2005 2010 2015 OpenRISC Sparc V8 SH Open Closed T1 T2 Leon Leon2 Leon3 Leon 4 ARM V2 S1 BA12 etc. Samsung mor1kx ar100 J1 J2 Amber OR1ON lm32

Slide 9

Slide 9 text

State of Open Source Processors and Open Source Silicon 9 2017-02-16 RISC-V Processors 2015 RI5CY SHAKTI Rocket BOOM picorv32 Open Closed CORE_RISCV uRV OPA z-Scale SHAKTI SHAKTI HWACHA Open-V Sodor Sodor Sodor GRVI SCRx NV RISC-V riscy

Slide 10

Slide 10 text

State of Open Source Processors and Open Source Silicon 10 2017-02-16 LowRISC: An open RISC-V SoC ● Not-for-profit, since 2014 ● “Linux of the Hardware World” ● Goal: Produce entirely open SoC, high-quality, secure base for derived works ● Features: – Tagged memory – Minion cores ● Three releases so far, next in March ● Other activities: RISC-V LLVM

Slide 11

Slide 11 text

State of Open Source Processors and Open Source Silicon 11 2017-02-16 Free and Open Source Silicon ● Hardware was open in the beginning, but – Dense integration into single chips – It has become a critical, expensive venture ● Uprising of “Open Source Digital Design” – First significant wave with opencores.org – FPGAs are probably the key enabler – Recently: many open source hardware projects ● But: Development of open source “IP” still in its very beginning, learn from software and makers

Slide 12

Slide 12 text

Screenshot from Mentor Graphics HDL Designer v2016.1 (own work) When I think of hardware development...

Slide 13

Slide 13 text

Photo by VFS Digital Design via Flickr, CC-BY 2.0 https://www.flickr.com/photos/vfsdigitaldesign/5396691102 How can we improve that, especially for FOSSi?

Slide 14

Slide 14 text

State of Open Source Processors and Open Source Silicon 14 2017-02-16 FOSSi Foundation ● Non-profit organization – Started from OpenRISC community – Not happy with stagnation of opencores.org – Goal: Advance “Free and Open Source Silicon” ● Three main activities of FOSSi – Community hub LibreCores.org – Licensing – Community Involvement, Conference

Slide 15

Slide 15 text

What can we learn from software development – and what not? 15 2017-02-05 Kevin Dooley via Flickr, CC BY 2.0 https://www.flickr.com/photos/pagedooley/8435953365 We need more collaboration!

Slide 16

Slide 16 text

Say Hello to LibreCores!

Slide 17

Slide 17 text

State of Open Source Processors and Open Source Silicon 17 2017-02-16 LibreCores Status & Plans ● Heavy development, currently basic features – We don’t host code, others do that better – Present metadata around your core ● Focus is on trust, collaboration, integration ● Plans for 2017: – Quality Metrics (machine-/community-generated) – API-Integration with package managers – Extensive tutorials and best-practices (How to host, publish, license, etc.)

Slide 18

Slide 18 text

State of Open Source Processors and Open Source Silicon 18 2017-02-16 LibreCores Continuous Integration Jenkins logo: CC BY-SA 3.0 jenkins.io Code Repository FPGA board: Sparkfun CC BY-NC-SA 3.0 You LibreCores CI Simulation Nodes FPGA Agents

Slide 19

Slide 19 text

verkeorg via Flickr, CC BY-SA 2.0 https://www.flickr.com/photos/verkeorg/25102323896/ The inevitable topic

Slide 20

Slide 20 text

State of Open Source Processors and Open Source Silicon 20 2017-02-16 Licensing ● Area of most confusion ● FOSSi Foundation licensing committee ● Publish articles about license choices ● Roadmap 2017: Three recommendations – Permissive license: Solderpad License – Weak copyleft: GPL+?, OHDL – Strong copyleft: GPL+?, CERN OHL

Slide 21

Slide 21 text

State of Open Source Processors and Open Source Silicon 21 2017-02-16 Community Events ● Upcoming: Open Silicon and RISC-V – Munich, 23 March, 2017 – Krste Asanovic, UC Berkeley: RISC-V – Rob Mullins, Alex Bradbury, Uni Cambridge: lowRISC – Me: FOSSi Foundation ● Highlight: Our annual conference: ORCONF – Started as OpenRISC meeting in 2012 – Open source digital designs and ecosystem, open source EDA – Cambridge 2013 (25 people), Munich 2014 (35), Geneva 2015 (90 people), Bologna 2016 (120 people)

Slide 22

Slide 22 text

State of Open Source Processors and Open Source Silicon 22 2017-02-16 Rochdale Canal at Hebden Bridge. Poliphilo via Wikimedia Commons, CC0 Isn’t that a picturesque place?

Slide 23

Slide 23 text

ORConf 2017 Hebden Bridge, UK September 8 – 10, 2017 www.orconf.org www.orconf.org Part of Wuthering Bytes Festival

Slide 24

Slide 24 text

me Stefan Wallentowitz [email protected] let's talk! FOSSi Foundation [email protected] www.fossi-foundation.org #librecores on freenode You can freely remix this presentation under the terms of the Creative Commons BY-SA 4.0 license. Find the slides at: https://speakerdeck.com/wallento