Localize the effect of a PLI system task to specific hierarchies

Hi,

Is there a way to limit the scope/visibility of system task defined through PLI to specific hierarchies ?

A certain system task is used my design in different hierarchies. I want few of them to have a specific behavior or specific return values. My plan is to override them through PLI but only for specified hierarchies.

Is it possible ?

In reply to srikanthvvs1:

The PLI system task override mechanism is global. But you can query the hierarchy once inside the PLI and do something based on the result.