Open ssecatch-w opened 1 year ago
This would improve "hidden coverage" and it is recommended that CTG (and any other test generator) be updated to do this in the future. This is should really be an enhancement request for CTG rather than the test suite, so should be filed there, but we'll keep this alive here until that happens.
For example, in the div-01 testcase, there are 32 operations at the top that exercise "all the registers" by scrambling the Rd, Rs1, and Rs2 choices. there are another 557 operations with coverage for the values for the operands. However, all of there operations utilize x12 for Rd, x10 for Rs1, and x11 for Rs2.
While this does cover the div functionality defined in the functional coverage, this testcase would do a better job of ensuring compatibility those registers were changed up a bit.