Generic ArrayLogic (GAL) devices are electrically erasable, programmable, and bit-configurable PLDS invented in 1985. Representative GAL chips are GAL16V8, GAL20, these two GAL can simulate almost all types of PAL devices. In practical applications, GAL devices have 100% compatibility with PAL device simulation, so GAL can almost completely replace PAL devices, and can replace most SSI and MSI digital integrated circuits, so it is widely used.