[UVM RAL] how to exclude some registers in the register test

In reply to jacobi:

Hello, there could be multiple ways you can achieve the same results:

  1. by default the uvm reg sequences have a special continue check mechanism used in the body where they check if the specific uvm reg has the flag uvm_no_[ral_test,ral_write_test] if those flags are set to 1 then it will continue from the for each used to run through all the registers in the specific map. By setting and unsetting those you can exclude and then include back again the registers.
  2. you can create your own file listing the registers you wanna exclude and then before starting the sequence you simply call the exclusion method
  3. you can use the set compare alternatively to avoid checking with the mirror but as far I can understand from your concerns the tax should never start if you are not targeting the register is that correct ?
  4. lastly you can extend the uvm the sequence and then pass the registers you do not wanna touch, surely it make it less reusable but maybe you can always customize it to make suitably for many scenarios.

Hope this helps you. Regards