32 lines
823 B
Matlab
32 lines
823 B
Matlab
classdef M8199A < AWG
|
|
properties
|
|
|
|
end
|
|
|
|
methods
|
|
|
|
function obj = M8199A(options)
|
|
%This is a ready to use AWG simulation that resembles the
|
|
%properties of the Keysight M8199A
|
|
|
|
arguments
|
|
options.kover = 8;
|
|
end
|
|
|
|
dac_max = 0.3;
|
|
dac_min = -0.3;
|
|
|
|
fdac = 256e9;
|
|
|
|
Lp_awg = Filter('filtdegree',4,"f_cutoff",65e9,"fs",fdac*options.kover,"filterType",filtertypes.butterworth,"active",true);
|
|
|
|
obj = obj@AWG("fdac",fdac,"dac_min",dac_min,"dac_max",dac_max,"lpf_active",1,"H_lpf",Lp_awg,"kover",options.kover,...
|
|
"bit_resolution",5.5,"normalize2dac",1,"upsampling_method","samplehold");
|
|
|
|
end
|
|
|
|
|
|
end
|
|
|
|
|
|
end |