6 Commits

7 changed files with 17 additions and 16 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -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,9 +34,10 @@ 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;
@@ -53,10 +54,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.25;
StopTime = 10; StopTime = 250;
otherwise otherwise
error('rfsoc_init: InvalidModel (%s not supported).', bd); error('rfsoc_init: InvalidModel (%s not supported).', bd);
end end