validation: add checkCounterSamples and verify capture up to 1024 frames on ZCU111
Created checkCounterSamples.m to validate sample continuity, counter wraps, and frame index progression. Verified counter bypass, sine bypass, and channelizer modes up to nFrames=1024 across 10 DPWs on ZCU111.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info>
|
|
||||||
<Category UUID="FileClassCategory">
|
|
||||||
<Label UUID="design"/>
|
|
||||||
</Category>
|
|
||||||
</Info>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="TBc_lfm_fracF.m" type="File"/>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info>
|
|
||||||
<Category UUID="FileClassCategory">
|
|
||||||
<Label UUID="design"/>
|
|
||||||
</Category>
|
|
||||||
</Info>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="fracF_cg.m" type="File"/>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info/>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="1" type="DIR_SIGNIFIER"/>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info>
|
|
||||||
<Category UUID="FileClassCategory">
|
|
||||||
<Label UUID="design"/>
|
|
||||||
</Category>
|
|
||||||
</Info>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="bizinter.m" type="File"/>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info>
|
|
||||||
<Category UUID="FileClassCategory">
|
|
||||||
<Label UUID="design"/>
|
|
||||||
</Category>
|
|
||||||
</Info>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="fracF_ref.m" type="File"/>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info>
|
|
||||||
<Category UUID="FileClassCategory">
|
|
||||||
<Label UUID="design"/>
|
|
||||||
</Category>
|
|
||||||
</Info>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="TBm_lfm_fracF.slx" type="File"/>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info Ref="frft_codegen" Type="Relative"/>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="7b5b7cf9-d79f-4236-86f3-d37f9b8a15b3" type="Reference"/>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info/>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Info location="frft_codegen" type="File"/>
|
|
||||||
Binary file not shown.
@@ -1,7 +1,8 @@
|
|||||||
%% =========================================================
|
%% =========================================================
|
||||||
% Data
|
% Data
|
||||||
% =========================================================
|
% =========================================================
|
||||||
X = single(complex_out.Data);
|
X = single(raw_DPW.Data);
|
||||||
|
X = X(:,:,2:end); % first DPW useless (zeroed)
|
||||||
|
|
||||||
%% =========================================================
|
%% =========================================================
|
||||||
% Parameters
|
% Parameters
|
||||||
@@ -72,7 +73,7 @@ title('3D FFT evolution');
|
|||||||
% Single frame debug (optional)
|
% Single frame debug (optional)
|
||||||
% =========================================================
|
% =========================================================
|
||||||
figure;
|
figure;
|
||||||
x_dbg = X(:,1,1);
|
x_dbg = X(:,end,end);
|
||||||
Xf_dbg = fftshift(fft(x_dbg));
|
Xf_dbg = fftshift(fft(x_dbg));
|
||||||
|
|
||||||
plot(f_axis, 20*log10(abs(Xf_dbg)+1e-12));
|
plot(f_axis, 20*log10(abs(Xf_dbg)+1e-12));
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ NCOCountIncDT = numerictype(1,NCOAccumWL*2,NCOAccumWL);
|
|||||||
%% Test signal parameters
|
%% Test signal parameters
|
||||||
|
|
||||||
% Pulse width
|
% Pulse width
|
||||||
pulseWidth = 0.001;%4e-6;
|
pulseWidth = 4e-6;
|
||||||
|
|
||||||
% Pulse start/end frequencies
|
% Pulse start/end frequencies
|
||||||
pulseCentFreq = 0e6;
|
pulseCentFreq = 0e6;
|
||||||
@@ -39,6 +39,9 @@ PRI = 1/PRF;
|
|||||||
|
|
||||||
% CW mode (bypass pulse generation)
|
% CW mode (bypass pulse generation)
|
||||||
CwMode = true;
|
CwMode = true;
|
||||||
|
if CwMode
|
||||||
|
pulseWidth = 1000; % very long pulse help emulate CW
|
||||||
|
end
|
||||||
|
|
||||||
% Counter mode (bypass pulse and CW generation)
|
% Counter mode (bypass pulse and CW generation)
|
||||||
CounterMode = true;
|
CounterMode = true;
|
||||||
@@ -49,7 +52,7 @@ pulseGenGain = 1;
|
|||||||
%% Software parameters
|
%% Software parameters
|
||||||
|
|
||||||
% Signal generator update rate
|
% Signal generator update rate
|
||||||
TsSW = 0.0005;
|
TsSW = 0.5;
|
||||||
|
|
||||||
%% Simulation parameters
|
%% Simulation parameters
|
||||||
|
|
||||||
@@ -78,7 +81,7 @@ channelizerCoeffs = channelizer.coeffs.Numerator;
|
|||||||
%chanFStart = chanBW/2:chanBW:(fs/2-chanBW/2);
|
%chanFStart = chanBW/2:chanBW:(fs/2-chanBW/2);
|
||||||
|
|
||||||
%Number of frames in the DPW
|
%Number of frames in the DPW
|
||||||
nFrames = 128;%nChan/SamplesPerCycle;
|
nFrames = 1024;%nChan/SamplesPerCycle;
|
||||||
|
|
||||||
% Frame size after serializing x2
|
% Frame size after serializing x2
|
||||||
%frameSize = SamplesPerCycle/2;
|
%frameSize = SamplesPerCycle/2;
|
||||||
Reference in New Issue
Block a user