1. An arithmetic circuit, comprising: an output; a first input coupled to a sequencer circuit that provides a plurality of signals in a predetermined order, wherein the first input receives a first signal of the plurality of signals from the sequencer circuit; second and third inputs that receive second and third signals; a multiplier that has first and second multiplier input ports and a multiplier output port, wherein the multiplier output port is coupled to the output; and configuration circuitry that configures the arithmetic circuit to implement a first arithmetic function by routing the first and second signals to the first and second multiplier input ports in a first mode and that configures the arithmetic circuit to implement a second arithmetic function by routing the second and third signals to the first and second multiplier input ports in a second mode.