diff --git a/referencedmodels/soc_rfsoc_fpga.slx b/referencedmodels/soc_rfsoc_fpga.slx index fde0911..d065ec5 100644 Binary files a/referencedmodels/soc_rfsoc_fpga.slx and b/referencedmodels/soc_rfsoc_fpga.slx differ diff --git a/soc_rfsoc_top.slx b/soc_rfsoc_top.slx index 34db942..7b4cb8d 100644 Binary files a/soc_rfsoc_top.slx and b/soc_rfsoc_top.slx differ diff --git a/utilities/soc_rfsoc_init.m b/utilities/soc_rfsoc_init.m index c1130a1..2de0dd6 100644 --- a/utilities/soc_rfsoc_init.m +++ b/utilities/soc_rfsoc_init.m @@ -75,33 +75,4 @@ channelizerCoeffs = channelizer.coeffs.Numerator; nFrames = nChan/SamplesPerCycle; % Frame size after serializing x2 -%frameSize = SamplesPerCycle/2; - - - - - -% function soc_rfsoc_init(mdlPath) -% % Initialization fcn for the model. It sets the model-wide params -% % which are derived based on sample rate. -% -% % 'FrameSize and 'NumBuffers' variables are set during model -% % PreLoadFcn callback into base workspace. These two variables should be -% % changed directly at the MATLAB command -% -% % FrameSize = evalin('base','FrameSize'); -% -% dacSampleRate = get_param([mdlPath '/RF Data Converter'], 'dacSampleRate'); -% dacSampleRate = evalin('base', dacSampleRate)*1e6; -% dacSamplesPerCycle = str2double(get_param([mdlPath '/RF Data Converter'], 'dacSamplesPerCycle')); -% dacInterpolationMode = str2double(get_param([mdlPath '/RF Data Converter'], 'interpolationMode')); -% streamClkFrequency = dacSampleRate/(dacSamplesPerCycle*dacInterpolationMode); -% -% SampleTime = 1/streamClkFrequency; -% -% % derived model-wide variables set into base workspace. -% assignin('base','FPGAClkRate', streamClkFrequency); -% assignin('base','TsFPGA', SampleTime); -% assignin('base','SamplesPerCycle', dacSamplesPerCycle); -% assignin('base','IntDecFactor', dacInterpolationMode); -% end \ No newline at end of file +%frameSize = SamplesPerCycle/2; \ No newline at end of file