Skip to content

Commit

Permalink
Update BSPTestsBase to use vivado path from env
Browse files Browse the repository at this point in the history
  • Loading branch information
StancaPop committed Jan 22, 2025
1 parent 8fc5eac commit a7320dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/BSPTestsBase.m
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function setVivadoPath(~,vivado)
if ispc
pathname = ['C:\Xilinx\Vivado\',vivado,'\bin\vivado.bat'];
elseif isunix
pathname = ['/emea/mediadata/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 +203,4 @@ function testMain(testCase, configs, SynthesizeDesign)
end
end
end
end
end

0 comments on commit a7320dd

Please sign in to comment.