Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ALPACA
CASPER
mlib_devel
Commits
6dd1f4d3
Commit
6dd1f4d3
authored
Nov 11, 2022
by
Dallin Wood
Browse files
made changes so it actually saves the module name as part of the save state.
parent
04f28ada
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
xps_library/rfdc_mask.m
xps_library/rfdc_mask.m
+6
-6
No files found.
xps_library/rfdc_mask.m
View file @
6dd1f4d3
...
...
@@ -50,7 +50,8 @@ function [] = rfdc_mask(gcb,force)
set_param
(
gcb
,
'LinkStatus'
,
'inactive'
);
msk
=
Simulink
.
Mask
.
get
(
gcb
);
model_name
=
bdroot
;
[
gen
,
tile_arch
,
fs_max
,
fs_min
]
=
get_rfsoc_properties
(
gcb
);
...
...
@@ -127,7 +128,7 @@ function [] = rfdc_mask(gcb,force)
end
% check if the state has changed
if
~
same_state
(
gcb
,
'Tiles'
,
tiles
,
'Slices'
,
slices
,
'TileArch'
,
tile_arch
)
||
(
strcmp
(
model_name
,
bdroot
)
)
if
~
same_state
(
gcb
,
'Tiles'
,
tiles
,
'Slices'
,
slices
,
'TileArch'
,
tile_arch
,
'ModelName'
,
model_name
)
for
tile
=
224
:
231
QTConf
=
msk
.
getDialogControl
(
sprintf
(
't%d_QuadTileConfig'
,
tile
));
DTConf
=
msk
.
getDialogControl
(
sprintf
(
't%d_DualTileConfig'
,
tile
));
...
...
@@ -155,7 +156,7 @@ function [] = rfdc_mask(gcb,force)
end
end
end
% validate use of MTS for each tile
% adc tiles
mts_adc
=
zeros
(
4
,
1
);
...
...
@@ -293,14 +294,13 @@ function [] = rfdc_mask(gcb,force)
end
end
% t = tiles
model_name
=
base_gw_name
;
% save 'tiles' and 'slices' as a state to compare against later
save_state
(
gcb
,
'Tiles'
,
tiles
,
'Slices'
,
slices
,
'TileArch'
,
tile_arch
);
save_state
(
gcb
,
'Tiles'
,
tiles
,
'Slices'
,
slices
,
'TileArch'
,
tile_arch
,
'ModelName'
,
model_name
);
% delete interfaces for disabled tiles
clean_blocks
(
gcb
);
model_name
=
bdroot
;
end
% ~same_state
% axis_clk_valid = validate_tile_clocking(gcb);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment