Skip to content

Commit

Permalink
Get Sysgen block from top-level, even if RFDC is in a subsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-h committed Jan 5, 2023
1 parent c8cf15c commit 6c67275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xps_library/get_rfsoc_properties.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
% callbacks access those workspace values?

% get xsg block to extract current part set by platform
sysgen_blk = find_system(gcs, 'SearchDepth', 1, 'FollowLinks', 'on',...
sysgen_blk = find_system(bdroot, 'SearchDepth', 1, 'FollowLinks', 'on',...
'LookUnderMasks', 'all', 'Tag', 'genX');
if length(sysgen_blk) == 1
xsg_blk = sysgen_blk{1};
Expand Down

0 comments on commit 6c67275

Please sign in to comment.