Description
Observed Behavior
make run-simple-system fails to compile simple program
ibex/examples/sw/simple_system/common/simple_system_common.c:40: Error: unrecognized opcode csrw minstret,x0', extension
zicsr' required
Expected Behavior
make run-simple-system compiles simple program
Steps to reproduce the issue
Setup virtual environment
- python -m venv ~/.ibex-eda/
- . ~/.ibex-eda/bin/activate
- pip install mako
- pip install packaging
build system
- . ~/.ibex-eda/bin/activate
- git clone https://github.com/olofk/edalize.git
- cd edalize
- pip install .
- cd ..
- git clone https://github.com/lowRISC/fusesoc.git
- cd fusesoc
- pip install .
- cd ..
- git clone https://github.com/lowRISC/ibex.git
- ./util/ibex_config.py small fusesoc_opts
--RV32E=0 --RV32M=ibex_pkg::RV32MFast --RV32B=ibex_pkg::RV32BNone --RegFile=ibex_pkg::RegFileFF --BranchTargetALU=0 --WritebackStage=0 --ICache=0 --ICacheECC=0 --ICacheScramble=0 --BranchPredictor=0 --DbgTriggerEn=0 --SecureIbex=0 --PMPEnable=0 --PMPGranularity=0 --PMPNumRegions=4 --MHPMCounterNum=0 --MHPMCounterWidth=40
-
./util/check_tool_requirements.py
INFO: Tool verilator present: Sufficiently recent version (found 5.028; needed 4.210) INFO: Tool edalize present: Sufficiently recent version (found 0.6.2.dev2+g1eedb7f; needed 0.2.0)
-
make build-simple-system
-
make run-simple-system
As a quick aside having the above steps would be helpful in the documentation.
No modifications to any sources.
No parameters set.
My Environment
Nothing special
riscv32-unknown-elf-gcc: gcc version 15.1.0 (Gentoo 15.1.0 p55)
Using Ibex as a micro controller in an FPGA
EDA tool and version:
Xilinx Vivado 2025.1
Operating system:
Gentoo
Version of the Ibex source code:
git master db07ab1
no modifications to source