a digital finite impulse response filter having a shift register for receiving a digital signal , a counter for counting pulses in a sampling signal and a look - up table read - only memory having address inputs coupled to the outputs of the stages of the fir filter and to the outputs from the counter . the output of the rom forms the filtered signal . this digital filter approach allows for a balance between cost and performance and is inherently flexible due to the programmable nature of its core device .