Electronicdesign 24906 Microchiprisc V Promo

Hard-Core RISC-V Cores Mate with FPGA

Dec. 7, 2018
Microsemi is taking its RISC-V support to the next level with hard-core RISC-V CPUs being integrated with its latest FPGAs.

This article is part of TechXchange: RISC V

By integrating hard-core RISC-V CPUs with its latest FPGAs, Microsemi, a Microchip company, has further bolstered its RISC-V support. This is the same approach that Intel/Altera and Xilinx have done with Arm cores and their system-on-chip (SoC) FPGA offerings. Microsemi also has an FPGA with a hard-core ARM Cortex-M3, but its Mi-V initiative has been pushing soft-core RISC-V support in its FPGA lines.

Microsemi’s 64-bit RISC-V SoC FPGA is based on its PolarFire FPGA. The approach has a number of advantages, including a simplified design that’s easier to secure. The design is immune to Spectre- and Meltdown-style attacks. The company has also included anti-tamper support, differential-power-analysis (DPA) resistant bitstream programming, cryptographic bound supply-chain assurance, physically unclonable function (PUF) support, a side-channel resistant crypto coprocessor, and a true random number generator. In addition, all memory has single-error-correction, double-error-detection (SECDED) support.

The RISC-V approach also provides a lower-cost migration path to an ASIC for those designs that are more geared to high volumes. The kicker is that these cores can be configured to provide deterministic operation.

1. Microsemi’s PolarFire SoC sports five cores, including an E51 and four U54 RISC-V cores connected to a common L2 cache.

The PolarFire SoC consists of a flash-based PolarFire FPGA and five 64-bit RISC-V cores (Fig. 1). One is a SiFive E51 RV64IMAC core and the other four are SiFive U54 RV64GCs. SiFive has been delivering a number of different RISC-V cores to chip designers.

A coherent switch links the cores to the DDR4/LPDDR4 memory controller and the AMBA switch that’s connected to the PolarFire FPGA. There’s 128 kB of on-chip flash memory for applications in addition to secure boot support.

The E51 is designed as a control monitor with physical memory protection (PMP) unit while the U54 cores add a memory management unit (MMU) suitable for running operating systems like Linux. The cores have an in-order, five-stage pipeline. Each core can have features turned off, such as the branch predictor providing a deterministic execution environment. The 2-MB L2 cache can also be customized so that portions are locked down in scratchpad mode, enabling support for coherent message buffers (Fig. 2). These can be accessed by any core even if it’s not running in deterministic mode.

2. The RISC-V cores can be configured for deterministic operation and the L2 cache can be partitioned into direct access memory.

The ability to configure any core in this fashion provides developers with more flexibility. Various combinations may be used, such as the E51 running in deterministic mode while Linux runs on all four U54 cores. Alternatively, one of the U54 cores and the E51 cores could operate in deterministic mode with the other U54 cores running Linux. All can share all partitions of the coherent memory subsystem.

The I/O space also supports hardware partitioning. This allows the crypto hardware to be isolated with the E51 or maybe even one of the U54 cores.

The chips provide a robust debug environment. The FPGA has the SmartDebug dual-channel logic analyzer built in. The RISC-V cores have an instruction trace, 50 hardware breakpoints, debug locks, and a fabric logic monitor. There’s also an AXI bus monitor.

Microsemi is providing developers with complete access to the security features of the chip, including the secure-boot source code. This gives advanced developers the ability to check or replace this code to customize the secure-boot process.

The PolarFire SoC will not be available immediately, but developers can take advantage of the free Renode virtual development emulator model created by Antmicro. The emulator model supports debugging the entire processor subsystem.

Microsemi’s PolarFire RISC-V platform delivers secure, real-time, deterministic, asymmetric multiprocessing (AMP) support. It has impressive security and debug features in addition to RISC-V cores. Extended temperature versions will be available. The low-power, flash-based FPGA along with the low-power RISC-V cores provide a low-power solution that other platforms may find hard to beat.

Microsemi will be one to watch in 2019 when the chips are released.

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!