9 Commits

Author SHA1 Message Date
canisio
22c51e1597 FrFT not working (for each error) 2026-06-09 14:54:59 -03:00
canisio
23a3503cb1 initialization of pulse center freq. 2026-06-09 10:51:09 -03:00
canisio
21c46dc45e removed subfolders codegen_frft 2026-05-22 15:58:53 -03:00
canisio
99ffaa1bfc startup funcion adapted to non-vivado machines 2026-05-22 15:42:32 -03:00
canisio
48bbb7102a first tests on FrFT 2026-05-22 12:57:30 -03:00
canisio
b57260583a fft of FrFT block changed from FFTW to auto 2026-05-21 17:30:38 -03:00
canisio
8839674480 renamed the scopes to differentiate sim to hw 2026-05-21 17:22:52 -03:00
canisio
005d488d79 Added variant subsystem and placeholder for FrFT. Simulation OK. External gives error 2026-05-19 17:19:30 -03:00
canisio
baedad87fa NEON optimization enabled for C code generation on both proc and interface models 2026-04-30 17:39:17 -03:00
16 changed files with 37 additions and 28 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info Ref="codegen_frft/codegen/mex/fracF_cg/interface" Type="Relative"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="4a7e46c8-b608-4097-9e1f-6b08f40b724c" type="Reference"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info Ref="codegen_frft/codegen" Type="Relative"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="7593a6a4-6687-4364-8723-1bc8794d0177" type="Reference"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info Ref="codegen_frft/codegen/mex" Type="Relative"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="732585ee-100e-439f-988e-c97de5008a4c" type="Reference"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="a92ac691-f104-48a3-8517-c0b00eec410f" type="Reference"/>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="c2875307-deb1-4e40-b64d-d77c1eb908cb" type="Reference"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info Ref="codegen_frft/codegen/mex/fracF_cg" Type="Relative"/>

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Info location="81080468-b05c-494e-b13d-b9983b9ef350" type="Reference"/>

Binary file not shown.

View File

@@ -25,7 +25,7 @@ NCOCountIncDT = numerictype(1,NCOAccumWL*2,NCOAccumWL);
% Pulse start/end frequencies
pulseCentFreq = 0e6;
pulseBw = 40e6; % Pulse bandwidth
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;

View File

@@ -1,8 +1,24 @@
%% Startup Tasks
%
% Configure HDL Coder to use Xilinx Vivado for HDL workflows.
% Configure HDL Coder to use Xilinx Vivado for HDL workflows
% only when Vivado is installed on this machine.
%
hdlsetuptoolpath('ToolName','Xilinx Vivado', ...
'ToolPath','/tools/Xilinx/Vivado/2024.1/bin/vivado');
%%
vivadoPath = '/tools/Xilinx/Vivado/2024.1/bin/vivado';
if exist(vivadoPath, 'file') == 2
hdlsetuptoolpath( ...
'ToolName', 'Xilinx Vivado', ...
'ToolPath', vivadoPath);
fprintf('[FrFT Project] Vivado detected. HDL workflow enabled.\n');
else
warning([ ...
'[FrFT Project] Vivado not found.\n' ...
'HDL synthesis / bitstream generation disabled.\n' ...
'Project running in MATLAB/Simulink modeling-only mode.']);
end