chipsalliance / riscv-dv

Random instruction generator for RISC-V processor verification
Apache License 2.0
996 stars 323 forks source link

Error: illegal operands `sd s11,sub_4_stack_p(s5)' #986

Open il-steffen opened 2 months ago

il-steffen commented 2 months ago

I see this multiple times in other closed bugs like #969, but never a fix.

It seems the selection of get_imm() should be more constrained to fit the respective instruction type. Unfortunately but my SV skills are nowhere good enough for that..