RISC-V: Convert cpu definition to future model