4.4.1 Linker Script Update

A sample linker script file (miv-rv32-ram.ld) is provided along with the MIV_RV32 HAL files. This linker script assumes that the SRAM is connected to the Mi-V processor memory space. The start address and size of the memory space must correspond with the Libero design.

A crypto_ram user section is defined in the linker script (see the following figure) to map the User Crypto input and output buffers to a common memory located on the Mi-V processor AHBL interface. The common memory is located at address 0x61000000.

Figure 4-11. Linker Script
Figure 4-12. Linker Script (Continued)