How to Create Test Sequences for RISC-V Cores and SoCs Automatically