if in the chip/device block