% %显示滤波器系数
% for i = 0:1:62;
% disp(['parameter ' 'cof' num2str(i) ' = ' '14''h' b0(i+1,:) ';']);
% end
% for i = 0:1:62;
% disp(['reg ' '[PDATA_WIDTH-1:0]' ' add' num2str(i+1) ';']);
% end
% for i = 0:1:62;
% disp(['wire ' '[PDATA_WIDTH+COEFF_WIDTH-1:0]' ' mul' num2str(i+1) ';']);
% end
% for i = 0:1:62;
% disp(['reg ' '[PDATA_WIDTH+COEFF_WIDTH-1:0]' ' mul' num2str(i+1) '_reg' ';']);
% end
% for i = 0:1:30;
% disp(['reg ' '[PDATA_WIDTH+COEFF_WIDTH:0]' ' add_mul' num2str(i+1) ';']);
% end
% for i = 0:1:62;
% disp(['signed_mut mul_' num2str(i+1) '( .clock(clk), .dataa(cof' num2str(i) '), .datab(add[' num2str(i+1) '] ), ' '.result(mul[' num2str(i+1) ']) ); ' ]);
% end
%
% for i = 0:1:127;
% disp(['signed_mut mul_' num2str(i+1) '( .clock(clk), .dataa(cof' num2str(i) '), .datab(shift_buf[' num2str(i) '] ), ' '.result(mul[' num2str(i) ']) ); ' ]);
% end
% for i = 0:1:126;
% disp(['shift_buf[' num2str(i+1) '] <= shift_buf[' num2str(i) ']; ' ]);
% end
% for i = 0:1:62;
% disp(['unsigned_mut mul_' num2str(i+1) '( .dataa(cof' num2str(i) '), .datab(add[' num2str(i+1) '] ), ' '.result(mul[' num2str(i+1) ']) ); ' ]);
% end
% for i = 0:1:62;
% disp(['mul_reg[' num2str(i+1) '] + ' ]);
% end
%
% for i = 0:1:62;
% disp(['{mul_reg[' num2str(i+1) '][28], ' 'mul_reg[' num2str(i+1) '][28], ' 'mul_reg[' num2str(i+1) ']} +'] );
% end
% for i = 0:2:62;
% disp(['temp[' num2str(i/2) '] <= ' '{mul_reg[' num2str(i) '][28], ' 'mul_reg[' num2str(i) ']} + ' '{mul_reg[' num2str(i+1) '][28], ' ' mul_reg[' num2str(i+1) ']};'] );
% end
% for i = 0:2:62;
% disp(['temp[' num2str(i/2) '] <= ' 'mul_reg[' num2str(i) '] + ' ' mul_reg[' num2str(i+1) '];'] );
% end
% for i = 0:2:30;
% disp(['temp1[' num2str(i/2) '] <= ' '{temp[' num2str(i) '][29], ' 'temp[' num2str(i) ']} + ' '{temp[' num2str(i+1) '][29], ' ' temp[' num2str(i+1) ']};'] );
% end
% for i = 0:2:30;
% disp(['temp1[' num2str(i/2) '] <= ' 'temp[' num2str(i) '] + ' ' temp[' num2str(i+1) '];'] );
% end
% for i = 0:2:14;
% disp(['temp2[' num2str(i/2) '] <= ' '{temp1[' num2str(i) '][30], ' 'temp1[' num2str(i) ']} + ' '{temp1[' num2str(i+1) '][30], ' ' temp1[' num2str(i+1) ']};'] );
% end
% for i = 0:2:14;
% disp(['temp2[' num2str(i/2) '] <= ' 'temp1[' num2str(i) '] + ' ' temp1[' num2str(i+1) '];'] );
% end
% for i = 0:2:8;
% disp(['temp3[' num2str(i/2) '] <= ' '{temp2[' num2str(i) '][31], ' 'temp1[' num2str(i) ']} + ' '{temp2[' num2str(i+1) '][31], ' ' temp2[' num2str(i+1) ']};'] );
% end
% for i = 0:2:8;
% disp(['temp3[' num2str(i/2) '] <= ' 'temp1[' num2str(i) '] + ' ' temp2[' num2str(i+1) '] ;'] );
% end
% for i = 0:2:31;
% disp(['temp[' num2str(i/2+32) '] = ' 'temp[' num2str(i) '] +' ' temp[' num2str(i+1) '];'] );
% end
% for i = 0:2:31;
% disp(['temp[' num2str(i/2+48) '] = ' 'temp[' num2str(i + 32) '] +' ' temp[' num2str(i+33) '];'] );
% end
% for i = 0:1:12;
% disp(['shift_buf[' num2str(i+1) '] <= ' 'shift_buf[' num2str(i) '];'] );
% end
% for i = 1:1:64;
% disp(['adder add' num2str(i) '( .clock(clk), .dataa(shift_buf[' num2str(i-1) ']), .datab( shift_buf[' num2str(128-i) ']), .result(add[' num2str(i) ']) );'] );
% end