Customizing the High-Performance Sapphire RV32 SoC

You customize the High-Performance Sapphire RV32 SoC using the IP Configuration wizard. The parameters are arranged on tabs so you can click through them more easily.

Table 1. High-Performance Sapphire RV32 Device Selection Tab
Parameter Options Description
Family Titanium, Topaz Device Family Selection.
Note: If you are updating your Topaz project with the SLB software version that is lower than v1.19, you are recommended to regenerate the SLB again when the software is updated to v1.19.
Package 484, 529, 900, 1156 Package selection.
Current supported package for Topaz: 484, 529
Current supported package for Titanium: All pakcage
Table 2. High-Performance Sapphire RV32 Block Tab Parameters
Parameter Options Description
JTAG Debug Interface FPGA User Tap, JTAG with GPIO Choose whether to include a soft debug TAP for debugging.
FPGA User Tap: The SoC uses the JTAG User Tap interface block to communicate with the OpenOCD debugger
JTAG with GPIO: The SoC has a soft JTAG interface to communicate with the OpenOCD debugger
FPGA User Tap Port JTAG_USER1,
JTAG_USER2,
JTAG_USER3,
JTAG_USER4
Choose the tap port to target with the OpenOCD debugger. This option only applies when using the JTAG user tap interface block to communicate with the OpenOCD debugger.
AXI4 Slave Interface On, off On: Instantiate the interface
Off: Do not use the interface
Note: The Efinity software v2025.2 and higher uses AXI slave instead of AXI master as the interface name.
AXI4 Master Interface On, off On: Instantiate the interface
Off: Do not use the interface
This interface is forcibly enabled for peripheral interfacing.
Note: The Efinity software v2025.2 and higher uses AXI master instead of AXI slave as the interface name.
CPU n Custom Instruction Interface On, off On: Instantiate the interface
Off: Do not use the interface
AXI Interface Pipeline On, off Enable the pipeline for the Soc AXI Memory Interface.
AXI Write Buffer On, off Bypass the AXI write buffer.
User Interrupt Ports 0 - 24 0: Do not use interrupt port
1 - 24: The number of interrupt port that turns on
OCR Application On, off On: Overwrite the default SPI flash bootloader with the user application
Off: Initialize SoC without user application
User Application – Enter the path to your target user application. The file must be in .hex format.
Table 3. High-Performance Sapphire RV32 Soft Logic Block Tab ParametersWhere n is 0, 1, 2, 3, or 4.
Parameter Options Description
Peripheral Interconnect On, off On: Instantiate an interconnect with peripherals attached to it
Off: Do not use the interconnect generated by the IP Manager
Pin Resource Assignment On, off On: Update project peri.xml to instantiate required GPIO blocks for enabled peripherals
Off: Do not update project peri.xml
Pin Assignment On, off On: Update project peri.xml to assign pre-defined pins to GPIO blocks
Off: Do not update project peri.xml
Required SoC Interrupt Ports – Show required interrupts for enabled peripherals.
Uart Controller n On, off On: Instantiate the controller
Off: Do not use the controller
SPI Controller n On, off On: Instantiate the controller
Off: Do not use the controller
I2C Controller n On, off On: Instantiate the controller
Off: Do not use the controller
GPIO Controller n On, off On: Instantiate the controller
Off: Do not use the controller
Specify GPIO n pin width 4, 8, 16, 24, 32 Specify the number of pins to be enabled for the GPIO controller.
Watchdog Timer On, off On: Instantiate the watchdog timer
Off: Do not use the watchdog timer
Type of APB Interface APB3, APB4 Choose the type of APB interface.
APB interface n On, off On: Instantiate the interface
Off: Do not use the interface
Specify APB n size 4KB, 16KB, 64KB, 256KB, 1MB
(If HAL is selected) → 4MB, 16MB
Specify the size of the APB interface.
Default: 1MB
Larger options of 4MB and 16MB are only available when the High-Performance RV32 Hardware Abstraction Layer (HAL) is selected in the Software API.
Internal BRAM On, Off On: Instantiate the internal BRAM
Off: Do not use the internal BRAM
Internal BRAM Size 64KB, 128KB, 256KB, 512KB, 1MB Choose the size of the internal BRAM.
Default: 64KB
Table 4. High-Performance Sapphire RV32 PLL Configuration Tab Parameters
Parameter Options Description
System Clock PLL
Pin Assignment On, off On: Update project peri.xml to include this PLL
Off: Do not update project peri.xml
Instance Name Fixed string The PLL instance name will be configured later in the Interface Designer.
PLL Resource PLL_BL0,
PLL_BL1,
PLL_BL2
Choose which PLL resource you want to utilize in Interface Designer.
PLL External Clock Source Clock 0,
Clock 1
Specify which external clock source is used as the reference clock for the PLL.
Reference Clock Frequency Input value in MHz Specify reference clock frequency.
System Clock Frequency 250 - 1000 MHz Specify the system clock frequency that drives most of the logic of the hardened RISC-V block, including CPU, FPU, MMU, caches, on-chip RAM, etc.
Memory Clock Frequency 25 - 250 MHz Specify the memory clock frequency that drives the AXI traffic to external memory.
DDR Clock Frequency 200 - 900 MHz Specify the DDR clock frequency that is input to the DDR controller.
Peripheral Clock PLL
Pin Assignment On, off On: Update project peri.xml to include this PLL
Off: Do not update project peri.xml
Instance Name Fixed string The PLL instance name that will be configured later in the Interface Designer.
PLL Resource PLL_BLn,
PLL_BRn
PLL_TLn
PLL_TRn,
Choose which PLL resource you want to utilize in Interface Designer. The PLL resource cannot be the same as the system clock PLL.
PLL External Clock Source Clock 0
Clock 1
Specify which external clock source is the reference clock for the PLL.
Reference Clock Frequency Input value in MHz Specify reference clock frequency.
Peripheral Clock 25 - 250 MHz Specify peripheral clock frequency that drives soft logic block logic.
AXI4 Slave Clock 25 - 250 MHz Specify AXI4 slave clock.
Custom Instruction Clock 25 - 250 MHz Specify custom instruction clock frequency.
Table 5. High-Performance Sapphire RV32 LPDDR4 Configuration Tab Parameters
Parameter Options Description
Device Setting
LPDDR4 Controller Assignment On, off On: Update project peri.xml to include this configuration
Off: Do not update project peri.xml
Instance Name Fixed string The DDR instance name will be configured later in the Interface Designer.
Memory Data Width 16, 32 The DDR device data width.
Memory Density 2 GB, 3 GB, 4 GB, 6 GB, 8 GB, 12 GB, 16 GB The DDR device memory density.
Memory Type LPDDR4, LPDDR4x The DDR device memory type.
Topaz device only supports LPDDR4 memory type with maximum clock frequency of 600 MHz.
Memory Physical Rank 1, 2 The DDR device memory physical rank.
Table 6. High-Performance Sapphire RV32 Embedded Software Configuration
Parameter Options Description
Software API Hardware Abstraction Layer (HAL)
Legacy
Choose which software API to generate in the embedded_sw.
Target Board/Cable/Module Titanium Ti375 N1156 Development Board
Titanium Ti375 C529 Development Board
C232HM-DDHSL-0 (ext. dongle)
FTDI Module FT2232H (ext. dongle)
FTDI Module FT4232H (ext. dongle)
ISX-DLC_EF001 Programming Cable (ext. dongle)
Efinix Downloader Cable II (ext. dongle)
Other FTDI Chips
Custom
Choose which board you want to target with OpenOCD.
Choose Custom to target your own board.
FTDI Device (PID) FT2232H (0x6010)
FT4232H (0x6011)
FT232H (0x6014)
FT2233HP (0x6040)
FT4233HP (0x6041)
FT2232HP (0x6042)
FT4232HP (0x6043)
FT233HP (0x6044)
FT232HP (0x6045)
FT4232HA (0x6048)
Choose your FTDI chip.
Target FTDI Channel Channel A
Channel B
Channel C
Channel D
Choose your FTDI channel.
FTDI Device Description N/A Enter your FTDI device description.
FTDI Type Single Channel
Dual Channel
Quad Channel
Specify the number of channels available for the FTDI device.
FTDI Debug Channel Channel 0,Channel 1, Channel 2,Channel 3 Specify which channel the JTAG is connected to.
Application Size 124KB, 252KB, 324KB, 508KB, 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, Custom Specify the size allocated for the application in linker scripts.
Application Size (KB) – Specify the custom size allocated for the application in linker scripts.
Stack Size 1KB, 2KB, 4KB, 8KB, 16KB, 32KB, 64KB, 128KB, 256KB, 512KB, Custom Specify the size allocated for the application stack in linker scripts.
Stack Size (KB) – Specify the custom size allocated for the application stack in linker scripts.
Heap Size 1KB, 2KB, 4KB, 8KB, 16KB, 32KB, 64KB, 128KB, 256KB, 512KB, Custom Modify the linker script to specify the application heap size. Only available when the High -Performance RV32 Hardware Abstraction Layer (HAL) is selected in the Software API.
FreeRTOS Application Size 64KB, 124KB, 252KB, 324KB, 508KB, 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB, 128MB, 256MB, Custom Modify the linker script to outline the region for the FreeRTOS application.
FreeRTOS Stack Size 1KB, 2KB, 4KB, 8KB, 16KB, 32KB, 64KB, 128KB, 256KB, 512KB, Custom Modify the linker script to specify the FreeRTOS application stack size.
FreeRTOS Heap Size 1KB, 2KB, 4KB, 8KB, 16KB, 32KB, 64KB, 128KB, 256KB, 512KB, Custom Modify the linker script to specify the FreeRTOS application heap size. Only available when the High-Performance RV32 Hardware Abstraction Layer (HAL) is selected in the Software API.