502 I/O programmable logic