Files
Zcu111ResmReceiver/utilities/soc_rfsoc_prj_startup.m
2026-05-22 15:42:32 -03:00

24 lines
605 B
Matlab

%% Startup Tasks
%
% Configure HDL Coder to use Xilinx Vivado for HDL workflows
% only when Vivado is installed on this machine.
%
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