Accessing a generate block hierarchachy

In reply to harshit1027:

Without seeing any code, it is impossible to provide any advice.