How to bind inner signals from DUT?

In reply to sharvil111:

Thanks sharvil111’s excellent reply. Now it can be running without error.

One purpose of this code is to force dutI.A0.inner and dutI.A1.inner in a nice way instead of hard-coding path hierarchy.

However, I just realize that it doesn’t work as what I am intent.

For same reason, dutI.A1.m1.set_inner didn’t affect dutI.A1.inner? Can somebody explain why?
Or is it possible to drive internal signals via binding?