diff --git a/src/main/java/ui/TGComponent.java b/src/main/java/ui/TGComponent.java index f9e49b0969d2127dfa0440add63d6e637ff2b7e9..aee4054ee7dc4c776a6a990d7cdad2b05d127de2 100644 --- a/src/main/java/ui/TGComponent.java +++ b/src/main/java/ui/TGComponent.java @@ -2922,7 +2922,7 @@ public abstract class TGComponent extends AbstractCDElement implements /*CDElem ActionStateErrorHighlight aseh = (ActionStateErrorHighlight) this; aseh.setStateAction(0); } - + ((TMLArchiDiagramPanel)tdp).handleCPOnDoubleClick(this); return b; } diff --git a/src/main/java/ui/tmldd/TMLArchiCPNode.java b/src/main/java/ui/tmldd/TMLArchiCPNode.java index 61619549094a06fe6e7a426ea9ea293dfb0269a4..e2aa47a4bde902604e8bb38f2d5f5890fff1ca1b 100755 --- a/src/main/java/ui/tmldd/TMLArchiCPNode.java +++ b/src/main/java/ui/tmldd/TMLArchiCPNode.java @@ -454,6 +454,10 @@ public class TMLArchiCPNode extends TMLArchiCommunicationNode implements Swallow public Vector<String> getMappedUnits() { return mappedUnits; } + public void setMappedUnits(Vector<String> listOfCP) { + mappedUnits.clear(); + mappedUnits = new Vector<>(listOfCP); + } public int getCPMEC() { if( cpMEC.equals( "Memory Copy" ) ) { diff --git a/src/main/java/ui/tmldd/TMLArchiDiagramPanel.java b/src/main/java/ui/tmldd/TMLArchiDiagramPanel.java index 7aae9914d345495fe2f87c2522a40ce9a47accc8..e7b7a767d7b34f16081ddbe12b573bbc48b1f65b 100755 --- a/src/main/java/ui/tmldd/TMLArchiDiagramPanel.java +++ b/src/main/java/ui/tmldd/TMLArchiDiagramPanel.java @@ -59,6 +59,7 @@ public class TMLArchiDiagramPanel extends TDiagramPanel implements TDPWithAttrib public static final int VIEW_COMM_PATTERN = 4; public static final int VIEW_PORT_INTERFACE = 2; public static final int VIEW_SECURITY_MAPPING = 1; + public HashMap<TGComponent,List<PairOfTGC>> listOfCP; private int masterClockFrequency = 200; // in MHz @@ -113,6 +114,26 @@ public class TMLArchiDiagramPanel extends TDiagramPanel implements TDPWithAttrib }*/ return false; } + public void handleCPOnDoubleClick(TGComponent node) { + if (node != null && node instanceof TMLArchiCPNode) { + listOfCP = getListOfCPNodes(); + } else if (node != null) { + for (TGComponent node1 : listOfCP.keySet()) { + Vector <String> tempList = new Vector<>(); + boolean isContain = false; + for (int i = 0; i < listOfCP.get(node1).size(); i++) { + tempList.add(listOfCP.get(node1).get(i).getName() + " " + listOfCP.get(node1).get(i).getTGC().getName()); + if(listOfCP.get(node1).get(i).getTGC() == node) isContain = true; + } + if (!isContain) + continue; + else + ((TMLArchiCPNode) node1).setMappedUnits(tempList); + } + } else { + System.out.println(" Nothing is selected"); + } + } public void replaceArchComponent(TGComponent tgc, TGComponent newtgc){ fatherOfRemoved = tgc.getFather(); @@ -156,6 +177,7 @@ public class TMLArchiDiagramPanel extends TDiagramPanel implements TDPWithAttrib /*if (tgc instanceof TCDTClass) { return actionOnDoubleClick(tgc); }*/ + listOfCP = getListOfCPNodes(); return false; } @@ -254,6 +276,30 @@ public class TMLArchiDiagramPanel extends TDiagramPanel implements TDPWithAttrib return true; }*/ + public HashMap<TGComponent, List<PairOfTGC>> getListOfCPNodes() { + HashMap<TGComponent,List<PairOfTGC>> listOfCP = new HashMap<TGComponent,List<PairOfTGC>>(); + List<TGComponent> ll = new LinkedList<TGComponent>(); + TGComponent tgc; + Iterator<TGComponent> iterator = componentList.listIterator(); + while(iterator.hasNext()) { + tgc = iterator.next(); + + if (tgc instanceof TMLArchiCPNode) { + listOfCP.put(tgc, new ArrayList<PairOfTGC>()); + for (String name : ((TMLArchiCPNode) tgc).getMappedUnits()) { + for (int j = 0; j < componentList.size(); j++) { + if (name.contains(componentList.get(j).getName())) { + PairOfTGC temp = new PairOfTGC(componentList.get(j),name.substring(0,name.indexOf(":")+1)); + listOfCP.get(tgc).add(temp); + break; + } + } + } + } + } + return listOfCP; + } + public List<TGComponent> getListOfNodes() { List<TGComponent> ll = new LinkedList<TGComponent>(); TGComponent tgc; @@ -611,6 +657,19 @@ public class TMLArchiDiagramPanel extends TDiagramPanel implements TDPWithAttrib return addTaskToNode(list.get(nb).getName(), taskName); } - + public class PairOfTGC { + private TGComponent tgc; + private String name; + public PairOfTGC(TGComponent _tgc, String _name) { + tgc = _tgc; + name = _name; + } + public TGComponent getTGC() { + return tgc; + } + public String getName() { + return name; + } + } }//End of class diff --git a/ttool/src/test/java/tmltranslator/CommunicationPatternRenamingHardwareTest.java b/ttool/src/test/java/tmltranslator/CommunicationPatternRenamingHardwareTest.java new file mode 100644 index 0000000000000000000000000000000000000000..15c23b4a1cc876471cabb01aa3fc6a071b930552 --- /dev/null +++ b/ttool/src/test/java/tmltranslator/CommunicationPatternRenamingHardwareTest.java @@ -0,0 +1,110 @@ +package tmltranslator; + +import common.ConfigurationTTool; +import common.SpecConfigTTool; +import org.jsoup.Jsoup; +import org.jsoup.nodes.Document; +import org.jsoup.select.Elements; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import req.ebrdd.EBRDD; +import tepe.TEPE; +import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; +import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; +import tmltranslator.tomappingsystemc2.Penalties; +import ui.*; +import ui.interactivesimulation.SimulationTransaction; +import ui.tmldd.TMLArchiBUSNode; +import ui.tmldd.TMLArchiCPNode; +import ui.tmldd.TMLArchiCPUNode; +import ui.tmldd.TMLArchiDiagramPanel; + +import java.io.BufferedReader; +import java.io.File; +import java.io.IOException; +import java.io.InputStreamReader; +import java.util.ArrayList; +import java.util.List; +import java.util.Vector; + +import static org.junit.Assert.assertTrue; + +public class CommunicationPatternRenamingHardwareTest extends AbstractUITest { + final String DIR_GEN = "test_diplo_simulator/"; + final String [] MODELS_CP_HW = {"cp_rename_hw"}; + private String SIM_DIR; + private TMLArchiCPNode tgCP; + private TMLArchiBUSNode tgBus; + @BeforeClass + public static void setUpBeforeClass() throws Exception { + RESOURCES_DIR = getBaseResourcesDir() + "/tmltranslator/simulator/"; + + } + public CommunicationPatternRenamingHardwareTest() { + super(); + } + + @Before + public void setUp() throws Exception { + SIM_DIR = getBaseResourcesDir() + "../../../../simulators/c++2/"; + } + @Test + public void testCommunicationPatternRenameHW() throws Exception { + for (int i = 0; i < MODELS_CP_HW.length; i++) { + String s = MODELS_CP_HW[i]; + SIM_DIR = DIR_GEN + s + "/"; + System.out.println("executing: checking syntax " + s); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + String previousMapping = ""; + String currMapping = ""; + String oldName = ""; + String newName = ""; + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + for (TGComponent tg : tdp.getComponentList()) { + if (tg instanceof TMLArchiCPNode) { + tgCP = (TMLArchiCPNode)tg; + Vector <String> tempList = new Vector<>(((TMLArchiCPNode) tg).getMappedUnits()); + for (String mapped : tempList) { + previousMapping += mapped + ", "; + } + } + + if (tg instanceof TMLArchiBUSNode) { + tgBus = (TMLArchiBUSNode)tg; + oldName = tgBus.getName(); + newName = tgBus.getName()+"newName"; + tgBus.setName(newName); + ((TMLArchiDiagramPanel) tdp).handleCPOnDoubleClick(tgBus); + Vector <String> tempList1 = new Vector<>(tgCP.getMappedUnits()); + for (String mapped : tempList1) { + currMapping += mapped + ", "; + } + } + } + boolean check = previousMapping.contains(oldName); + assertTrue(check); + if (check) System.out.println("Success: " + previousMapping + ", " + oldName); + check = currMapping.contains(newName); + assertTrue(check); + if (check) System.out.println("Success: " + currMapping + ", " + newName); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); + TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); + syntax.checkSyntax(); + assertTrue(syntax.hasErrors() == 0); + } + } + +} diff --git a/ttool/src/test/resources/tmltranslator/simulator/cp_rename_hw.xml b/ttool/src/test/resources/tmltranslator/simulator/cp_rename_hw.xml new file mode 100644 index 0000000000000000000000000000000000000000..c9c44f512073db16458013a9f94af28595b2c62f --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/cp_rename_hw.xml @@ -0,0 +1,1163 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="1" LAST_SELECTED_SUB_TAB="0"> + +<Modeling type="TML Component Design" nameTab="ApplicationSimple" tabs="TML Component Task Diagram$Src$T1$T2" > +<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="10" maxX="2500" minY="10" maxY="1500" channels="true" events="true" requests="true" zoom="1.0" > +<CONNECTOR type="126" id="1" > +<cdparam x="335" y="300" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="Connector between ports" /> +<P1 x="322" y="287" id="5" /> +<P2 x="427" y="287" id="22" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="2" > +<cdparam x="335" y="236" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="Connector between ports" /> +<P1 x="322" y="224" id="7" /> +<P2 x="427" y="223" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="3" > +<cdparam x="590" y="305" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="Connector between ports" /> +<P1 x="577" y="292" id="18" /> +<P2 x="683" y="289" id="35" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="4" > +<cdparam x="590" y="241" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="Connector between ports" /> +<P1 x="577" y="228" id="20" /> +<P2 x="683" y="225" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="17" > +<cdparam x="122" y="175" /> +<sizeparam width="200" height="150" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Primitive component" value="Src" /> +<TGConnectingPoint num="0" id="9" /> +<TGConnectingPoint num="1" id="10" /> +<TGConnectingPoint num="2" id="11" /> +<TGConnectingPoint num="3" id="12" /> +<TGConnectingPoint num="4" id="13" /> +<TGConnectingPoint num="5" id="14" /> +<TGConnectingPoint num="6" id="15" /> +<TGConnectingPoint num="7" id="16" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="size" value="100" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="6" > +<father id="17" num="0" /> +<cdparam x="309" y="287" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Event evtToT1" /> +<TGConnectingPoint num="0" id="5" /> +<extraparam> +<Prop commName="evtToT1" commType="1" origin="true" finite="true" blocking="true" maxSamples="2" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="8" > +<father id="17" num="1" /> +<cdparam x="309" y="224" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Channel chToT1" /> +<TGConnectingPoint num="0" id="7" /> +<extraparam> +<Prop commName="chToT1" commType="0" origin="true" finite="false" blocking="true" maxSamples="500" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="34" > +<cdparam x="427" y="177" /> +<sizeparam width="150" height="150" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Primitive component" value="T1" /> +<TGConnectingPoint num="0" id="26" /> +<TGConnectingPoint num="1" id="27" /> +<TGConnectingPoint num="2" id="28" /> +<TGConnectingPoint num="3" id="29" /> +<TGConnectingPoint num="4" id="30" /> +<TGConnectingPoint num="5" id="31" /> +<TGConnectingPoint num="6" id="32" /> +<TGConnectingPoint num="7" id="33" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="size" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="19" > +<father id="34" num="0" /> +<cdparam x="564" y="292" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="137" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Event evtToT2" /> +<TGConnectingPoint num="0" id="18" /> +<extraparam> +<Prop commName="evtToT2" commType="1" origin="true" finite="true" blocking="true" maxSamples="2" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="21" > +<father id="34" num="1" /> +<cdparam x="564" y="228" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="137" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Channel chToT2" /> +<TGConnectingPoint num="0" id="20" /> +<extraparam> +<Prop commName="chToT2" commType="0" origin="true" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="34" num="2" /> +<cdparam x="414" y="287" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="137" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Event evtToT1" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="evtToT1" commType="1" origin="false" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="25" > +<father id="34" num="3" /> +<cdparam x="414" y="223" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="137" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Channel chToT1" /> +<TGConnectingPoint num="0" id="24" /> +<extraparam> +<Prop commName="chToT1" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="47" > +<cdparam x="683" y="179" /> +<sizeparam width="150" height="150" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Primitive component" value="T2" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +<TGConnectingPoint num="3" id="42" /> +<TGConnectingPoint num="4" id="43" /> +<TGConnectingPoint num="5" id="44" /> +<TGConnectingPoint num="6" id="45" /> +<TGConnectingPoint num="7" id="46" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="size" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="36" > +<father id="47" num="0" /> +<cdparam x="670" y="289" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="137" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Event evtToT2" /> +<TGConnectingPoint num="0" id="35" /> +<extraparam> +<Prop commName="evtToT2" commType="1" origin="false" finite="true" blocking="true" maxSamples="2" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="38" > +<father id="47" num="1" /> +<cdparam x="670" y="225" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="137" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Channel chToT2" /> +<TGConnectingPoint num="0" id="37" /> +<extraparam> +<Prop commName="chToT2" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="0" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Src" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1008" id="50" > +<cdparam x="276" y="192" /> +<sizeparam width="112" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="send event" value="evtToT1(size)" /> +<TGConnectingPoint num="0" id="48" /> +<TGConnectingPoint num="1" id="49" /> +<extraparam> +<Data eventName="evtToT1" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="52" > +<cdparam x="322" y="286" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="51" /> +</COMPONENT> + +<COMPONENT type="1006" id="55" > +<cdparam x="278" y="245" /> +<sizeparam width="108" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="write channel" value="chToT1(size)" /> +<TGConnectingPoint num="0" id="53" /> +<TGConnectingPoint num="1" id="54" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="57" > +<cdparam x="325" y="145" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="56" /> +</COMPONENT> + +<CONNECTOR type="115" id="58" > +<cdparam x="330" y="217" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="332" y="217" id="49" /> +<P2 x="332" y="240" id="53" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="332" y="160" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="332" y="165" id="56" /> +<P2 x="332" y="187" id="48" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="332" y="223" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="332" y="270" id="54" /> +<P2 x="332" y="281" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1026" id="64" > +<cdparam x="435" y="258" /> +<sizeparam width="10" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="delay" value="null" /> +<TGConnectingPoint num="0" id="62" /> +<TGConnectingPoint num="1" id="63" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="61" > +<father id="64" num="0" /> +<cdparam x="450" y="278" /> +<sizeparam width="36" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" /> +<infoparam name="value of the delay" value="10 ns" /> +<extraparam> +<TimeDelay minDelay="10" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="ns" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="66" > +<cdparam x="413" y="405" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="65" /> +</COMPONENT> + +<COMPONENT type="1006" id="69" > +<cdparam x="369" y="360" /> +<sizeparam width="108" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="write channel" value="chToT2(size)" /> +<TGConnectingPoint num="0" id="67" /> +<TGConnectingPoint num="1" id="68" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="72" > +<cdparam x="367" y="305" /> +<sizeparam width="112" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="send event" value="evtToT2(size)" /> +<TGConnectingPoint num="0" id="70" /> +<TGConnectingPoint num="1" id="71" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="417" y="216" /> +<sizeparam width="10" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="74" /> +<TGConnectingPoint num="1" id="75" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="73" > +<father id="76" num="0" /> +<cdparam x="432" y="236" /> +<sizeparam width="23" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" /> +<infoparam name="value of the delay" value="size" /> +</SUBCOMPONENT> + +<COMPONENT type="1009" id="79" > +<cdparam x="366" y="162" /> +<sizeparam width="112" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="read channel" value="chToT1(size) " /> +<TGConnectingPoint num="0" id="77" /> +<TGConnectingPoint num="1" id="78" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="82" > +<cdparam x="364" y="116" /> +<sizeparam width="116" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="wait event" value="evtToT1(size) " /> +<TGConnectingPoint num="0" id="80" /> +<TGConnectingPoint num="1" id="81" /> +<extraparam> +<Data eventName="evtToT1" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="84" > +<cdparam x="416" y="76" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="83" /> +</COMPONENT> + +<CONNECTOR type="115" id="85" > +<cdparam x="440" y="293" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="440" y="293" id="63" /> +<P2 x="423" y="300" id="70" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="86" > +<cdparam x="414" y="91" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="423" y="96" id="83" /> +<P2 x="422" y="111" id="80" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="87" > +<cdparam x="422" y="141" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="422" y="141" id="81" /> +<P2 x="422" y="157" id="77" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="88" > +<cdparam x="432" y="199" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="422" y="187" id="78" /> +<P2 x="422" y="211" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="89" > +<cdparam x="427" y="330" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="423" y="330" id="71" /> +<P2 x="423" y="355" id="67" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="90" > +<cdparam x="436" y="385" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="423" y="385" id="68" /> +<P2 x="423" y="400" id="65" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="91" > +<cdparam x="422" y="251" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="422" y="251" id="75" /> +<P2 x="440" y="253" id="62" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="93" > +<cdparam x="412" y="443" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="92" /> +</COMPONENT> + +<COMPONENT type="1013" id="97" > +<cdparam x="417" y="216" /> +<sizeparam width="10" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="94" > +<father id="97" num="0" /> +<cdparam x="432" y="236" /> +<sizeparam width="23" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" /> +<infoparam name="value of the delay" value="size" /> +</SUBCOMPONENT> + +<COMPONENT type="1009" id="100" > +<cdparam x="376" y="162" /> +<sizeparam width="92" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="read channel" value="chToT2(size) " /> +<TGConnectingPoint num="0" id="98" /> +<TGConnectingPoint num="1" id="99" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="103" > +<cdparam x="374" y="116" /> +<sizeparam width="96" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="wait event" value="evtToT2(size) " /> +<TGConnectingPoint num="0" id="101" /> +<TGConnectingPoint num="1" id="102" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="105" > +<cdparam x="416" y="76" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="104" /> +</COMPONENT> + +<CONNECTOR type="115" id="106" > +<cdparam x="422" y="251" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="422" y="251" id="96" /> +<P2 x="422" y="438" id="92" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="107" > +<cdparam x="414" y="91" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="423" y="96" id="104" /> +<P2 x="422" y="111" id="101" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="108" > +<cdparam x="422" y="141" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="422" y="141" id="102" /> +<P2 x="422" y="157" id="98" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="109" > +<cdparam x="432" y="199" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="422" y="187" id="99" /> +<P2 x="422" y="211" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="ArchitectureSimple" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1108" id="118" > +<cdparam x="365" y="512" /> +<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="CP0" value="CP0" /> +<TGConnectingPoint num="0" id="110" /> +<TGConnectingPoint num="1" id="111" /> +<TGConnectingPoint num="2" id="112" /> +<TGConnectingPoint num="3" id="113" /> +<TGConnectingPoint num="4" id="114" /> +<TGConnectingPoint num="5" id="115" /> +<TGConnectingPoint num="6" id="116" /> +<TGConnectingPoint num="7" id="117" /> +<extraparam> +<info stereotype="CP" nodeName="CP0" cpMEC="Memory Copy" transferType1="0" transferType2="0" /> +<attributes reference="CP" /> +<mappingInfo CPname="CP" instanceName="TransferInstance" architectureUnit="Bus012" /> +<mappingInfo CPname="CP" instanceName="ControllerInstance" architectureUnit="Src" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="143" > +<cdparam x="958" y="266" /> +<sizeparam width="200" height="200" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Memory0" value="name" /> +<TGConnectingPoint num="0" id="119" /> +<TGConnectingPoint num="1" id="120" /> +<TGConnectingPoint num="2" id="121" /> +<TGConnectingPoint num="3" id="122" /> +<TGConnectingPoint num="4" id="123" /> +<TGConnectingPoint num="5" id="124" /> +<TGConnectingPoint num="6" id="125" /> +<TGConnectingPoint num="7" id="126" /> +<TGConnectingPoint num="8" id="127" /> +<TGConnectingPoint num="9" id="128" /> +<TGConnectingPoint num="10" id="129" /> +<TGConnectingPoint num="11" id="130" /> +<TGConnectingPoint num="12" id="131" /> +<TGConnectingPoint num="13" id="132" /> +<TGConnectingPoint num="14" id="133" /> +<TGConnectingPoint num="15" id="134" /> +<TGConnectingPoint num="16" id="135" /> +<TGConnectingPoint num="17" id="136" /> +<TGConnectingPoint num="18" id="137" /> +<TGConnectingPoint num="19" id="138" /> +<TGConnectingPoint num="20" id="139" /> +<TGConnectingPoint num="21" id="140" /> +<TGConnectingPoint num="22" id="141" /> +<TGConnectingPoint num="23" id="142" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="168" > +<cdparam x="499" y="319" /> +<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Bus012" value="name" /> +<TGConnectingPoint num="0" id="144" /> +<TGConnectingPoint num="1" id="145" /> +<TGConnectingPoint num="2" id="146" /> +<TGConnectingPoint num="3" id="147" /> +<TGConnectingPoint num="4" id="148" /> +<TGConnectingPoint num="5" id="149" /> +<TGConnectingPoint num="6" id="150" /> +<TGConnectingPoint num="7" id="151" /> +<TGConnectingPoint num="8" id="152" /> +<TGConnectingPoint num="9" id="153" /> +<TGConnectingPoint num="10" id="154" /> +<TGConnectingPoint num="11" id="155" /> +<TGConnectingPoint num="12" id="156" /> +<TGConnectingPoint num="13" id="157" /> +<TGConnectingPoint num="14" id="158" /> +<TGConnectingPoint num="15" id="159" /> +<TGConnectingPoint num="16" id="160" /> +<TGConnectingPoint num="17" id="161" /> +<TGConnectingPoint num="18" id="162" /> +<TGConnectingPoint num="19" id="163" /> +<TGConnectingPoint num="20" id="164" /> +<TGConnectingPoint num="21" id="165" /> +<TGConnectingPoint num="22" id="166" /> +<TGConnectingPoint num="23" id="167" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus012" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="211" > +<cdparam x="498" y="47" /> +<sizeparam width="250" height="200" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="CPU1" value="name" /> +<TGConnectingPoint num="0" id="187" /> +<TGConnectingPoint num="1" id="188" /> +<TGConnectingPoint num="2" id="189" /> +<TGConnectingPoint num="3" id="190" /> +<TGConnectingPoint num="4" id="191" /> +<TGConnectingPoint num="5" id="192" /> +<TGConnectingPoint num="6" id="193" /> +<TGConnectingPoint num="7" id="194" /> +<TGConnectingPoint num="8" id="195" /> +<TGConnectingPoint num="9" id="196" /> +<TGConnectingPoint num="10" id="197" /> +<TGConnectingPoint num="11" id="198" /> +<TGConnectingPoint num="12" id="199" /> +<TGConnectingPoint num="13" id="200" /> +<TGConnectingPoint num="14" id="201" /> +<TGConnectingPoint num="15" id="202" /> +<TGConnectingPoint num="16" id="203" /> +<TGConnectingPoint num="17" id="204" /> +<TGConnectingPoint num="18" id="205" /> +<TGConnectingPoint num="19" id="206" /> +<TGConnectingPoint num="20" id="207" /> +<TGConnectingPoint num="21" id="208" /> +<TGConnectingPoint num="22" id="209" /> +<TGConnectingPoint num="23" id="210" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU1" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="0" sliceTime="10000" goIdleTime="10" maxConsecutiveIdleCycles="10" pipelineSize="5" taskSwitchingTime="20" branchingPredictionPenalty="2" cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" operation="" MECType="0" encryption="0"/> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="177" > +<father id="211" num="0" /> +<cdparam x="550" y="132" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="82" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="ApplicationSimple::T2" /> +<TGConnectingPoint num="0" id="169" /> +<TGConnectingPoint num="1" id="170" /> +<TGConnectingPoint num="2" id="171" /> +<TGConnectingPoint num="3" id="172" /> +<TGConnectingPoint num="4" id="173" /> +<TGConnectingPoint num="5" id="174" /> +<TGConnectingPoint num="6" id="175" /> +<TGConnectingPoint num="7" id="176" /> +<extraparam> +<info value="ApplicationSimple::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="186" > +<father id="211" num="1" /> +<cdparam x="539" y="82" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="82" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="ApplicationSimple::T1" /> +<TGConnectingPoint num="0" id="178" /> +<TGConnectingPoint num="1" id="179" /> +<TGConnectingPoint num="2" id="180" /> +<TGConnectingPoint num="3" id="181" /> +<TGConnectingPoint num="4" id="182" /> +<TGConnectingPoint num="5" id="183" /> +<TGConnectingPoint num="6" id="184" /> +<TGConnectingPoint num="7" id="185" /> +<extraparam> +<info value="ApplicationSimple::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1100" id="245" > +<cdparam x="77" y="230" /> +<sizeparam width="250" height="200" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Src" value="name" /> +<TGConnectingPoint num="0" id="221" /> +<TGConnectingPoint num="1" id="222" /> +<TGConnectingPoint num="2" id="223" /> +<TGConnectingPoint num="3" id="224" /> +<TGConnectingPoint num="4" id="225" /> +<TGConnectingPoint num="5" id="226" /> +<TGConnectingPoint num="6" id="227" /> +<TGConnectingPoint num="7" id="228" /> +<TGConnectingPoint num="8" id="229" /> +<TGConnectingPoint num="9" id="230" /> +<TGConnectingPoint num="10" id="231" /> +<TGConnectingPoint num="11" id="232" /> +<TGConnectingPoint num="12" id="233" /> +<TGConnectingPoint num="13" id="234" /> +<TGConnectingPoint num="14" id="235" /> +<TGConnectingPoint num="15" id="236" /> +<TGConnectingPoint num="16" id="237" /> +<TGConnectingPoint num="17" id="238" /> +<TGConnectingPoint num="18" id="239" /> +<TGConnectingPoint num="19" id="240" /> +<TGConnectingPoint num="20" id="241" /> +<TGConnectingPoint num="21" id="242" /> +<TGConnectingPoint num="22" id="243" /> +<TGConnectingPoint num="23" id="244" /> +<extraparam> +<info stereotype="CPURR" nodeName="Src" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="0" sliceTime="10000" goIdleTime="10" maxConsecutiveIdleCycles="10" pipelineSize="5" taskSwitchingTime="20" branchingPredictionPenalty="2" cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" operation="" MECType="0" encryption="0"/> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="220" > +<father id="245" num="0" /> +<cdparam x="139" y="297" /> +<sizeparam width="173" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="77" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="ApplicationSimple::Src" /> +<TGConnectingPoint num="0" id="212" /> +<TGConnectingPoint num="1" id="213" /> +<TGConnectingPoint num="2" id="214" /> +<TGConnectingPoint num="3" id="215" /> +<TGConnectingPoint num="4" id="216" /> +<TGConnectingPoint num="5" id="217" /> +<TGConnectingPoint num="6" id="218" /> +<TGConnectingPoint num="7" id="219" /> +<extraparam> +<info value="ApplicationSimple::Src" taskName="Src" referenceTaskName="ApplicationSimple" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="246" > +<cdparam x="1017" y="421" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="958" y="366" id="122" /> +<P2 x="749" y="344" id="148" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="247" > +<cdparam x="710" y="256" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="623" y="247" id="193" /> +<P2 x="624" y="319" id="145" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="248" > +<cdparam x="327" y="330" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="327" y="330" id="225" /> +<P2 x="499" y="331" id="154" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML CP" nameTab="CP" > +<CommunicationPatternDiagramPanel name="MainCP" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1507" id="250" > +<cdparam x="208" y="302" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="249" /> +</COMPONENT> + +<COMPONENT type="1504" id="261" > +<cdparam x="152" y="219" /> +<sizeparam width="132" height="35" minWidth="70" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="ActivityDiagram" value="Reference to an AD" /> +<TGConnectingPoint num="0" id="251" /> +<TGConnectingPoint num="1" id="252" /> +<TGConnectingPoint num="2" id="253" /> +<TGConnectingPoint num="3" id="254" /> +<TGConnectingPoint num="4" id="255" /> +<TGConnectingPoint num="5" id="256" /> +<TGConnectingPoint num="6" id="257" /> +<TGConnectingPoint num="7" id="258" /> +<TGConnectingPoint num="8" id="259" /> +<TGConnectingPoint num="9" id="260" /> +</COMPONENT> + +<COMPONENT type="1505" id="272" > +<cdparam x="76" y="101" /> +<sizeparam width="124" height="35" minWidth="70" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="SequenceDiagram" value="Reference to a SD" /> +<TGConnectingPoint num="0" id="262" /> +<TGConnectingPoint num="1" id="263" /> +<TGConnectingPoint num="2" id="264" /> +<TGConnectingPoint num="3" id="265" /> +<TGConnectingPoint num="4" id="266" /> +<TGConnectingPoint num="5" id="267" /> +<TGConnectingPoint num="6" id="268" /> +<TGConnectingPoint num="7" id="269" /> +<TGConnectingPoint num="8" id="270" /> +<TGConnectingPoint num="9" id="271" /> +</COMPONENT> + +<COMPONENT type="1506" id="274" > +<cdparam x="133" y="26" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="273" /> +</COMPONENT> + +<CONNECTOR type="1501" id="275" > +<cdparam x="218" y="259" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="218" y="259" id="252" /> +<P2 x="218" y="297" id="249" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="1501" id="276" > +<cdparam x="140" y="46" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="140" y="46" id="273" /> +<P2 x="138" y="96" id="262" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="1501" id="277" > +<cdparam x="138" y="141" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="138" y="141" id="263" /> +<P2 x="218" y="214" id="251" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</CommunicationPatternDiagramPanel> + +<TMLSDPanel name="SequenceDiagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1522" id="327" > +<cdparam x="92" y="110" /> +<sizeparam width="10" height="500" minWidth="10" minHeight="250" maxWidth="10" maxHeight="1500" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="ControllerInstance" value="Controller instance name" /> +<TGConnectingPoint num="0" id="278" /> +<TGConnectingPoint num="1" id="279" /> +<TGConnectingPoint num="2" id="280" /> +<TGConnectingPoint num="3" id="281" /> +<TGConnectingPoint num="4" id="282" /> +<TGConnectingPoint num="5" id="283" /> +<TGConnectingPoint num="6" id="284" /> +<TGConnectingPoint num="7" id="285" /> +<TGConnectingPoint num="8" id="286" /> +<TGConnectingPoint num="9" id="287" /> +<TGConnectingPoint num="10" id="288" /> +<TGConnectingPoint num="11" id="289" /> +<TGConnectingPoint num="12" id="290" /> +<TGConnectingPoint num="13" id="291" /> +<TGConnectingPoint num="14" id="292" /> +<TGConnectingPoint num="15" id="293" /> +<TGConnectingPoint num="16" id="294" /> +<TGConnectingPoint num="17" id="295" /> +<TGConnectingPoint num="18" id="296" /> +<TGConnectingPoint num="19" id="297" /> +<TGConnectingPoint num="20" id="298" /> +<TGConnectingPoint num="21" id="299" /> +<TGConnectingPoint num="22" id="300" /> +<TGConnectingPoint num="23" id="301" /> +<TGConnectingPoint num="24" id="302" /> +<TGConnectingPoint num="25" id="303" /> +<TGConnectingPoint num="26" id="304" /> +<TGConnectingPoint num="27" id="305" /> +<TGConnectingPoint num="28" id="306" /> +<TGConnectingPoint num="29" id="307" /> +<TGConnectingPoint num="30" id="308" /> +<TGConnectingPoint num="31" id="309" /> +<TGConnectingPoint num="32" id="310" /> +<TGConnectingPoint num="33" id="311" /> +<TGConnectingPoint num="34" id="312" /> +<TGConnectingPoint num="35" id="313" /> +<TGConnectingPoint num="36" id="314" /> +<TGConnectingPoint num="37" id="315" /> +<TGConnectingPoint num="38" id="316" /> +<TGConnectingPoint num="39" id="317" /> +<TGConnectingPoint num="40" id="318" /> +<TGConnectingPoint num="41" id="319" /> +<TGConnectingPoint num="42" id="320" /> +<TGConnectingPoint num="43" id="321" /> +<TGConnectingPoint num="44" id="322" /> +<TGConnectingPoint num="45" id="323" /> +<TGConnectingPoint num="46" id="324" /> +<TGConnectingPoint num="47" id="325" /> +<TGConnectingPoint num="48" id="326" /> +<extraparam> +<Mapping mappedOn="" /> +<Actor data="false" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1521" id="377" > +<cdparam x="309" y="107" /> +<sizeparam width="10" height="500" minWidth="10" minHeight="250" maxWidth="10" maxHeight="1500" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="TransferInstance" value="Transfer instance name" /> +<TGConnectingPoint num="0" id="328" /> +<TGConnectingPoint num="1" id="329" /> +<TGConnectingPoint num="2" id="330" /> +<TGConnectingPoint num="3" id="331" /> +<TGConnectingPoint num="4" id="332" /> +<TGConnectingPoint num="5" id="333" /> +<TGConnectingPoint num="6" id="334" /> +<TGConnectingPoint num="7" id="335" /> +<TGConnectingPoint num="8" id="336" /> +<TGConnectingPoint num="9" id="337" /> +<TGConnectingPoint num="10" id="338" /> +<TGConnectingPoint num="11" id="339" /> +<TGConnectingPoint num="12" id="340" /> +<TGConnectingPoint num="13" id="341" /> +<TGConnectingPoint num="14" id="342" /> +<TGConnectingPoint num="15" id="343" /> +<TGConnectingPoint num="16" id="344" /> +<TGConnectingPoint num="17" id="345" /> +<TGConnectingPoint num="18" id="346" /> +<TGConnectingPoint num="19" id="347" /> +<TGConnectingPoint num="20" id="348" /> +<TGConnectingPoint num="21" id="349" /> +<TGConnectingPoint num="22" id="350" /> +<TGConnectingPoint num="23" id="351" /> +<TGConnectingPoint num="24" id="352" /> +<TGConnectingPoint num="25" id="353" /> +<TGConnectingPoint num="26" id="354" /> +<TGConnectingPoint num="27" id="355" /> +<TGConnectingPoint num="28" id="356" /> +<TGConnectingPoint num="29" id="357" /> +<TGConnectingPoint num="30" id="358" /> +<TGConnectingPoint num="31" id="359" /> +<TGConnectingPoint num="32" id="360" /> +<TGConnectingPoint num="33" id="361" /> +<TGConnectingPoint num="34" id="362" /> +<TGConnectingPoint num="35" id="363" /> +<TGConnectingPoint num="36" id="364" /> +<TGConnectingPoint num="37" id="365" /> +<TGConnectingPoint num="38" id="366" /> +<TGConnectingPoint num="39" id="367" /> +<TGConnectingPoint num="40" id="368" /> +<TGConnectingPoint num="41" id="369" /> +<TGConnectingPoint num="42" id="370" /> +<TGConnectingPoint num="43" id="371" /> +<TGConnectingPoint num="44" id="372" /> +<TGConnectingPoint num="45" id="373" /> +<TGConnectingPoint num="46" id="374" /> +<TGConnectingPoint num="47" id="375" /> +<TGConnectingPoint num="48" id="376" /> +<extraparam> +<Mapping mappedOn="" /> +<Actor data="false" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1522" id="427" > +<cdparam x="556" y="99" /> +<sizeparam width="10" height="500" minWidth="10" minHeight="250" maxWidth="10" maxHeight="1500" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="ControllerInstance" value="Controller instance name" /> +<TGConnectingPoint num="0" id="378" /> +<TGConnectingPoint num="1" id="379" /> +<TGConnectingPoint num="2" id="380" /> +<TGConnectingPoint num="3" id="381" /> +<TGConnectingPoint num="4" id="382" /> +<TGConnectingPoint num="5" id="383" /> +<TGConnectingPoint num="6" id="384" /> +<TGConnectingPoint num="7" id="385" /> +<TGConnectingPoint num="8" id="386" /> +<TGConnectingPoint num="9" id="387" /> +<TGConnectingPoint num="10" id="388" /> +<TGConnectingPoint num="11" id="389" /> +<TGConnectingPoint num="12" id="390" /> +<TGConnectingPoint num="13" id="391" /> +<TGConnectingPoint num="14" id="392" /> +<TGConnectingPoint num="15" id="393" /> +<TGConnectingPoint num="16" id="394" /> +<TGConnectingPoint num="17" id="395" /> +<TGConnectingPoint num="18" id="396" /> +<TGConnectingPoint num="19" id="397" /> +<TGConnectingPoint num="20" id="398" /> +<TGConnectingPoint num="21" id="399" /> +<TGConnectingPoint num="22" id="400" /> +<TGConnectingPoint num="23" id="401" /> +<TGConnectingPoint num="24" id="402" /> +<TGConnectingPoint num="25" id="403" /> +<TGConnectingPoint num="26" id="404" /> +<TGConnectingPoint num="27" id="405" /> +<TGConnectingPoint num="28" id="406" /> +<TGConnectingPoint num="29" id="407" /> +<TGConnectingPoint num="30" id="408" /> +<TGConnectingPoint num="31" id="409" /> +<TGConnectingPoint num="32" id="410" /> +<TGConnectingPoint num="33" id="411" /> +<TGConnectingPoint num="34" id="412" /> +<TGConnectingPoint num="35" id="413" /> +<TGConnectingPoint num="36" id="414" /> +<TGConnectingPoint num="37" id="415" /> +<TGConnectingPoint num="38" id="416" /> +<TGConnectingPoint num="39" id="417" /> +<TGConnectingPoint num="40" id="418" /> +<TGConnectingPoint num="41" id="419" /> +<TGConnectingPoint num="42" id="420" /> +<TGConnectingPoint num="43" id="421" /> +<TGConnectingPoint num="44" id="422" /> +<TGConnectingPoint num="45" id="423" /> +<TGConnectingPoint num="46" id="424" /> +<TGConnectingPoint num="47" id="425" /> +<TGConnectingPoint num="48" id="426" /> +<extraparam> +<Mapping mappedOn="" /> +<Actor data="false" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="1523" id="428" > +<cdparam x="97" y="120" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="first" value="first()" /> +<P1 x="97" y="120" id="278" /> +<P2 x="314" y="127" id="329" /> +<AutomaticDrawing data="true" /> +<extraparam> +</extraparam> +</CONNECTOR> +<CONNECTOR type="1523" id="429" > +<cdparam x="314" y="167" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="idk" value="idk()" /> +<P1 x="314" y="167" id="333" /> +<P2 x="561" y="169" id="384" /> +<AutomaticDrawing data="true" /> +<extraparam> +</extraparam> +</CONNECTOR> + +</TMLSDPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file