www.gusucode.com > hdlverifier 案例代码 matlab源码程序 > hdlfilter/FDHDLToolExample.m
%% Open the Generate HDL Dialog Box for a Filter Design % Design a filter System object(TM). Fs = 96e3; filtSpecs = fdesign.lowpass(20e3,22.05e3,1,80,Fs); FIRLowpass = design(filtSpecs,'equiripple','filterstructure','dfsymfir','SystemObject',true); %% % Choose a fixed-point data type for the input data. T = numerictype(1,16,15); %% % Open the |Generate HDL| dialog box by passing the filter and the data % type as arguments. fdhdltool(FIRLowpass,T)