master
rst 39 lines 1.31 KB
Raw
1 BOSC Xiangshan Kunminghu FPGA prototype platform (``xiangshan-kunminghu``)
2 ==========================================================================
3 The ``xiangshan-kunminghu`` machine is compatible with our FPGA prototype
4 platform.
5
6 XiangShan is an open-source high-performance RISC-V processor project.
7 The third generation processor is called Kunminghu. Kunminghu is a 64-bit
8 RV64GCBSUHV processor core. More information can be found in our Github
9 repository:
10 https://github.com/OpenXiangShan/XiangShan
11
12 Supported devices
13 -----------------
14 The ``xiangshan-kunminghu`` machine supports the following devices:
15
16 * Up to 16 xiangshan-kunminghu cores
17 * Core Local Interruptor (CLINT)
18 * Incoming MSI Controller (IMSIC)
19 * Advanced Platform-Level Interrupt Controller (APLIC)
20 * 1 UART
21
22 Boot options
23 ------------
24 The ``xiangshan-kunminghu`` machine can start using the standard ``-bios``
25 functionality for loading the boot image. You need to compile and link
26 the firmware, kernel, and Device Tree (FDT) into a single binary file,
27 such as ``fw_payload.bin``.
28
29 Running
30 -------
31 Below is an example command line for running the ``xiangshan-kunminghu``
32 machine:
33
34 .. code-block:: bash
35
36 $ qemu-system-riscv64 -machine xiangshan-kunminghu \
37 -smp 16 -m 16G \
38 -bios path/to/opensbi/platform/generic/firmware/fw_payload.bin \
39 -nographic