Accessing a generate block hierarchy

In reply to dave_59:

Code at EDA playground:
Self contained code here