Added pinless version for cmos_inv