Distribution constraint question

In reply to dave_59:

[0:max_ip]:/1

I thought this would attempt to distribute 1 “distribution point” among each of the members of the specified array?

Edit: This appears to work. I assume it successfully divides up the number 1 into (2**32)-1 tiny pieces.

I don’t see why extending a class results in extra config_db accesses. You will have to explain further.

my (madeup) rule: I should not place database accesses into classes of type uvm_sequence_item. Why? If there are several hundreds of them made, then that is lot of database accesses, resulting in an enigmatic quantity of performance degradation. This “rule” of mine might be completely bogus, and if so I would love to hear why. Especially because I would prefer to extend the transaction class!

parameter type(ip) max_ip = '1;

Why use parameters to hardcode this instead of using $?