 CPLDs can replace thousands, or even hundreds of thousands, of logic gates.Some CPLDs are programmed using a PAL programmer, but this method becomes inconvenient for devices with hundreds of pins.A second method of programming is to solder the device to its printed circuit board, then feed it with a serial data stream from a personal computer.