4 Design Description
(Ask a Question)Microchip offers a freely available RISC-V processor IP core called Mi-V and a software tool-chain to support Mi-V processor-based designs. In this reference design, a Mi-V soft processor core is used as the main processor and the User Cryptoprocessor is used as the coprocessor.
RISC-V, a standard open Instruction Set Architecture (ISA) under the governance of the RISC-V Foundation, offers numerous benefits, including enabling the open source community to test and improve cores at a faster pace than closed ISAs.
The Libero design provided with this application note shows how to integrate the User Cryptoprocessor in a Mi-V processor subsystem. The SoftConsole project shows how to integrate and build a TeraFire CAL driver into a Mi-V processor application project. A similar process can be used to integrate the User Cryptoprocessor and its CAL driver into other general-purpose processor subsystem environments.
The Mi-V application provided with the reference design demonstrates the Advanced Encryption Standard (AES) algorithm features of the User Cryptoprocessor. It provides a user interface on the host PC using the UART. The user can download and run the other User Crypto sample projects available in the GitHub to explore using the User Cryptoprocessor cryptographic algorithms.
Each PolarFire FPGA has 56 KB of secure Non-Volatile Memory (sNVM), which can be used for storing cryptographic keys. The sNVM pages are accessible through system services to read/write. The reference design integrates PF_SYSTEM_SERVICES IP for sNVM read/write.