Look up table

Memory based LUT

2 N-location M-bit memory can perform any N-input, M-output function