OpenXiangShan / difftest

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

feat(mem): add optional ref func `ref_memcpy_init` #475

Closed happy-lx closed 1 month ago

happy-lx commented 1 month ago

When initializing REF's memory, call mem_init function. If REF provides ref_memcpy_init, use it. If not, use ref_memcpy.

poemonsense commented 1 month ago

See https://github.com/OpenXiangShan/NEMU/pull/551 for more information