www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/fdhdltool.m
%FDHDLTOOL Launches the GUI to generate HDL % FDHDLTOOL(Hb) launches the Generate HDL dialog that lets you % customize and generate Verilog or VHDL code and test benches for a copy % of the quantized filter, Hb. You have to call FDHDLTOOL again if % you make changes in the filter, Hb at the command line. % % The main dialog and two subordinate dialogs provide access to many % options for customizing the generated filter and test bench code. % % The Generate HDL main dialog categorizes options in two frames: % % * HDL Filter - Options you are most likely to customize at least once: % language selection, name and location of generated files, reset % specifications, and optimizations. % % * Test bench types - Options for naming and specifying the type of test % bench files to generate, and specific types of stimuli the test benches % are to apply. % % Example: % filtdes = fdesign.lowpass('N,Fc,Ap,Ast',30,0.4,0.05,0.03,'linear'); % Hb = design(filtdes,'filterstructure','dffir'); % Hb.arithmetic = 'fixed'; % fdhdltool(Hb); % % See also GENERATEHDL, GENERATETB, GENERATETBSTIMULUS. % [EOF]