[RISCV/Chisel]Error: unrecognized opcode vsetvli
Situation
I'm Implementing RISCV vector instructions with chisel.
When adding the vsetvli instruction, the above compilation error occurs.
Cause and solution
The argument at compile time was incorrect.
Incorrect:
riscv64-unknown-elf-gcc -march=rv32i
Correct:
riscv64-unknown-elf-gcc -march=rv32iv
It seems that the ones with v correspond to vector instructions.
For details, see the page below
Recent Posts
See AllPhenomenon There is an array Check whether the index variable is within the size of the array, and access the element only if it is...
Overview When communicating data using a Queue, the following operations are possible: Queue.io.enq.valid: When set to false, data will...
What I want to do There are multiple similar units Most of processes are the same, only some differences. Select an appropriate unit...
Comments