1. A system, comprising: a first memory; a plurality of first circuits, wherein each first circuit: is coupled to the memory; and includes: a second circuit configured to generate a first output value in response to an input value received from the first memory and including a look-up-table configured to output the first output value in response to the input value; and an accumulator configured to receive the first output value and generate a second output value; and a controller coupled to the memory and the first circuits, and configured to determine the input values to be transmitted from the memory to the first circuits; wherein each first circuit further comprises: a second memory configured to store second input values; a first multiplexer configured to select a second input value from the second input values stored in the second memory; a third memory configured to store second output values from the accumulator; and a second multiplexer configured to select a stored second output value from the third memory; wherein: the accumulator is configured to load the selected stored second output value from the second multiplexer; and the look-up-table is configured to output the first output value in response to the selected second input value from the first multiplexer.