4.4 Software Implementation
(Ask a Question)For information about creating and building a SoftConsole project for the Mi-V processor subsystem, see AN4997: PolarFire FPGA Building a Mi-V Processor Subsystem .
To use the User Cryptoprocessor services in the application, the user needs to download the SoftConsole example project firmware from the GitHub, which also contains the pre-compiled PolarFire Crypto CAL library. The User Crypto CAL folder contains config_user.h
file for driver configuration. In the config_user.h file
, define the PKX0_BASE macro as the base address of the User Cryptoprocessor, according to the Libero design.
For both debug and release configurations, browse and add the config_user.h
file to , as shown in the following figure.

The following figure shows the intended directory structure for a project based on MIV_RV32, using SoftConsole.
The UART base address, SPI base address, GPIO base address, System Services base address, and system clock frequency are provided in the fpga_design_config.h
file.