RISC-V based core as a soft processor in FPGAs Chowdhary Musunuri Sr. Director, Solutions & Applications Microsemi

Similar documents
RISC-V Core IP Products

HB0801 MiV_RV32IMAF_L1_AHB V2.0 Handbook

The Nios II Family of Configurable Soft-core Processors

Agile Hardware Design: Building Chips with Small Teams

Mi-V RISC-V Ecosystem

SiFive FE310-G000 Manual c SiFive, Inc.

SoC Platforms and CPU Cores

HB0761 CoreRISCV_AXI4 v2.0 Handbook

Veloce2 the Enterprise Verification Platform. Simon Chen Emulation Business Development Director Mentor Graphics

Running a Linux-Capable Open Source Soft SoC on the Avalanche Board with MicroSemi PolarFire FPGA

Accelerating the RISC-V Revolution: Unleashing Custom Silicon with Revolutionary Design Platforms and Custom Accelerators

NVIDIA'S DEEP LEARNING ACCELERATOR MEETS SIFIVE'S FREEDOM PLATFORM. Frans Sijstermans (NVIDIA) & Yunsup Lee (SiFive)

Does FPGA-based prototyping really have to be this difficult?

SiFive Freedom SoCs: Industry s First Open-Source RISC-V Chips

Free Chips Project: a nonprofit for hosting opensource RISC-V implementations, tools, code. Yunsup Lee SiFive

Digital Control for Space Power Management Devices

Zynq-7000 All Programmable SoC Product Overview

How to Efficiently Implement Flexible and Full-Featured Digital Radio Solutions Using All Programmable SoCs

ARM Processors for Embedded Applications

Overview of Microcontroller and Embedded Systems

Lecture 5: Computing Platforms. Asbjørn Djupdal ARM Norway, IDI NTNU 2013 TDT

Copyright 2016 Xilinx

AT-501 Cortex-A5 System On Module Product Brief

UG0725 User Guide PolarFire FPGA Device Power-Up and Resets

Evaluating SiFive RISC- V Core IP

ECE 448 Lecture 15. Overview of Embedded SoC Systems

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to SDR Memory User s Guide

Microsemi Secured Connectivity FPGAs

Performance Optimization for an ARM Cortex-A53 System Using Software Workloads and Cycle Accurate Models. Jason Andrews

Fujitsu System Applications Support. Fujitsu Microelectronics America, Inc. 02/02

FPGA Adaptive Software Debug and Performance Analysis

Cycle Approximate Simulation of RISC-V Processors

A Closer Look at the Epiphany IV 28nm 64 core Coprocessor. Andreas Olofsson PEGPUM 2013

Spatial Debug & Debug without re-programming in Microsemi FPGAs

Tile Processor (TILEPro64)

Introduction to ARM LPC2148 Microcontroller

Bluespec s RISC-V Factory

IGLOO2 Evaluation Kit Webinar

footprint Ways to reduce RISC-V soft processor 万瑞罡 (Ruigang Wan) Chengdu University GitHub account: rgwan

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

WS_CCESBF7-OUT-v1.00.doc Page 1 of 8

ECE 471 Embedded Systems Lecture 2

Design Choices for FPGA-based SoCs When Adding a SATA Storage }

PRODUCT PREVIEW TNETV1050 IP PHONE PROCESSOR. description

Extending Fixed Subsystems at the TLM Level: Experiences from the FPGA World

DoCD IP Core. DCD on Chip Debug System v. 6.02

NVM PCIe Networked Flash Storage

Test and Verification Solutions. ARM Based SOC Design and Verification

EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG

PRU Hardware Overview. Building Blocks for PRU Development: Module 1

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Speeding AM335x Programmable Realtime Unit (PRU) Application Development Through Improved Debug Tools

Military Grade SmartFusion Customizable System-on-Chip (csoc)

Practical Hardware Debugging: Quick Notes On How to Simulate Altera s Nios II Multiprocessor Systems Using Mentor Graphics ModelSim

Basic Components of Digital Computer

REVOLUTIONIZING THE COMPUTING LANDSCAPE AND BEYOND.

An NVMe-based Offload Engine for Storage Acceleration Sean Gibb, Eideticom Stephen Bates, Raithlin

Designing with Nios II Processor for Hardware Engineers

Rad-Hard Microcontroller For Space Applications

SoC FPGAs. Your User-Customizable System on Chip Altera Corporation Public

Embedded Computing Platform. Architecture and Instruction Set

Designing with ALTERA SoC Hardware

Custom Silicon for all

Chapter 4. Enhancing ARM7 architecture by embedding RTOS

The Veloce Emulator and its Use for Verification and System Integration of Complex Multi-node SOC Computing System

ARM Cortex-A9 ARM v7-a. A programmer s perspective Part1

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

