I installed a custom version of spike:
<code>git clone https://github.com/nthu-pllab/riscv-isa-sim.git
--with-varch=vlen:1024,elen:64
<code>git clone https://github.com/nthu-pllab/riscv-isa-sim.git
cd riscv-isa-sim
mkdir build && cd build
../configure
--prefix=$RISCV
--with-isa=RV64IMAFDCV
--with-varch=vlen:1024,elen:64
make -j`nproc` install
</code>
git clone https://github.com/nthu-pllab/riscv-isa-sim.git
cd riscv-isa-sim
mkdir build && cd build
../configure
--prefix=$RISCV
--with-isa=RV64IMAFDCV
--with-varch=vlen:1024,elen:64
make -j`nproc` install
And installed pk
:
<code>git clone https://github.com/riscv/riscv-pk.git
--host=riscv64-unknown-elf
<code>git clone https://github.com/riscv/riscv-pk.git
cd riscv-pk
mkdir build && cd build
../configure
--prefix=$RISCV
--with-arch=rv64gcv
--with-abi=lp64d
--host=riscv64-unknown-elf
make -j`nproc` install
</code>
git clone https://github.com/riscv/riscv-pk.git
cd riscv-pk
mkdir build && cd build
../configure
--prefix=$RISCV
--with-arch=rv64gcv
--with-abi=lp64d
--host=riscv64-unknown-elf
make -j`nproc` install
However, I got a warning without the expected output:
<code>git clone https://github.com/riscv-non-isa/rvv-intrinsic-doc.git
cd rvv-intrinsic-doc/examples
--target=riscv64-unknown-elf
--sysroot=$RISCV/riscv64-unknown-elf
spike --isa=RV64GCV_zfh_zvfh --varch=vlen:128,elen:64 pk rvv_saxpy
<code>git clone https://github.com/riscv-non-isa/rvv-intrinsic-doc.git
cd rvv-intrinsic-doc/examples
clang
--target=riscv64-unknown-elf
--sysroot=$RISCV/riscv64-unknown-elf
--gcc-toolchain=$RISCV
-march=rv64gcv1p0
rvv_saxpy.c -o rvv_saxpy
spike --isa=RV64GCV_zfh_zvfh --varch=vlen:128,elen:64 pk rvv_saxpy
</code>
git clone https://github.com/riscv-non-isa/rvv-intrinsic-doc.git
cd rvv-intrinsic-doc/examples
clang
--target=riscv64-unknown-elf
--sysroot=$RISCV/riscv64-unknown-elf
--gcc-toolchain=$RISCV
-march=rv64gcv1p0
rvv_saxpy.c -o rvv_saxpy
spike --isa=RV64GCV_zfh_zvfh --varch=vlen:128,elen:64 pk rvv_saxpy
<code><stdin>:25.39-29.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider
<stdin>:25.39-29.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider
<code><stdin>:25.39-29.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider
<stdin>:25.39-29.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider
</code>
<stdin>:25.39-29.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider
<stdin>:25.39-29.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider
spike pk
yields the same warnings. How can I this warning be fixed?
Google tells me the following issue:
https://github.com/riscv-software-src/riscv-isa-sim/issues/784
However, I didn’t see any information after Missing #address-cells in interrupt provider
. Also, my colleague runs spike pk
perfectly without warnings.