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:
canisio
2026-04-27 18:32:31 -03:00
parent b8d2d6a5dd
commit edef1dbed3
27 changed files with 9 additions and 57 deletions

View File

@@ -24,7 +24,7 @@ NCOCountIncDT = numerictype(1,NCOAccumWL*2,NCOAccumWL);
%% Test signal parameters
% Pulse width
pulseWidth = 0.001;%4e-6;
pulseWidth = 4e-6;
% Pulse start/end frequencies
pulseCentFreq = 0e6;
@@ -39,6 +39,9 @@ PRI = 1/PRF;
% CW mode (bypass pulse generation)
CwMode = true;
if CwMode
pulseWidth = 1000; % very long pulse help emulate CW
end
% Counter mode (bypass pulse and CW generation)
CounterMode = true;
@@ -49,7 +52,7 @@ pulseGenGain = 1;
%% Software parameters
% Signal generator update rate
TsSW = 0.0005;
TsSW = 0.5;
%% Simulation parameters
@@ -78,7 +81,7 @@ channelizerCoeffs = channelizer.coeffs.Numerator;
%chanFStart = chanBW/2:chanBW:(fs/2-chanBW/2);
%Number of frames in the DPW
nFrames = 128;%nChan/SamplesPerCycle;
nFrames = 1024;%nChan/SamplesPerCycle;
% Frame size after serializing x2
%frameSize = SamplesPerCycle/2;