Documente Academic
Documente Profesional
Documente Cultură
Krishnakumar (KK)
Product Marketing
Programmable Solutions BU
Microsemi Corporation
© 2018 Microsemi, a wholly owned subsidiary of Microchip Technology Inc. 1
Agenda
© 2018 Microsemi 2
Microsemi Invests In The RISC-V Ecosystem
© 2018 Microsemi 3
CPUs: Mi-V Soft CPU Roadmap
Core LE’s CoreMark Cache Mul/Div Floating Point Availability
CORE_RISCV_AXI4 10K 2.01 8K I and D Yes N/A Now
Mi_V_RV32IMA_L1_AHB 10K 2.01 8K I and D Yes N/A Now
Mi_V_RV32IMAF_L1_AHB 26K 2.01 8K I and D Yes Single Precision Now
Mi_V_RV32I_AHB 4K - N/A N/A N/A Q2’18
Mi_V_RV32IMA_L1_AXI 10K 2.01 8K I and D Yes N/A Q2’18
Mi_V_RV32I_AHB Mi_V_RV32IMAFC_L1_AHB
• Small core, with debug, 4K LE’s Mi-V = Mi-V RISC-V Ecosystem
RV32I = 32 bit integer machine
M = Multiply and Divide
A = Atomic Instructions
Additional cores can be added F = Single Precision Floating Point
D = Double Precision Floating Point
based on customer demand C = Compressed Instructions
L1 = Instruction and Data Cache
AHB = AHB Bus Interface
AXI = AXI Bus Interface
© 2018 Microsemi 4
Mi-V Eclipse Based IDE
Eclipse IDE Design Flow PMOD Arduino Shield
Compiler Programmer/
JTAG Dongle
Demo/Eval Boards
Debugger
© 2018 Microsemi 5
Firmware Catalog
Version Controlled
MISRA/Netrino compliant
© 2018 Microsemi 6
Mi-V RISC-V Soft CPU RTOS Support Available Today
Open Source
• FreeRTOS
• Huawei LiteOS
• MyNewt
• Zephyr
Commercial
• Express Logic - ThreadX
• SiLabs - Micrium µC/OSIII
• Segger - embOS
© 2018 Microsemi 7
Solutions: Example Designs on Github
© 2018 Microsemi 8
Mi-V Development and Evaluation Boards
Microsemi PolarFire Splash Kit (Price $699) Future Avalanche Board (Price $179) Future RISCV Board (Price $99)
MPF300-SPLASH-KIT-ES AVMPF300TS-01 FUTUREM2GL-EVB
© 2018 Microsemi 9
HiFive Unleashed Development Platform
© 2018 Microsemi 10
Mi-V HiFive Unleashed Expansion: Advancing the Ecosystem
© 2018 Microsemi 11
PolarFire HiFive Unleashed Development Platform
Designed for
Expandability
Pre-programmed with a
ChipLink to PCIe Root
Port Bridge
© 2018 Microsemi 12
PolarFire Mi-V HiFive Unleashed Development Platform
SiFive Motherboard
JTAG
JTAG
Power
Tree
SDCard
SPI SDCard
64b+ECC
SiFive
FMC
DDR4
U500
QSPI
SPI
Flash
GMII
GbE Ethernet
RJ45
MDI
PHY Switch
© 2018 Microsemi 13
HiFive Unleashed + Unleashed Expansion Board
© 2018 Microsemi 14
Resources
Microsemi docs
• https://www.microsemi.com/hifive-unleashed-expansion-board
Sifive Docs
• https://www.sifive.com/documentation/boards/hifive-unleashed/hifive-unleashed-getting-started-
guide/
SiFive Forum
• https://forums.sifive.com/c/hifive-unleashed
© 2018 Microsemi 15
Where to Buy?
CrowdSupply – Sold-out
• https://www.crowdsupply.com/microsemi/hifive-unleashed-expansion-board
© 2018 Microsemi 16
Deep Learning using Microsemi
FPGA and RISC-V
© 2018 Microsemi 17
Inference Setup
© 2018 Microsemi 18
Deep Learning Setup
Training algorithm
Evaluate
Inference
Model Prediction
© 2018 Microsemi 19
Convolutional Neural Networks (CNNs)
© 2018 Microsemi 20
Deep Learning Model
© 2018 Microsemi 21
The Microsemi FPGAs Advantage
© 2018 Microsemi 22
CNN Complexity
© 2018 Microsemi 23
CNN Complexity Overview
5.000 30.000
25.000
4.000 3.699 3.699
20.000
3.000
15.000
2.000 1.850
9.437
10.000
1.040 6.021
1.000 4.719
5.000
0.442 1.180
0.029 0.006 0.005
0.000 0.000
1 2 3 4 5 6 7 1 2 3 4 5 6 7
Convolution layers Fully connected layers Convolution layers Fully connected layers
© 2018 Microsemi 24
INT8 Matrix Multiplication – Microsemi
Attainable performance
bounded
• Model performance to off-chip
(GOPS)
memory traffic
Design 2
𝐶𝑜𝑚𝑝𝑢𝑡𝑎𝑡𝑖𝑜𝑛𝑎𝑙 𝑟𝑜𝑜𝑓
𝐴𝑡𝑡 𝑃𝑒𝑟𝑓 = 𝑚𝑖𝑛 ቊ Design 1
𝐶𝑇𝐶 𝑟𝑎𝑡𝑖𝑜𝑛 × 𝐵𝑊
© 2018 Microsemi 26
A Scalable Solution
© 2018 Microsemi 27
Tiny YOLO v2.0 – PolarFire vs Zynq US+
mAP
(mean average 45.1 48.5
precision score)
Operating
200MHz n/a
Frequency
© 2018 Microsemi 28
Microsemi’s Advantage in Deep Learning Summary
© 2018 Microsemi 29
PolarFire Tiny Yolo Video
© 2018 Microsemi 30
Thank You
krishnakumar.r@microsemi.com
© 2018 Microsemi 31