digital hardware design why is it still so hard
play

Digital Hardware Design Why is it still so hard? Philipp Wagner - PowerPoint PPT Presentation

Digital Hardware Design Why is it still so hard? Philipp Wagner The story of Ton Lear FOSDEM 2016 Digital Hardware Design Why is it still so hard? The story of Not Real Ton Lear FOSDEM 2016 Digital Hardware Design Why is it still


  1. Digital Hardware Design Why is it still so hard? Philipp Wagner

  2. The story of Ton Lear FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  3. The story of Not Real Ton Lear FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  4. What's the difference? Digital Hardware Design maker Free and Open Source Silicon (FOSSi) open (source) hardware FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  5. FOSSi Reality Check 1 The Simulation Check FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  6. Simulation: Required Ingredients ● code to simulate ● a simulator ● testing FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  7. Write your code ● Choose from the incumbents – Verilog/SystemVerilog – VHDL ● or one of the new contenders – Bluespec SystemVerilog – Chisel (UC Berkely) – MyHDL FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  8. Simulation ● The “big 3” commercial simulators – Incisive Enterprise Simulator/ NCSim (Cadence) – ModelSim (Mentor) – VCS (Synopsys) ● FOSS solutions – Icarus Verilog – GHDL – Verilator ● Add a good waveform viewer – gtkview FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  9. Testing & Verifjcation ● cocotb: Python-based test ● vunit: VHDL unit testing ● Open Source VHDL Verifjcation Methodology (OS-VVM) FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  10. “The Simulation Check”: Results ● Hobbyist-Accessibility-Score: 4/5 ● FOSS score: 4/5 ● Fun score: 2/5 FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  11. FOSSi Reality Check 2 The FPGA Check FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  12. FPGA Design: Required Ingredients ● code to simulate ● a simulator ● testing ● a synthesis tool ● an implementation tool ● an FPGA board FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  13. FPGA Synthesis ● Commercial – Synopsys Synplify – vendor tools (Xilinx, Altera, …) ● free alternatives – Verilog-to-Routing (VTR) – Yosys FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  14. FPGA Implementation ● Mostly vendor tools – Xilinx ISE/Vivado, Altera Quartus, … ● free alternatives – IceStorm for Lattice iCE40 watch Clifford's presentation in the EDA Devroom today at 14:00 FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  15. FPGA Boards: student (< 100 $) iCEstick $20 Artix-7 35T 1280 cells DE0-Nano $99 $79 33,280 cells 22,320 cells All board pictures (c) by the manufacturers. FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  16. FPGA Boards: amateur (~ 500 $) Nexys 4 DDR Altera DE2-115 ZTEX 2.1x All board pictures (c) by the manufacturers. FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  17. FPGA Board: pro (> 1000 $) Xilinx KC705 Altera Cyclone V SoC Development Kit Xilinx VC707 All board pictures (c) by the manufacturers. FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  18. “The FPGA Check”: Results ● Hobbyist-Accessibility-Score: 3/5 ● FOSS score: 2/5 ● Fun score: 4/5 FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  19. FOSSi Reality Check 3 The ASIC Check FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  20. ASIC Production: Required Ingredients ● code to simulate ● a simulator ● a synthesis tool ● really good testing & verifjcation ● a design kit ● an implementation tool ● money FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  21. The Design Kit ● standard cell libraries, design rules, electrical parameters, ... ● get it from the foundry ● bad: requires pretty tough NDA ● good: it's usually for free (again, as in beer) FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  22. ASIC Implementation ● Commercial options – Synopsys Design Compiler – Cadence Encounter Toolset ● FOSS options – qfmow – Coriolis2 FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  23. Got Money? [[user:]] via Wikimedia Commons, CC BY-SA FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  24. Need Money ● Multi-Project Wafer – available from multiple vendors, e.g. Europractice – example ● 50 pcs Globalfoundries 40 nm ● 4 750 €/mm² (at least 9 mm² = 42 750 €) + packaging, etc. ● up to 1500 KGates/mm² – cheaper in older technologies (65nm + up) ● eASIC – pre-characterized ASICs “confjgured” with one custom layer FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  25. “The ASIC Check”: Results ● Hobbyist-Accessibility-Score: 0.1/5 ● FOSS score: 1/5 ● Fun score: 1-5/5 ● Satisfaction score: 10/5 let's do it anyways? FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  26. Don't celebrate alone. Picture by WeI-chieh Chiu (fmickr), CC BY-SA FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  27. Join the party! The bachelor party. Signed Louis Wain. Oil on canvas, 29.5 x 60 cm (public domain, via Wikimedia Commons) FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  28. FOSSi Reality Check 4 The Community Check FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  29. Required ingredients ● Let others participate ● Build on existing work ● Learn, teach and exchange ideas FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  30. How to live together? photo by Prskavka (Wikimedia Commons), public domain FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  31. Let others participate, part 1: choose a license ● Permissive ● Weak Copyleft ● Strong Copyleft FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  32. Licensing: Permissive ● without patent clause – MIT and BSD widely used – example project: RISC V ● with patent clause – new: SolderPad License by Andrew Katz FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  33. Licensing: Weak Copyleft ● File-based copyleft – OHDL: Julius Baxter for mor1kx, based on MPLv2 ● library copyleft – LGPL ● commonly used on opencores.org ● what's “linking” in a hardware context? FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  34. Licensing: Strong Copyleft ● GPL – GPLv3 uses “hardware-friendly” language ● lesson learned from open sourcing SPARC – example user: Gaisler LEON3 (GPLv2+) – implications not fully understood ● ASIC (design kit)? ● FPGA (built-in primitives)? FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  35. OpenCores.org photo by Andre Glechikoff (Flickr), CC BY-SA FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  36. Community hub needed ● publish your work ● fjnd code to re-use ● learn, teach, inspire FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  37. Introducing LibreCores FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  38. LibreCores Goals ● Documentation – How to get started? – Best practices – Success stories ● News & Discussion – Planet LibreCores ● Project repository – a directory of FOSSi projects – with quality indicators FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  39. LibreCores: Where are we today? ● Documentation First content online as of today – How to get started? – Best practices – Success stories ● News & Discussion online! – Planet LibreCores ● Project repository coming soon – a directory of FOSSi projects – with quality indicators FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  40. Who's behind all that? ● OpenRISC community ● Group formed ~2 years ago ● First plans presented at ORCONF 2015 at CERN ● since end of 2015: FOSSi Foundation, CiC (UK) to provide shared legal entity FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  41. So: Why is it still so hard? ● you can do your own simulated and FPGA design today! ● producing ASICs will remain a challenge But mostly: It's hard because information is hard to fjnd. LibreCores is ready to change that. Join us! FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  42. Peter Falk (by Sten), photo by Emanuele (fmickr), CC BY-SA Oh, just one Oh, just one more thing more thing FOSDEM 2016 Digital Hardware Design – Why is it still so hard?

  43. TheOpenCorps!

  44. TheOpenCorps: Goals ⚫ Provide status indications for HW projects ◦ Does it build? ◦ Does it have sims / do they pass? ◦ Resource utilisation and frequency ⚫ Improve quality of Open Source HW ⚫ Encourage re-use in Open Source HW ⚫ Free access to proprietary tools

  45. TheOpenCorps: Flow ⚫ Code hosted on Github ⚫ Describe build using .opencorps.yml ⚫ Develop! ⚫ For each commit: ◦ Simulation regression ◦ Synthesis on multiple platforms ⚫ Report status

  46. @TheOpenCorps http://potential.ventures

  47. let's talk! FOSSi Foundation me discussion@fossi-foundation.org Philipp Wagner www.fossi-foundation.org mail@philipp-wagner.com #fossi on freenode www.philipp-wagner.com You can freely remix this presentation under the terms of the Creative Commons BY-SA 4.0 license.

Recommend


More recommend