Added "top" attribute to mark top module in hierarchy