Jack Kang ( 剛至堅 ) VP Product June 2018

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

ESA Contract 18533/04/NL/JD

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Interconnects, Memory, GPIO

Cyclone V Device Overview

CPU Project in Western Digital: From Embedded Cores for Flash Controllers to Vision of Datacenter Processors with Open Interfaces

Product Technical Brief S3C2416 May 2008

Simplifying Multiprotocol Industrial Ethernet Communication. Sandeep Kumar December 2016

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core

MICROPROCESSOR BASED SYSTEM DESIGN

Designing a Multi-Processor based system with FPGAs

WS_CCESSH5-OUT-v1.01.doc Page 1 of 7

SmartFusion 2 System-on-Chip FPGA

Advanced Embedded Systems

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

ECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7

The S6000 Family of Processors

ECE332, Week 2, Lecture 3. September 5, 2007

ECE332, Week 2, Lecture 3

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

Nios Soft Core Embedded Processor

High-Performance, Highly Secure Networking for Industrial and IoT Applications

Freescale i.mx6 Architecture

HETEROGENOUS COMPUTE IN A QUAD CORE CPU

Embedded Systems: Architecture

XMC-RFSOC-A. XMC Module Xilinx Zynq UltraScale+ RFSOC. Overview. Key Features. Typical Applications. Advanced Information Subject To Change

27 March 2018 Mikael Arguedas and Morgan Quigley

LEON4: Fourth Generation of the LEON Processor

Design of Embedded Hardware and Firmware

Support for RISC-V. Lauterbach GmbH. Bob Kupyn Lauterbach Markus Goehrle - Lauterbach GmbH

Transcription:

Power Matters. TM RISC-V based core as a soft processor in FPGAs Chowdhary Musunuri Sr. Director, Solutions & Applications Microsemi chowdhary.musunuri@microsemi.com RIC217 1

Agenda A brief introduction to FPGAs A few examples of applications built on FPGAs RISCV as a soft processor core in FPGAs Power Matters. TM 2

What is an FPGA? An FPGA is an integrated circuit that can be configured to emulate any digital circuit as long as there are enough resources An FPGA can be seen as an array of configurable logic elements connected through programmable routing interconnect Programmable Logic Element Programmable Interconnects Programmable I/Os Power Matters. TM 3

Simplified Logic Element Structure Look-Up Table (LUT) D SET Q MUX A B C O CLR Q D A B C D O 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 A B C D 1 D SET CLR Q Q MUX O 1 1 1 1 1 1 Configuration bits 1 1 1 1 1 Power Matters. TM 4

Translating a design to an FPGA Develop Design in RTL Example: Verilog/VHDL Compile Design Synthesis, Timing, P&R Program design in FPGA Design is captured in RTL code and/or in vendor provided design entry tools Design is run through vendor provided CAD tools Program design in FPGA Reconfigurable FPGAs can be programmed multiple times for different functionality or fixing bugs Power Matters. TM 5

Performance Vs. Flexibility General Purpose Microprocessors FPGA ASIC ASIC gives high performance at the cost of flexibility A general purpose Processor is very flexible but not tuned to the application An FPGA gives a nice compromise between application tuned performance and re-programmable flexibility Power Matters. TM 6

Modern FPGA Architecture Power Matters. TM 7

SoC FPGA Design Suite Power Matters. TM 8

A few SOC FPGA application examples Power Matters. TM 9

Ethernet Access RISCV soft processor can be used for configuration of peripherals and internal functional IP blocks Microsemi PolarFire FPGA 1 to 16 GE/FE Enet MACs Queuing 1588 Packet Timing & Synchronization Packet Processing & Switching, QoS 1 x 1 GE Fiber MDIO RISCV SubSystem I2C for configuring SFP modules 12G QoS Switching in FPGA with Hierarchical Queues 3% Lower total power Instant ON FPGA can also be used for system management Power Matters. TM 1

Wireless HetNet: RRH & BBU RISCV soft processor subsystem can be used for configuration of peripherals and internal functional blocks Microsemi PolarFire FPGA Microsemi PolarFire FPGA To AFE JESD 24B DPD CFR DUC DDC CPRI framer CPRI CPRI CPRI framer BB Processing, Bridging, Control, Switching To Backhaul, Cloud 1GbE, OTN, GbE SPI & I2C to Configure External ADCs RISCV SubSystem RISCV SubSystem I2C for configuring SFP modules Signal processing capabilities with hardened preadders ideal for supporting low/mid bandwidth DFE (4x4x6MHz) and Baseband Processing Ideal for up to 12.5G CPRI and JESD24b interfacing Up to 5% lower total power Best Security and SEU immune FPGA fabric Power Matters. TM 11

