Compare commits
8 Commits
1d0309f060
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19fd4dfb2d | ||
|
|
1622f922f9 | ||
|
|
041218aa7f | ||
|
|
d9f7798814 | ||
|
|
1ab873419e | ||
|
|
65cef793ac | ||
|
|
99c6b62fc6 | ||
|
|
dc76c69731 |
@@ -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;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info Ref="codegen_frft/codegen/mex/fracF_cg/interface" Type="Relative"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info location="4a7e46c8-b608-4097-9e1f-6b08f40b724c" type="Reference"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info Ref="codegen_frft" Type="Relative"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info location="e5067e19-daed-4732-909a-6dc210e105d6" type="Reference"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info Ref="codegen_frft/codegen" Type="Relative"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info location="7593a6a4-6687-4364-8723-1bc8794d0177" type="Reference"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info Ref="codegen_frft/codegen/mex" Type="Relative"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info location="732585ee-100e-439f-988e-c97de5008a4c" type="Reference"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info Ref="codegen_frft/codegen/mex/fracF_cg" Type="Relative"/>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Info location="81080468-b05c-494e-b13d-b9983b9ef350" type="Reference"/>
|
||||||
Binary file not shown.
@@ -25,7 +25,7 @@ NCOCountIncDT = numerictype(1,NCOAccumWL*2,NCOAccumWL);
|
|||||||
|
|
||||||
% 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;
|
||||||
@@ -34,28 +34,33 @@ numPulses = 10;
|
|||||||
PRF = 7.5e3;
|
PRF = 7.5e3;
|
||||||
PRI = 1/PRF;
|
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;
|
||||||
|
|
||||||
% Counter mode (bypass pulse and CW generation)
|
% Counter mode (bypass pulse and CW generation)
|
||||||
CounterMode = true;
|
%CounterMode = true;
|
||||||
|
|
||||||
% Output gain
|
% Output gain
|
||||||
pulseGenGain = 1;
|
pulseGenGain = 1;
|
||||||
|
|
||||||
%% Software parameters
|
%% Simulation/External Mode parameters (conditional)
|
||||||
|
bd = bdroot; % Retrive which model is calling this function
|
||||||
|
|
||||||
% Signal generator update rate
|
switch bd
|
||||||
TsSW = 0.5;
|
case 'soc_rfsoc_top'
|
||||||
|
TsSW = 0.0005; % Signal generator and capture update rate
|
||||||
%% Simulation parameters
|
StopTime = 0.025; % Simulation total time
|
||||||
|
case 'gm_soc_rfsoc_top_sw'
|
||||||
% Sim run time
|
TsSW = 0.25;
|
||||||
%stoptime = TsFPGA*(9 + 1*348 + 1 + 2*128 + 1); %10*TsSW; %TsFPGA*(1*128+348)
|
StopTime = 250;
|
||||||
|
otherwise
|
||||||
|
error('rfsoc_init: InvalidModel (%s not supported).', bd);
|
||||||
|
end
|
||||||
|
|
||||||
%% Channelizer parameters
|
%% Channelizer parameters
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user