cva6, rocket and zicsr problem
pratipm opened this issue · comments
pratipm commented
When I am trying to instantiate cva6 or rocket cpu, gcc is complaining about missing 'ziscr' extension.
/home/pratipm/litex/litex/litex/soc/cores/cpu/rocket/irq.h:23: Error: unrecognized opcode csrr a3,mstatus', extension
zicsr' required
My gcc version is riscv64-linux-gnu-gcc (GCC) 12.2.0
My litex is fresh install done only yesterday.
What am I doing wrong?
Thanks.
P.S. Is there any documentation about what needs to be done/installed to instantiate different cpus?
minute commented
Same here, with the same GCC version on Debian bookworm/sid.