\frame{\frametitle{Credits and Acknowledgements}
\begin{itemize}
- \item The Designers of RISC-V\vspace{8pt}
- \item The RISC-V Foundation\vspace{8pt}
- \item The Shakti Group, and IIT Madras RISE Group\vspace{8pt}
- \item Prof. G S Madhusudan\vspace{8pt}
- \item Neel Gala\vspace{8pt}
- \item Rishabh Jain\vspace{8pt}
- \item Members of the RISC-V Open Groups (SW/HW/ISA)\vspace{8pt}
+ \item The Designers of RISC-V
+ \item The RISC-V Foundation
+ \item The Shakti Group, and IIT Madras RISE Group
+ \item Prof. G S Madhusudan
+ \item Neel Gala
+ \item Rishabh Jain
+ \item Members of the RISC-V Open Groups (SW/HW/ISA)
\item Libre and Open Software and Hardware Communities
+ \item Richard Herveille (RoaLogic), Edmund Humenberger, Clifford Wolf
+ (Symbiotica EDA), Rudi (Asics.ws), Enjoy-Digital.fr,
+ Alex Forenchich, LowRISC Team
+ \item Anonymous Sponsor
\end{itemize}
}
\begin{itemize}
\item Customer entrapment (through proprietary software).\\
Strong business case for not entrapping customers:\\
- https://tinyurl.com/most-productive-meeting-ever
+ \url{https://tinyurl.com/most-productive-meeting-ever}
\item Funding, endorsing, supporting or empowering unethical
Companies, Organisations, Cartels and Individuals.\\
(cf: definition of an ethical act).
to be met: it's no good being an idiot about that. e.g. if
a Libre 3D GPU really can't be made, use Vivante GC800
(with etnaviv).
+ \item Spying back-door co-processors a no-no. Sovereignty
+ is critical. Russia has Baikal. China has Loongson.
+
\end{itemize}
{\it Still no real show-stoppers to making money (or product):
it's just slightly harder, that's all. Ultimately it's about
\begin{itemize}
\item DDR3/4: challenging! \$1m for single-use, single instance.\\
Symbiotic EDA: \$600k for PHY; CERN developed a Controller\\
- http://libre-riscv.org/shakti/m\_class/DDR/
+ \url{http://libre-riscv.org/shakti/m_class/DDR/}
\item HyperRAM (JEDEC xSPI): lower risk than DDR3/4\\
- http://libre-riscv.org/shakti/m\_class/HyperRAM/
+ \url{http://libre-riscv.org/shakti/m_class/HyperRAM/}
\item RGMII: several available (saves \$50k)\\
- http://libre-riscv.org/shakti/m\_class/RGMII/
+ \url{http://libre-riscv.org/shakti/m_class/RGMII/}
\item UART, SPI, I2C, PWM, SD/MMC: all libre (except eMMC).
\item Shakti Group has FlexBus, QuadSPI, SRAM, many more.
\item RGB/TTL: R. Herveille (SSD2828, SN75LVDS83b, TFP410a)
{\it Silicon-proven but still risky. What are the alternatives?}
\vspace{4pt}
\begin{itemize}
- \item 133mhz 32-bit SDRAM (um...) maybe even FlexBus?
+ \item FlexBus/SDRAM (low clock, lots of pins, single-data-rate).
\item HyperRAM (aka JEDEC xSPI) 8-bit SPI 166mhz or DDR-300.\\
300mbyte/sec for only 13 wires, not bad! (We'll take several)\\
- http://libre-riscv.org/shakti/m\_class/HyperRAM/
+ \url{http://libre-riscv.org/shakti/m_class/HyperRAM/}
\item HMC: insanely fast, very low power. OpenHMC (LGPL)
- https://opencores.org/project/openhmc
+ \url{https://opencores.org/project/openhmc}
\end{itemize}
}
\item H.264 seems to have been done...\\
https://github.com/adsc-hls/synthesizable\_h264
\item Really needs SIMD (or better, not-SIMD)\\
- {http://libre-riscv.org/simple\_v\_extension/}
+ \url{http://libre-riscv.org/simple_v_extension/}
\item Definitely needs xBitManip (parallelised by Simple-V)\\
- https://github.com/cliffordwolf/xbitmanip
+ \url{https://github.com/cliffordwolf/xbitmanip}
\end{itemize}
{\it SIMD is insane. $O(N^6)$ opcode proliferation. See\\
https://www.sigarch.org/simd-instructions-considered-harmful/ \\
\item Each core needs independent variable-voltage capability
and independent shut-down (PMIC supplies external voltage)
\item DDR RAM still needs refreshing (even in sleep mode)
- \item Extra RV32 (PicoRV32?) always-on core for wake-up / RTC?
+ \item Extra RV32 (PicoRV32?) always-on core for wake-up / RTC
\item PLLs are Analog. fun fun fun in the sun sun sun...
\end{itemize}
{\it Really need help. PLLs, Analog stuff: specific
- domain expertise. Fall-back example:
- https://www.dolphin-integration.com?
- }
+ domain expertise. Fall-back example:}
+ \url{https://www.dolphin-integration.com}?
+
}
\begin{itemize}
\item Actual requirements quite modest: 30MP/s 100MT/s 5GFLOPS
- but power/area is crucial ($2mm^2$ @ 40nm)
+ but power/area is crucial ($2mm^2$ @ 40nm, 1W)
\item Nyuzi, MIAOW, GPLGPU (Number Nine), OGP.
\item Nyuzi based on Larrabee. Jeff Bush really helpful.
\item MIAOW is an OpenCL engine. GPLGPU is fixed-function
}
-\frame{\frametitle{Challenging Stuff [5] - Custom Extensions}
+\frame{\frametitle{Challenging Stuff [5] - Public Custom Extensions}
\begin{itemize}
\item GPUs are usually done with incompatible ISAs and effectively
doing OpenGL over IPC / RPC (Remote Procedure Calls)
- \item Much simpler: GPGPU approach. Custom-extend the
- main core ISA to handle 3D, and accelerate
- Gallium3D-LLVM.
- \item Now add Video Extensions. and SIMD. and, and, and...\\
- {\bf we are well beyond the 2 32-bit custom opcodes}
+ \item Much simpler: GPGPU "one ISA" approach. Custom-extend the
+ core ISA to handle 3D, use Gallium3D-LLVM.
+ \item Now add Video Extensions. and SIMD etc and
+ {\bf we are well beyond the only 2 available 32-bit custom opcodes}
\item Due to the Libre nature of this project, the custom opcode
space will be "dominated" by
high-profile public hard-forks of gcc, binutils, llvm etc.
Which isn't going to go down well.
- \item Instruction-set "Conflict Resolution" is therefore critical\\
- http://libre-riscv.org/isa\_conflict\_resolution/
+ \item ISA "Conflict Resolution" is therefore absolutely critical\\
+ \url{http://libre-riscv.org/isa_conflict_resolution/}
\end{itemize}
- {\it Remember Altivec. Learn from Intel. This is everyone's problem.
+ {\it Remember Altivec. Learn from Intel.
+ \underline{This is everyone's problem.}
}
}
+\frame{\frametitle{Interesting Missing Stuff [1] - Pinmux}
+
+ \begin{itemize}
+ \item Pinmux: multiplexer of functions onto pins\\
+ {\it DRAM Cell != DDR3/4, Mux Cell != Muxer}
+ \item Strategically extremely important to Commercial SoC success\\
+ STMicro, Rockchip, Freescale, Samsung, TI, {\bf EVERYONE}
+ \item Bizarrely, a libre-licensed multi-way Pinmux doesn't exist.\\
+ {\it not on anyone's radar. at all.}
+ SiFive IOF not enough.
+ \item Verification (scenario analysis) and auto-generation of
+ TRM, header files, device-tree files, pretty much everything
+ makes sense (to any "lazy" Software Engineer...)
+ \item Corporations with legacy pinmux unlikely to be interested.
+ \item \url{http://git.libre-riscv.org/?p=pinmux.git} \\
+ \url{http://hands.com/~lkcl/pinmux\_chennai\_2018.pdf}
+ \end{itemize}
+}
+
+
+\frame{\frametitle{Interesting Missing Stuff [2] - AC97/I2S, USB2 PHY}
+
+
+\begin{itemize}
+ \item Rudi (Asics.ws) donating time to create a Multi-Protocol
+ Audio Controller: AC97, PCM, PDM, I2S\\
+ \url{http://libre-riscv.org/shakti/m_class/AC97/}
+ \item USB2 is... convoluted. UTMI-ULPI-USB2 PHY\\
+ USB2-PHY not confirmed (Rudi has one)\\
+ Also Rudi has DDR (8-pin) variant of ULPI
+ \url{http://libre-riscv.org/shakti/m_class/ULPI/}
+ \item USB3 not necessarily a good idea to put into Libre-RISCV\\
+ Daisho USB3 Pipe exists, TUSB1310a PHY is 175 pin FBGA!
+ \item Libre SD/MMC typically at "Open" Level 20MB/sec appx.
+ Full spec and eMMC requires membership.
+ \end{itemize}
+}
+
+
\frame{\frametitle{TODO}
\begin{itemize}
\item Shakti Group know the benefits (cost, sovereignty) of a Libre
Mobile-Class SoC as well (No spying on India citizens!)
\item A Libre GPU, even a modest performer (100T/s etc.)
- is the biggest technical risk/unknown (besides DDR3/4).\\
+ is the biggest technical risk/unknown, besides DDR3/4.\\
(fall-back is GC800. Do please help with a Libre GPU!)
\item DDR3/4 and eMMC are the main high-risk interfaces\\
(there are fall-back strategies in place)
\begin{itemize}
\item Contact: lkcl@lkcl.net
- \item http://libre-riscv.org/shakti/m\_class/
+ \item \url{http://libre-riscv.org/shakti/m_class/}
\end{itemize}
}