Different top level inverter layouts exploiting double gate mode vs Ref