In reply to dave_59:
Thanks for the generate suggestion. I assume the race condition you mentioned isn’t really related to this? I could/would have the same issue with my case statement solution?
Now the real problem is that the objects I want to create are UVM agents inside a UVM env. I think the generate wont work there? I assume I could create the agents just like the interfaces on the ‘static module’ side of the testbench and pass handles in the config db. But this kind of (further) breaks the top-down UVM construction like it is the case with the interfaces.