Skip to content
Snippets Groups Projects
Commit 70a57074 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

tcv02standard outputs crosschecks with MARTe begun

At this stage we begun running tcv02standard in MARTe
in i9 (tcvrt02b) machine and to compare results
with the simulation
parent 69fd8c17
No related branches found
No related tags found
No related merge requests found
......@@ -141,6 +141,30 @@ classdef SCDclass_mdswgsigarray1 < SCDclass_mdswg
entrystring=obj.genMARTe2entrycommon(shot);
entrystring=[entrystring ' StartIdx=' num2str(obj.srcstartidx) ' StopIdx=' num2str(obj.srcstopidx) ' }'];
end
% * S_uint8 = {
% * NodeName = "S_uint8" // node of the tree node
% * Type = "uint8" //Can be any of the node supported types
% * NumberOfElements = 32
% * DataManagement = 0 //could be 0, 1 or 2
% * HoleManagement = 1 //could be 0 or 1
% * }
function expentries = genMARTe2entryexpanded(obj, shot)
%entrystring=obj.genMARTe2entrycommon(shot);
expentries='';
for ii=obj.srcstartidx:obj.srcstopidx
expandedtdi = sprintf(obj.tdiexpr, ii);
martename=expandedtdi;
sigentry=sprintf(' %s={ NodeName=%s Type=float32 NumberOfElements=1 DataManagement=0 HoleManagement=1 }\n',martename, expandedtdi);
expentries=[expentries sigentry];
end
end
end
end
% Sets the code generation configuration settings on all the models
function [] = SCDconf_setCODEconf()
disp('Setting configurationSettings = configurationSettingsCODE at tcv level ...');
d=Simulink.data.dictionary.open('tcv.sldd');
dd=getSection(d, 'Configurations');
activeconf=dd.getEntry('configurationSettings');
codeconf=dd.getEntry('configurationSettingsCODE');
configurationSettings=codeconf.getValue;
configurationSettings.Name='configurationSettings';
activeconf.deleteEntry;
dd.addEntry('configurationSettings',configurationSettings);
end
\ No newline at end of file
% Sets the simulation configuration settings on all the models
function [] = SCDconf_setSIMconf()
disp('Setting configurationSettings = configurationSettingsSIM at tcv level ...');
d=Simulink.data.dictionary.open('tcv.sldd');
dd=getSection(d, 'Configurations');
activeconf=dd.getEntry('configurationSettings');
simconf=dd.getEntry('configurationSettingsSIM');
configurationSettings=simconf.getValue;
configurationSettings.Name='configurationSettings';
activeconf.deleteEntry;
dd.addEntry('configurationSettings',configurationSettings);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment