GD32VF103 User Manual
22
1.
System and memory architecture
The devices of GD32VF103 series are 32-bit general-purpose microcontrollers based on the
32bit RISC-V processor. The RISC-V processor includes three AHB buses known as I-Code
bus, D-Code bus and System buse. All memory accesses of the RISC-V processor are
executed on the three buses according to the different purposes and the target memory
spaces. The memory organization uses a Harvard architecture, pre-defined memory map and
up to 4 GB of memory space, making the system flexible and extendable.
1.1.
RISC-V CPU
RISC-V CPU target for embedded applications that require low energy consumption and small
area, which is compliant to RISC-V architecture with several efficient micro-architecture
features, including simple dynamic branch prediction, instruction pre-fetch buffers and local
memories. It supports 32 general purpose registers (GPRs) and fast multiplier for
performance/area tradeoff:
RISC-V compliant little-endian RV32IMAC (32GPRs) ;
Configurable 2-stage pipeline optimized for low gate-count and high frequency;
Machine (M) and User (U) Privilege levels support;
Single-cycle hardware multiplier and Multi-cycles hardware divider support;
Misaligned load/store hardware support;
Atomic instructions hardware support;
Non-maskable interrupt (NMI) support;
Dynamic Branch Prediction and instruction pre-fetch buffers to speed up control code;
State-of-the-art micro-architecture design to tradeoff area and performance
requirements;
WFI (Wait for Interrupt) support;
WFE (Wait for Event) support;
Interrupt priority levels configurable and programmable;
Enhancement of vectored interrupt handling for real-time performance;
Support interrupt preemption with priority ;
Support interrupt tail chaining;
Standard 4-wire JTAG debug port
Support interactive debug functionalities
Support 4 triggers for hardware breakpoint
1.2.
System architecture
A 32-bit multilayer bus is implemented in the
GD32VF103 devices, which makes the parallel
access paths between multiple masters and slaves in the system possible The multilayer bus
consists of an AHB interconnect matrix, one AHB bus and two APB buses. The