Skip to content

Commit

Permalink
Merge pull request #56 from analogdevicesinc/fhdemo_path_fix
Browse files Browse the repository at this point in the history
Freq hopping demo - path fix needed to run hdlworkflow.m on both Linu…
  • Loading branch information
tfcollins authored Jan 28, 2021
2 parents 8c9fec1 + bf570b6 commit 626d7fb
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@

% Get the root directories
rootDirExample = fileparts(strtok(mfilename('fullpath'), '+'));
tmp = strsplit(rootDirExample,'/');
tmp = strsplit(rootDirExample,filesep);

rootDir = fullfile('/',tmp{1:end-3});
if isunix
rootDir = fullfile(filesep,tmp{1:end-3});
else
rootDir = fullfile(tmp{1:end-3});
end
rootDirBSP = fullfile('hdl','vendor','AnalogDevices','vivado');

% Design files are shared
Expand Down

0 comments on commit 626d7fb

Please sign in to comment.