Constraining an Object's Object's Variable

In reply to dsherman0623:
Is that code in a module?
My first impression is that the code is disorganized, I. E., not well structured.
This creates code that is hard to understand. Why don’t you use extended classes?
Ben systemverilog.us