riscv-tests
riscv-tests copied to clipboard
fix for #159 #158
This change will fix the issues pointed out in #159 and #158. The test no longer assumes the reset "type" of mcontrol to be 2 and thus explicitly defines it while updating tdata1.
Also tdata1 is read-back to see if the particular mcontrol fields are valid for the implementation else skip the test-part.
Thanks, merged (but with the commented-out code deleted)