Open danivz opened 1 year ago
The FESVR library in esp-tools is out-of-date, and will no longer be updated.
Switch to the riscv-tools
conda environment, then rebuild the RTL simulations and rerun them.
If you want to compile programs for hwacha, you should maintain a separate esp-tools
conda environment that is used only for compiling hwacha programs.
I've built a clean setup executing ./build-setup.sh riscv-tools -s 6 -s 7 -s 8 -s 9
and I'm having the same problem: the simulation executables of HwachaRocketConfig
and my CustomRoCCRocketConfig
generate segmentation fault.
The difference with the previous issue is that I didn't have to change endianness_t
of fesvr/memif.h
, it doesn't produce an error with riscv-tools
Background Work
Chipyard Version and Hash
Release: 1.10.0 Hash: b7644b2
OS Setup
Other Setup
Initial repository configuration:
Current Behavior
When running the command
make CONFIG=HwachaRocketConfig debug
, the generated executable produces a segmentation fault:It also happens to me with the debug simulation of a custom coprocessor (RoCC) of similar complexity as Hwacha.
Expected Behavior
The simulation works for the
RocketConfig
andGemminiRocketConfig
. It should work as well forHwachaRocketConfig
and myCustomRoCCRocketConfig
.Other Information
In order to compile the simulations successfully, I followed the GCC suggestion: