4 Commits

Author SHA1 Message Date
canisio
1622f922f9 MeanPowSpec validated on board 2026-04-29 17:07:10 -03:00
canisio
041218aa7f test MeanPowSpec on ZCU111 2026-04-29 16:35:55 -03:00
canisio
d9f7798814 Added Mean Power Spectrum calculation on PS 2026-04-29 16:10:21 -03:00
canisio
1ab873419e clean version after tagging 2026-04-29 14:11:51 -03:00
7 changed files with 16 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
%% FrFT Validation Script (Reference vs Original) %% FrFT Validation Script (Reference vs Original)
% Author: Canisio Barth % Author: Canisio Barth
clear; clc; close all; clear; clc; close all;

View File

@@ -18,16 +18,16 @@ and operates deterministically in the PL after a trigger from the PS.
## Architecture ## Architecture
TxPulseStart (PS) TxPulseStart (PS)
pulse_gen_ctrl (FSM) pulse_gen_ctrl (FSM)
tx_active tx_active
Phase Increment Logic Phase Increment Logic
NCO (DDS) NCO (DDS)
Complex Output (I/Q) Complex Output (I/Q)
--- ---

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -24,8 +24,8 @@ NCOCountIncDT = numerictype(1,NCOAccumWL*2,NCOAccumWL);
%% Test signal parameters %% Test signal parameters
% Pulse start/end frequencies % Pulse start/end frequencies
pulseCentFreq = 0e6; %pulseCentFreq = 0e6;
pulseBw = 50e6; % Pulse bandwidth pulseBw = 40e6; % Pulse bandwidth
% Number of pulses % Number of pulses
numPulses = 10; numPulses = 10;
@@ -36,7 +36,7 @@ PRI = 1/PRF;
% Pulse time duration % Pulse time duration
%pulseT = 10; % use very long pulse help emulate CW %pulseT = 10; % use very long pulse help emulate CW
pulseT = 10e-6; pulseT = 20e-6;
% CW mode (bypass pulse generation) % CW mode (bypass pulse generation)
%CwMode = false; %CwMode = false;
@@ -53,10 +53,10 @@ bd = bdroot; % Retrive which model is calling this function
switch bd switch bd
case 'soc_rfsoc_top' case 'soc_rfsoc_top'
TsSW = 0.0005; % Signal generator and capture update rate TsSW = 0.0005; % Signal generator and capture update rate
StopTime = 0.0025; % Simulation total time StopTime = 0.025; % Simulation total time
case 'gm_soc_rfsoc_top_sw' case 'gm_soc_rfsoc_top_sw'
TsSW = 0.5; TsSW = 0.5;
StopTime = 10; StopTime = 60;
otherwise otherwise
error('rfsoc_init: InvalidModel (%s not supported).', bd); error('rfsoc_init: InvalidModel (%s not supported).', bd);
end end