How to resolve this issue ? I have given the port same name as the net name but still get this error.
Error 1356 may occur when attempting to swap or change the net names associated with ports within a hierarchical block symbol. To remedy this error, go to Setup > Settings > Advanced and uncheck the box next to "Automatically synchronize Fub pin and associated port name and type" as seen in the image below.
If the block is 'Frozen' you cannot update it, use the context menu on the block to unfreeze it - Context menu - Symbol - Unfreeze
Retrieving data ...