diff --git a/referencedmodels/soc_rfsoc_proc.slx b/referencedmodels/soc_rfsoc_proc.slx index 16bc64c..8255f80 100644 Binary files a/referencedmodels/soc_rfsoc_proc.slx and b/referencedmodels/soc_rfsoc_proc.slx differ diff --git a/soc_rfsoc_top.slx b/soc_rfsoc_top.slx index 6ba185f..e8459e7 100644 Binary files a/soc_rfsoc_top.slx and b/soc_rfsoc_top.slx differ diff --git a/utilities/soc_rfsoc_init.m b/utilities/soc_rfsoc_init.m index 8d139bc..21c5748 100644 --- a/utilities/soc_rfsoc_init.m +++ b/utilities/soc_rfsoc_init.m @@ -24,8 +24,8 @@ NCOCountIncDT = numerictype(1,NCOAccumWL*2,NCOAccumWL); %% Test signal parameters % Pulse start/end frequencies -pulseCentFreq = 0e6; -pulseBw = 40e6; % Pulse bandwidth +%pulseCentFreq = 0e6; +pulseBw = 32e6; % Pulse bandwidth % Number of pulses numPulses = 10; @@ -37,7 +37,7 @@ PRI = 1/PRF; % Pulse time duration %pulseT = 10; % use very long pulse help emulate CW -pulseT = 20e-6; +pulseT = 32e-6; % CW mode (bypass pulse generation) %CwMode = false; @@ -83,8 +83,17 @@ channelizerCoeffs = channelizer.coeffs.Numerator; %Starting frequency for each channel %chanFStart = chanBW/2:chanBW:(fs/2-chanBW/2); -%Number of frames in the DPW -nFrames = 1024;%nChan/SamplesPerCycle; +%% Frame and DPW capture parameters +samplesFrame = 512; % number of samples in one frame + +TFrame = samplesFrame*Ts_eff; % time duration of a frame + +%Number of frames in the DPW +nFrames = 1024; + +%% FrFT tests +pulseBeta = pulseBw/pulseT; % chirp-rate in Hz/s + +aMatch = -(2/pi)*(atan(fs_eff/(pulseBeta*TFrame))); +%aMatch = -(2/pi)*(atan(fs_eff/(pulseBw*pulseT))); -% Frame size after serializing x2 -%frameSize = SamplesPerCycle/2; \ No newline at end of file