Skip to content

Commit

Permalink
Set M 2023b and V 2023.2
Browse files Browse the repository at this point in the history
  • Loading branch information
StancaPop committed Jan 27, 2025
1 parent 9dae66d commit c9a78ab
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions +adi/Version.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
% Version
% BSP Version information
properties (Constant)
Vivado = '2022.2'
MATLAB = 'R2022a'
Vivado = getenv('req_vivado_v')
MATLAB = getenv('req_matlab_v')
Release = '21.2.1'
AppName = 'Analog Devices, Inc. Precision Toolbox'
ToolboxName = 'PrecisionToolbox'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
hRD.BoardName = sprintf('AnalogDevices CN0585 GPIO Control');

% Tool information
hRD.SupportedToolVersion = {'2023.2'};
hRD.SupportedToolVersion = {getenv('req_vivado_v')};

% Get the root directories
rootDirExample = fileparts(strtok(mfilename('fullpath'), '+'));
Expand Down
3 changes: 1 addition & 2 deletions pcx_examples/targeting/cn0585/cn0585_hdl/build_bsp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ fi
VIVADO=${VER}

# Setup
#source /opt/Xilinx/Vivado/$VIVADO/settings64.sh
source /emea/mediadata/opt/Xilinx/Vivado/$VIVADO/settings64.sh
source "$vivado_settings_path"

# Rename .prj files since MATLAB ignores then during packaging
FILES=$(grep -lrn hdl/projects/common -e '.prj' | grep -v Makefile | grep -v .git)
Expand Down
4 changes: 3 additions & 1 deletion test/BSPTestsBase.m
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ function setVivadoPath(~,vivado)
pathname = ['C:\Xilinx\Vivado\',vivado,'\bin\vivado.bat'];
elseif isunix
pathname = ['/emea/mediadata/opt/Xilinx/Vivado/',vivado,'/bin/vivado'];
%pathname = ['/opt/Xilinx/Vivado/',vivado,'/bin/vivado'];
%pathname = getenv('vivado_settings_path');
end
end
assert(exist(pathname,'file')>0,'Correct version of Vivado is unavailable or in a non-standard location');
Expand Down Expand Up @@ -203,4 +205,4 @@ function testMain(testCase, configs, SynthesizeDesign)
end
end
end
end
end
2 changes: 1 addition & 1 deletion test/build_design.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

% Specify the top level project directory
hWC.ProjectFolder = folder;
hWC.ReferenceDesignToolVersion = '2023.2';
hWC.ReferenceDesignToolVersion = getenv('req_vivado_v');
hWC.IgnoreToolVersionMismatch = true;
hWC.AllowUnsupportedToolVersion = true;

Expand Down

0 comments on commit c9a78ab

Please sign in to comment.