Accessing a generate block hierarchy

*In reply to suhas.ns:*If you want more help form me, I need this in the form of a complete self contained example.