A programmable logic array (PLA) device has a programmable AND array at the input and a programmable OR array at…