OpenXiangShan / difftest

Modern co-simulation framework for RISC-V CPUs
Mulan Permissive Software License, Version 2
112 stars 63 forks source link

FPGA: Add the function of fpga core difftest #453

Open xiaokamikami opened 1 month ago

xiaokamikami commented 1 month ago

When using fpga to carry out difftest, difftest will read out the architecture related information from the dma interface as a host program, and check the register on the PC side. usage make fpga-build./fpga-host --diff=nemu.so

The idea of this function comes from the revision of encore. Thanks to the support of Teacher Shi Kan and Xu Shuoxiang for providing the XDMA initialization code (f7f0f8b), and Zhang Shoulin for helping debug the FPGA

Co-authored-by: fengkehan fengkehan@bosc.ac.cn Co-authored-by: xushuoxiang xushx2022@shanghaitech.edu.cn Co-authored-by: zhangshoulin zzsl1117@gs.zzu.edu.cn

poemonsense commented 1 month ago

Where does the source code come from? Who are the authors?