Defects such as holes and bumps in the surface of a semiconductor wafer are detected by an optical inspection system that combines darkfield and brightfield illumination techniques. The result indicates the number of invalid instructions in the queue cycle K. The first and second semiconductor chips may have corresponding first regions and corresponding second regions. Noise detection circuitry is provided to reduce noise in the power that is delivered to the load.