the state of open source processors and open …...2017-02-16 state of open source processors and...

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

Upload: others

Post on 04-Jun-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

The State of Open Source Processorsand Open Source Silicon

LibreCoresFree and Open

Digital Hardware

Stefan Wallentowitz @ Tensilica Day 2017

Page 2: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 22017-02-16

Kare

n Ar

nold

, CC0

Page 3: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 32017-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

Page 4: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 42017-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

Page 5: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 52017-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

Page 6: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 62017-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

Page 7: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

Take me to the open processors!

Chuck Coker via Flickr, CC BY 2.0https://www.flickr.com/photos/caveman_92223/4016133284/

Page 8: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 82017-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

Page 9: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 92017-02-16

RISC-V Processors

2015

RI5CY

SHAKTI

Rocket

BOOM

picorv32

Open

Closed

CORE_RISCV

uRVOPA

z-Scale

SHAKTISHAKTI

HWACHA

Open-V

SodorSodorSodor

GRVI

SCRxNV RISC-V

riscy

Page 10: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 102017-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

Page 11: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 112017-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

Page 12: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

Screenshot from Mentor Graphics HDL Designer v2016.1 (own work)

When I think of hardware development...

Page 13: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

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?

Page 14: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 142017-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

Page 15: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

What can we learn from software development – and what not? 152017-02-05Kevin Dooley via Flickr, CC BY 2.0

https://www.flickr.com/photos/pagedooley/8435953365

We need more collaboration!

Page 16: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

Say Hello to LibreCores!

Page 17: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 172017-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.)

Page 18: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 182017-02-16

LibreCores Continuous Integration

Jenk

ins

logo

: CC

BY-S

A 3.

0 je

nkin

s.io

Code Repository

FPG

A bo

ard:

Spa

rkfu

n CC

BY-

NC-

SA 3

.0

You

LibreCores CI

SimulationNodes

FPGA Agents

Page 19: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

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

The inevitable topic

Page 20: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 202017-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

Page 21: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 212017-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)

Page 22: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

State of Open Source Processors and Open Source Silicon 222017-02-16Rochdale Canal at Hebden Bridge. Poliphilo via Wikimedia Commons, CC0

Isn’t that a picturesque place?

Page 23: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

ORConf 2017

Hebden Bridge, UK

September 8 – 10, 2017www.orconf.orgwww.orconf.org

Part of Wuthering Bytes Festival

Page 24: The State of Open Source Processors and Open …...2017-02-16 State of Open Source Processors and Open Source Silicon 11 Free and Open Source Silicon Hardware was open in the beginning,

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