How zexinliang/xipi_pomelo works
XipiPomelo is a custom RISC-V processor and SoC, supported by bare-metal software and Verilator verification. The principal workflow is to execute a program on a documented core/SoC variant, observe peripheral results, and verify behavior through differential or full-run simulation. The hardware RTL paths and several simulation scripts are described in the README but are not present in the supplied tree; those links cite the README. The graph does not infer internal RTL call structure from that documentation.
Main entry points: cpu_rv32im RV32IM Core Family · drivers Peripheral Drivers · jyd_soc SoC Integration · tb_diff_dual.cpp Differential Simulation
Components 18
Processor and SoC
- RV32IM Core Family
hardware/cpu_rv32im - ISA Variants
hardware - SoC Integration
hardware/cpu_rv32im/core6/rtl/jyd_soc - IROM and DRAM
hardware/cpu_rv32im/core6/rtl/jyd_soc - MMIO Peripherals
hardware/cpu_rv32im/core6/rtl/jyd_soc - FPGA Platform
hardware/fpga
RTL Verification
- Differential Simulation
hardware_sim/dual/tb_diff_dual.cpp - Full-Run Simulation
hardware_sim/testbench/__sim_seg_until.cpp - Simulation Harness
hardware_sim/testbench/sim_main.cpp
Bare-Metal Software
- CoreMark Application
software/app/coremark_bare/main.c - CoreMark Port
software/app/coremark_bare/core_portme.h - Peripheral Drivers
software/common/drivers - Memory Map
software/common/memmap.h - Mini libc
software/common/mini_libc.c - Image Converters
software
Reference and Analysis
- RV32IM Reference
hardware_sim/tools/rv32imzicsr_ref.py - Trace Analysis
hardware_sim/tools
Other components
- Engineer
Connections 20
- Engineer → Differential Simulation: runs diff tests
- Engineer → Full-Run Simulation: runs full program
- Differential Simulation → RV32IM Core Family: simulates core
- Full-Run Simulation → RV32IM Core Family: simulates core
- Simulation Harness → RV32IM Core Family: runs RTL
- Differential Simulation → RV32IM Reference: checks against
- Full-Run Simulation → MMIO Peripherals: captures outputs
- RV32IM Core Family → SoC Integration: integrates with
- SoC Integration → IROM and DRAM: integrates
- SoC Integration → MMIO Peripherals: integrates
- Engineer → ISA Variants: chooses variant
- Engineer → FPGA Platform: targets hardware
- CoreMark Application → Peripheral Drivers: writes results
software/app/coremark_bare/main.c - CoreMark Application → CoreMark Port: uses port
software/app/coremark_bare/main.c - CoreMark Port → Memory Map: includes map
software/app/coremark_bare/core_portme.h - CoreMark Port → Peripheral Drivers: uses timer
software/app/coremark_bare/core_portme.h - Peripheral Drivers → Memory Map: uses addresses
software/common/drivers/timer.h - Mini libc → Peripheral Drivers: supports software
- Engineer → Image Converters: converts programs
- Trace Analysis → RV32IM Reference: analyzes traces
hardware_sim/tools/_issue_model.py