210 likes | 368 Views
FIR Filter CMPE 222 – Project. Divya Misra Gnanapriya Mohanavelu. FIR Filter. Aim of the project. Study the effect of latency Study the effect of type of adders on area&timing Understanding the synopsys tool Effect of taps on filters. Terms used. Coefficients Taps Memory
E N D
FIR FilterCMPE 222 – Project Divya Misra Gnanapriya Mohanavelu
Aim of the project • Study the effect of latency • Study the effect of type of adders on area&timing • Understanding the synopsys tool • Effect of taps on filters
Terms used • Coefficients • Taps • Memory • No. of calculations • Filtering • Advantages • Stop band attenuation • Less ripple • Narrower filter
What we did • Combinational circuit for addition • Synthesis (had problems) • All multiplications in the same stage • Feeding constants externally • Synthesis (had problems)
Latency map_effort = medium + boundary optimization
Synthesis • list command • Lists information about the commands,variables and licenses in the design analyzer or standard dc_shell • e.g.: list link_library link_library = {"typical.db"}
Shell script used for synthesis %dc_shell free –design alias veri “read –f verilog” veri fir.v veri fir_ctrl.v veri fir_dp.v link compile –map_effort medium –boundary_optimization
Changing the type of adder dc_shell>current_design fir_dp dc_shell> report_resources Implementation Report ========================================================================== | | | Current | Set | | Cell | Module | Implementation | Implementation | =========================================================================== | mult_30 | DW02_mult | csa | | | mult_36 | DW02_mult | csa | | | r124 | DW01_add | rpl | | ========================================================================== dc_shell>set_implementation clf r124 dc_shell> report_resources
Changing the type of adder (contd.) Implementation Report ========================================================================== | | | Current | Set | | Cell | Module | Implementation | Implementation | =========================================================================== | mult_30 | DW02_mult | nbw | | | mult_36 | DW02_mult | wall | | | r124 | DW01_add | clf | clf | ==========================================================================
16-tap filter sample D D D D c0 c1 c2 c3 c15 result + + + +
Logic used A = sum0+sum1 +sum2+sum3 C = sum8+sum9 +sum10+sum11 D = sum12+sum13 +sum14+sum15 B = sum4+sum5 +sum6+sum7 Result =A+B+C+D
Area & timing • Area = 985775.25 • Timing = 9.77