17 tiny-fir

17 : tiny-fir

Select Project123456789ONSW2

How it works

Multiplies the input by the tap coefficient for each stage and outputs the sum of all stages

How to test

Load tap coefficients by setting the value and pulsing 2 times, then repeat for second tap. Change input value each clock to run filter. Select signals change output to debug 00(normal) 01(output of mult 2) 10(tap values in mem) 11(output of mult 1). FIR output discards least significant bit due to output limitations

External hardware

Arduino or FPGA

IO

#InputOutput
0clockfir1/mult0/tap10
1data0/tap0fir2/mult1/tap11
2data1/tap1fir3/mult2/tap12
3data2/tap2fir4/mult3/tap13
4data3/tap3fir5/mult4/tap20
5select0fir6/mult5/tap21
6select1fir7/mult6/tap22
7loadpulsefir8/mult7/tap23