1BOSC Xiangshan Kunminghu FPGA prototype platform (``xiangshan-kunminghu``) 2========================================================================== 3The ``xiangshan-kunminghu`` machine is compatible with our FPGA prototype 4platform. 5 6XiangShan is an open-source high-performance RISC-V processor project. 7The third generation processor is called Kunminghu. Kunminghu is a 64-bit 8RV64GCBSUHV processor core. More information can be found in our Github 9repository: 10https://github.com/OpenXiangShan/XiangShan 11 12Supported devices 13----------------- 14The ``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 22Boot options 23------------ 24The ``xiangshan-kunminghu`` machine can start using the standard ``-bios`` 25functionality for loading the boot image. You need to compile and link 26the firmware, kernel, and Device Tree (FDT) into a single binary file, 27such as ``fw_payload.bin``. 28 29Running 30------- 31Below is an example command line for running the ``xiangshan-kunminghu`` 32machine: 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 40