Power Generation Control Microsemi PolarFire FPGA 2 x 1G Ethernet HSR PRP RISCV SubSystem RS232/RS485 bus SPI, GPIO MAC Control Loops & PWM Actuator i/f Driver & Isolating circuit Solar Water Wind Power DC/DC Converter & DC/AC Inverter Smart grid Lowest power Instant on control functions Security Power Matters. TM 12

Imaging/Video/Camera Applications Microsemi PolarFire FPGA Image aggregation and blending Format conversion to PCIe PCIe Interface (Capture Card) CMOS Image CMOS Sensor Image CMOS Sensor Image CMOS Sensor Image Sensor CMOS sensor interfaces Image Processing IP HDMI Out I2C Sensor Configuration RISCV SubSystem LPDDR3 Memory controller LPDDR3 Image Processing is done in the FPGA logic hardware Embedded FPGA Mathblocks, PCIe Subsystem & DDR support Soft RISCV processor subsystem is used for configuration of peripherals and internal functional blocks Power Matters. TM 13

RV32IM RISCV Soft processor RISCV soft processor on Microsemi PolarFire FPGA Power Matters. TM 14

What is RISC-V A New free and open ISA developed at UC Berkeley RISC-V is Instruction Set Architecture (ISA). Not a processor The micro architecture implementations can be open or proprietary Goal is to encourage both open-source & proprietary implementations of the RISC-V ISA specification Designed for Research, Education & Commercial use Four base integer ISA variants RV32I, RV64I, RV32E, RV128I (32,64,128bit machines) Standard Extensions M: Integer Multiply/Divide A: Atomic Memory Operations F: Single Precision FP D: Double Precision FP G: IMAFD, General Purpose ISA Q: Quad Precision Floating Point C: 16-bit compressed instruction (RV32C, RV64C) Power Matters. TM 15

RISC-V Soft Processor on PolarFire FPGA CoreRISCV_AXI4 Supports the RISC-V standard RV32IM ISA Integrated 8Kbytes instruction cache and 8Kbytes data cache Two external AXI interfaces for IO and memory Supports up to 31 programmable interrupts Debug unit with a JTAG interface Best suited for low to mid range microcontroller applications Power Matters. TM 16

CoreRISCV_AXI4 Processor Core Based on the E31 Coreplex core by SiFive Provides a single hardware thread Machine-mode privileged architecture Supports the RISCV standard RV32IM ISA Two External AXI Interfaces AXI memory Interface Cached access to instruction & data memory AXI I/O interface Un-Cached access to I/O peripherals Memory System First level Instruction Cache Platform-Level Interrupt Controller (PLIC) 8KB, Direct Mapped with 64 bytes line size, single clock cycle access latency First Level Data Cache 8KB, Direct Mapped with 64 bytes line size Access Latency is two clock cycles for full words and three clock cycles for smaller quantities Un-Cached memory access for I/O TAPC Single Step AXI X Uncached TileLink 5 Stage Pipeline RV32IM Integer Mul/Div I and D Cache AXI X E31 Core Power Matters. TM 18

CoreRISCV_AXI4 Interrupt Sources Local Interrupts Wired directly to the CPU internally Standard Software Interrupts (Traps, Exceptions) Timer Interrupt Global Interrupts Routed via Platform Level Interrupt Controller Supports up to 31 external interrupt sources Platform-Level Interrupt Controller (PLIC) TAPC Single Step Uncached TileLink All external interrupts are single priority level at priority 1 (External interrupts in the system can be connected here) JTAG Interface Industry standard 1149.1 JTAG interface Supports Interactive debug Supports Hardware Breakpoints (Max:2) Accessible via Microsemi FlashPro5 JTAG programmer/debugger AXI X 5 Stage Pipeline RV32IM Integer Mul/Div I and D Cache AXI X E31 Core Power Matters. TM 19

SoftConsole IDE Softconsole 5./5.1(beta) SC5./SC5.1 works with Flashpro5. JTAG debugger SC5. supports specific versions of Ubuntu, Red hat/centos and OpenSuse SC5.1(beta) supports windows 7 Firmware project structure riscv-hal startup code, hardware abstraction layer, interrupt management Drivers - Drivers for peripherals e.g. UART, I2C and SPI riscv_hal is available on github Power Matters. TM 2

CoreRISCV_AXI system CoreBootStrap is configurable hardware boot loader At POR CoreBootStrap asserts PROC_RESET and holds RISCV in reset Copies executable binary from SPI Flash memory to internal RAM and releases the PROC_RESET Image can reside in external SPI flash or internal NVM memory RISCV executes the code from internal RAM Power Matters. TM 21

Microsemi RISCV on GitHub https://github.com/riscv-on-microsemi-fpga Documentation Example Design Projects Power Matters. TM 22

Questions? Power Matters. TM 23

Thank You Power Matters. TM 24