diff --git a/simulators/c++2/src_simulator/arch/CPU.cpp b/simulators/c++2/src_simulator/arch/CPU.cpp index ad985f7cc18ef024c988a0283ae71ff3a93ca3f3..deb110f813dd1e07a1a5d8bd862715386f8ce633 100644 --- a/simulators/c++2/src_simulator/arch/CPU.cpp +++ b/simulators/c++2/src_simulator/arch/CPU.cpp @@ -168,10 +168,9 @@ void CPU::schedule2XML(std::ostringstream& glob,std::ofstream& myfile) const{ } } -std::map<TMLTask*, std::string> CPU::HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList, bool isScalable) { +std::map<TMLTask*, std::string> CPU::HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList) { TransactionList _transactListClone; std::string taskList = iTracetaskList.c_str(); - maxScale = 0; for (int z = 0; z < _transactList.size(); z++) { std::string taskName = _transactList[z]->getCommand()->getTask()->toString(); std::size_t pos = taskList.find(taskName); /*pos1 = position of "bin" if we working with open model*/ @@ -209,7 +208,7 @@ std::map<TMLTask*, std::string> CPU::HWTIMELINE2HTML(std::ostringstream& myfile, bool isBlankTooBig = false; std::ostringstream tempString; int tempBlanks; - if(isScalable && endTimeOfCore >= MIN_RESIZE_THRESHOLD && aBlanks > MIN_RESIZE_TRANS) { + if(endTimeOfCore >= MIN_RESIZE_THRESHOLD && aBlanks > MIN_RESIZE_TRANS) { int newBlanks = 0; if (aBlanks > 100000) { newBlanks = (int) aBlanks/100; @@ -256,7 +255,7 @@ std::map<TMLTask*, std::string> CPU::HWTIMELINE2HTML(std::ostringstream& myfile, unsigned int aLength = aCurrTrans->getPenalties(); if ( aLength != 0 ) { listScaleTime.push_back(listScaleTime.back()+aLength); - if (isScalable && endTimeOfCore >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ + if (endTimeOfCore >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ int tempLength = 0; if (aLength > 100000) { tempLength = (int) aLength/100; @@ -283,7 +282,7 @@ std::map<TMLTask*, std::string> CPU::HWTIMELINE2HTML(std::ostringstream& myfile, unsigned int indexTrans=aCurrTransName.find_first_of(":"); std::string aCurrContent=aCurrTransName.substr(indexTrans+1,2); if(!(!(aCurrTrans->getCommand()->getActiveDelay()) && aCurrTrans->getCommand()->isDelayTransaction())){ - if (isScalable && endTimeOfCore >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ + if (endTimeOfCore >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ int tempLength = 0; if (aLength > 100000) { tempLength = (int) aLength/100; diff --git a/simulators/c++2/src_simulator/arch/CPU.h b/simulators/c++2/src_simulator/arch/CPU.h index a99f4423e2ac6a8dd46b301541f61e8c2a3d58e7..3f99ed6505b0bd0faf0094b9aa70da4970d05169 100755 --- a/simulators/c++2/src_simulator/arch/CPU.h +++ b/simulators/c++2/src_simulator/arch/CPU.h @@ -122,7 +122,7 @@ public: void buttonPieChart(std::ofstream& myfile) const; void showPieChart(std::ofstream& myfile) const; void HW2HTML(std::ofstream& myfile) const; - std::map<TMLTask*, std::string> HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList, bool isScalable); + std::map<TMLTask*, std::string> HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList); inline unsigned int getMaxScale() { return maxScale; } inline void resetMaxScale() { maxScale = 0; } void schedule2HTML(std::ofstream& myfile) const; diff --git a/simulators/c++2/src_simulator/arch/FPGA.cpp b/simulators/c++2/src_simulator/arch/FPGA.cpp index 4aa8bba2302e8f7cd9bcc87fc8d16ceb70d0e078..5ea8f21913c4c456b08ca427db29b839ff5bba3b 100644 --- a/simulators/c++2/src_simulator/arch/FPGA.cpp +++ b/simulators/c++2/src_simulator/arch/FPGA.cpp @@ -628,10 +628,9 @@ std::string FPGA::determineHTMLCellClass(std::map<TMLTask*, std::string> &taskCo return taskColors[ task ]; } -std::map<TMLTask*, std::string> FPGA::HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses1,unsigned int nextCellClassIndex1, std::string& iTracetaskList, bool isScalable) { +std::map<TMLTask*, std::string> FPGA::HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses1,unsigned int nextCellClassIndex1, std::string& iTracetaskList) { TransactionList _transactListClone; std::string taskList = iTracetaskList.c_str(); - maxScale = 0; for (int z = 0; z < _transactList.size(); z++) { std::string taskName = _transactList[z]->getCommand()->getTask()->toString(); std::size_t pos = taskList.find(taskName); /*pos1 = position of "bin" if we working with open model*/ @@ -680,7 +679,7 @@ std::map<TMLTask*, std::string> FPGA::HWTIMELINE2HTML(std::ostringstream& myfile bool isBlankTooBig = false; std::ostringstream tempString, tempReconfigIdle; int tempBlanks; - if(isScalable && _htmlCurrTask->getEndLastTransaction() >= MIN_RESIZE_THRESHOLD && aBlanks > MIN_RESIZE_TRANS) { + if(_htmlCurrTask->getEndLastTransaction() >= MIN_RESIZE_THRESHOLD && aBlanks > MIN_RESIZE_TRANS) { int newBlanks = 0; if (aBlanks > 100000) { newBlanks = (int) aBlanks/100; @@ -730,7 +729,7 @@ std::map<TMLTask*, std::string> FPGA::HWTIMELINE2HTML(std::ostringstream& myfile unsigned int indexTrans=aCurrTransName.find_first_of(":"); std::string aCurrContent=aCurrTransName.substr(indexTrans+1,2); if(!(!(aCurrTrans->getCommand()->getActiveDelay()) && aCurrTrans->getCommand()->isDelayTransaction())){ - if(isScalable && _htmlCurrTask->getEndLastTransaction() >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ + if(_htmlCurrTask->getEndLastTransaction() >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ int tempLength = 0; if (aLength > 100000) { tempLength = (int) aLength/100; diff --git a/simulators/c++2/src_simulator/arch/FPGA.h b/simulators/c++2/src_simulator/arch/FPGA.h index 74f80b64ea11f85738e20c2f8710a9d7bfe0e271..85874ea8a445a7fe619441e30a0411161bcc8048 100644 --- a/simulators/c++2/src_simulator/arch/FPGA.h +++ b/simulators/c++2/src_simulator/arch/FPGA.h @@ -133,7 +133,7 @@ public: ///inline unsigned int getTransNumber() { return _transNumber;} inline unsigned int getID () { return _ID;} void HW2HTML(std::ofstream& myfile) ; - std::map<TMLTask*, std::string> HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses1,unsigned int nextCellClassIndex1, std::string& iTracetaskList, bool isScalable); + std::map<TMLTask*, std::string> HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses1,unsigned int nextCellClassIndex1, std::string& iTracetaskList); inline unsigned int getMaxScale() { return maxScale; } void removeTrans(int numberOfTrans); void schedule2HTML(std::ofstream& myfile) ; diff --git a/simulators/c++2/src_simulator/arch/SchedulableDevice.cpp b/simulators/c++2/src_simulator/arch/SchedulableDevice.cpp index f067e2a9bda492a76d5fef6cde036b12645f0dfa..a77b1f96504fbfe79a037881b1ca451846d32495 100644 --- a/simulators/c++2/src_simulator/arch/SchedulableDevice.cpp +++ b/simulators/c++2/src_simulator/arch/SchedulableDevice.cpp @@ -299,10 +299,9 @@ void SchedulableDevice::buttonPieChart(std::ofstream& myfile) const{ myfile << " chart" << _ID << ".update();" << std::endl; } -std::map<TMLTask*, std::string> SchedulableDevice::HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList, bool isScalable) { +std::map<TMLTask*, std::string> SchedulableDevice::HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList) { TransactionList _transactListClone; std::string taskList = iTracetaskList.c_str(); - maxScale = 0; for (int z = 0; z < _transactList.size(); z++) { std::string taskName = _transactList[z]->getCommand()->getTask()->toString(); std::size_t pos = taskList.find(taskName); /*pos1 = position of "bin" if we working with open model*/ @@ -334,7 +333,7 @@ std::map<TMLTask*, std::string> SchedulableDevice::HWTIMELINE2HTML(std::ostrings bool isBlankTooBig = false; std::ostringstream tempString; int tempBlanks; - if(isScalable && (checkLastTime)->getEndTime() >= MIN_RESIZE_THRESHOLD && aBlanks > MIN_RESIZE_TRANS) { + if((checkLastTime)->getEndTime() >= MIN_RESIZE_THRESHOLD && aBlanks > MIN_RESIZE_TRANS) { int newBlanks = 0; if (aBlanks > 100000) { newBlanks = (int) aBlanks/100; @@ -383,7 +382,7 @@ std::map<TMLTask*, std::string> SchedulableDevice::HWTIMELINE2HTML(std::ostrings if ( aLength != 0 ) { std::ostringstream title; listScaleTime.push_back(listScaleTime.back()+aLength); - if(isScalable && checkLastTime->getEndTime() >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ + if(checkLastTime->getEndTime() >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ int tempLength = 0; if (aLength > 100000) { tempLength = (int) aLength/100; @@ -410,7 +409,7 @@ std::map<TMLTask*, std::string> SchedulableDevice::HWTIMELINE2HTML(std::ostrings unsigned int indexTrans=aCurrTransName.find_first_of(":"); std::string aCurrContent=aCurrTransName.substr(indexTrans+1,2); if(!(!(aCurrTrans->getCommand()->getActiveDelay()) && aCurrTrans->getCommand()->isDelayTransaction())){ - if(isScalable && checkLastTime->getEndTime() >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ + if(checkLastTime->getEndTime() >= MIN_RESIZE_THRESHOLD && aLength > MIN_RESIZE_TRANS){ int tempLength = 0; if (aLength > 100000) { tempLength = (int) aLength/100; diff --git a/simulators/c++2/src_simulator/arch/SchedulableDevice.h b/simulators/c++2/src_simulator/arch/SchedulableDevice.h index 9a45fe397d75228140a827a3e2dc4844cbba106d..c09758a1e01daac262185dc0baf6632dba6003dd 100644 --- a/simulators/c++2/src_simulator/arch/SchedulableDevice.h +++ b/simulators/c++2/src_simulator/arch/SchedulableDevice.h @@ -79,7 +79,7 @@ public: void drawPieChart(std::ofstream& myfile) const; void showPieChart(std::ofstream& myfile) const; void HW2HTML(std::ofstream& myfile) const; - std::map<TMLTask*, std::string> HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList, bool isScalable); + std::map<TMLTask*, std::string> HWTIMELINE2HTML(std::ostringstream& myfile,std::map<TMLTask*, std::string> taskCellClasses,unsigned int nextCellClassIndex, std::string& iTracetaskList); inline unsigned int getMaxScale() { return maxScale; } ///Writes a HTML representation of the schedule to an output file /** diff --git a/simulators/c++2/src_simulator/sim/Simulator.cpp b/simulators/c++2/src_simulator/sim/Simulator.cpp index fc5db6925b33531e2c7d7a83b69396a2bc7ce458..cf6295c96503e3396043097f4c6625351792f729 100644 --- a/simulators/c++2/src_simulator/sim/Simulator.cpp +++ b/simulators/c++2/src_simulator/sim/Simulator.cpp @@ -461,7 +461,7 @@ void Simulator::latencies2XML(std::ostringstream& glob, int id1, int id2) { (*j)->latencies2XML(glob, id1,id2); } } -void Simulator::timeline2HTML(std::string& iTracetaskList, std::ostringstream& myfile, bool isScalable) const { +void Simulator::timeline2HTML(std::string& iTracetaskList, std::ostringstream& myfile) const { std::map<TMLTask*, std::string> taskCellClasses; std::ostringstream myfileTemp, myfileTemp1; @@ -481,7 +481,7 @@ void Simulator::timeline2HTML(std::string& iTracetaskList, std::ostringstream& m unsigned int maxScale = 0; for(CPUList::const_iterator i=_simComp->getCPUList().begin(); i != _simComp->getCPUList().end(); ++i){ for(unsigned int j = 0; j < (*i)->getAmoutOfCore(); j++) { - taskCellClasses = (*i)->HWTIMELINE2HTML(myfileTemp, taskCellClasses, taskCellClasses.size(), iTracetaskList, isScalable); + taskCellClasses = (*i)->HWTIMELINE2HTML(myfileTemp, taskCellClasses, taskCellClasses.size(), iTracetaskList); if((*i)->getMaxScale() > maxScale) { maxScale = (*i)->getMaxScale(); } @@ -496,7 +496,7 @@ void Simulator::timeline2HTML(std::string& iTracetaskList, std::ostringstream& m (*j)->setStartFlagHTML(true); for(TaskList::const_iterator i = (*j)->getTaskList().begin(); i != (*j)->getTaskList().end(); ++i){ (*j)->setHtmlCurrTask(*i); - taskCellClasses = (*j)->HWTIMELINE2HTML(myfileTemp, taskCellClasses, taskCellClasses.size(), iTracetaskList, isScalable); + taskCellClasses = (*j)->HWTIMELINE2HTML(myfileTemp, taskCellClasses, taskCellClasses.size(), iTracetaskList); if((*j)->getMaxScale() > maxScale) { maxScale = (*j)->getMaxScale(); } @@ -505,7 +505,7 @@ void Simulator::timeline2HTML(std::string& iTracetaskList, std::ostringstream& m } for(BusList::const_iterator j=_simComp->getBusList().begin(); j != _simComp->getBusList().end(); ++j){ - taskCellClasses = (*j)->HWTIMELINE2HTML(myfileTemp, taskCellClasses, taskCellClasses.size(), iTracetaskList, isScalable); + taskCellClasses = (*j)->HWTIMELINE2HTML(myfileTemp, taskCellClasses, taskCellClasses.size(), iTracetaskList); if((*j)->getMaxScale() > maxScale) { maxScale = (*j)->getMaxScale(); } @@ -2053,12 +2053,8 @@ void Simulator::decodeCommand(std::string iCmd, std::ostream& iXmlOutStream){ case 4: {//timeline diagram aGlobMsg << TAG_MSGo << "Schedule output in HTML format" << TAG_MSGc << std::endl; std::ostringstream timelineContent; - int temp = 0; - aInpStream >> temp; - bool _isScalable = (temp == 1) ? true : false; - timelineContent << "<![CDATA["; - timeline2HTML(aStrParam, timelineContent, _isScalable); + timeline2HTML(aStrParam, timelineContent); timelineContent << "]]>"; aGlobMsg << TAG_MSGo << timelineContent.str() << TAG_MSGc << std::endl; break; diff --git a/simulators/c++2/src_simulator/sim/Simulator.h b/simulators/c++2/src_simulator/sim/Simulator.h index a25798d238762c4f1efaa8039fe72b8333409443..0fb6eceb3bc46bc115aa63cfdcf1c4257589b3ea 100644 --- a/simulators/c++2/src_simulator/sim/Simulator.h +++ b/simulators/c++2/src_simulator/sim/Simulator.h @@ -247,7 +247,7 @@ public: ///Writes a HTML representation of the schedule of CPUs and buses to an output file void schedule2HTML(std::string& iTraceFileName) const; - void timeline2HTML(std::string& iTracetaskList, std::ostringstream& myfile, bool isScalable) const; + void timeline2HTML(std::string& iTracetaskList, std::ostringstream& myfile) const; std::string getTaskCellStatus(int i) const; ///Writes simulation traces in VCD format to an output file diff --git a/src/main/java/remotesimulation/CommandParser.java b/src/main/java/remotesimulation/CommandParser.java index 0c75a76d4b7330247f69c63f79e4a3cc46967794..7dae81ccf58cd69ec9e7ac314b66294f1f6a35ff 100755 --- a/src/main/java/remotesimulation/CommandParser.java +++ b/src/main/java/remotesimulation/CommandParser.java @@ -503,12 +503,10 @@ public class CommandParser { commandList.add(sc); // save-timeline-trace-in-file - params = new int[2]; - paramNames = new String[2]; + params = new int[1]; + paramNames = new String[1]; params[0] = 2; paramNames[0] = "Task List"; - params[1] = 1; - paramNames[1] = "Scale idle time: 0 -> no, 1 -> yes"; sc = new SimulationCommand("show-timeline-trace", "stlt", "7 4", params, paramNames, "Show the current timeline diagram tracein HTML format"); commandList.add(sc); diff --git a/src/main/java/tmltranslator/TMLArchiTextSpecification.java b/src/main/java/tmltranslator/TMLArchiTextSpecification.java index 6d13fb1a7d2d34297f0fb72bc1231abec96775fa..7dc8eca871cf57e2daa023df825f943174e281bf 100755 --- a/src/main/java/tmltranslator/TMLArchiTextSpecification.java +++ b/src/main/java/tmltranslator/TMLArchiTextSpecification.java @@ -647,7 +647,7 @@ public class TMLArchiTextSpecification { return -1; } - if (!_split[2].toUpperCase().equals("SCHEDULING") && !checkParameter("SET", _split, 3, 1, _lineNb)) { + if (!checkParameter("SET", _split, 3, 1, _lineNb)) { return -1; } diff --git a/src/main/java/tmltranslator/TMLTextSpecification.java b/src/main/java/tmltranslator/TMLTextSpecification.java index 4b6cf17bff66119957b0320a23e608153aff7b95..a2665df4bbb1b9db35b4b1db4a2ce27207b897be 100755 --- a/src/main/java/tmltranslator/TMLTextSpecification.java +++ b/src/main/java/tmltranslator/TMLTextSpecification.java @@ -96,7 +96,7 @@ public class TMLTextSpecification<E> { private static String keywords[] = {"BOOL", "INT", "NAT", "CHANNEL", "EVENT", "REQUEST", "LOSSYCHANNEL", "VCCHANNEL", "LOSSYEVENT", "LOSSYREQUEST", "BRBW", "NBRNBW", - "BRNBW", "INF", "NIB", "NINB", "TASK", "ENDTASK", "DAEMON", "TASKOP", "IF", "ELSE", "ORIF", "ENDIF", "FOR", "ENDFOR", + "BRNBW", "INF", "NIB", "NINB", "TASK", "ENDTASK", "TASKOP", "IF", "ELSE", "ORIF", "ENDIF", "FOR", "ENDFOR", "SELECTEVT", "CASE", "ENDSELECTEVT", "ENDCASE", "WRITE", "READ", "WAIT", "NOTIFY", "NOTIFIED", "NOTIFYREQUEST", "RAND", "CASERAND", "ENDRAND", "ENDCASERAND", "EXECI", "EXECC", "DELAY", "RANDOM", diff --git a/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java b/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java index f6872698da14b6efb92f30fd7c4a46e3adbf0520..19bc6241bad2aa143f3d9e89daeb162c2cd62acb 100644 --- a/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java +++ b/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java @@ -264,7 +264,6 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene private String listOfTaskToShowInTimeLine = ""; private String timelineParam = ""; private boolean isServerReply = false; - private boolean isScalable = true; public JFrameInteractiveSimulation(Frame _f, MainGUI _mgui, String _title, String _hostSystemC, String _pathExecute, TMLMapping<TGComponent> _tmap, List<Point> _points) { super(_title); @@ -1575,7 +1574,7 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene mctb.setActive(false); isServerReply = false; timelineParam = ""; - sendCommand( "show-timeline-trace " + listOfTaskToShowInTimeLine + ((isScalable) ? " 1" : " 0" )); + sendCommand( "show-timeline-trace " + listOfTaskToShowInTimeLine ); Frame f = new JFrame("Updating Data"); JPanel p = new JPanel(); JProgressBar b = new JProgressBar(); @@ -1626,7 +1625,6 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene for (String taskname : tmlComponentsToValidate) { listOfTaskToShowInTimeLine += taskname + ","; } - isScalable = jdstmlc.getScaleIdleTime(); if (!listOfTaskToShowInTimeLine.equals("")) { tmlSimPanelTimeline = new JFrameTMLSimulationPanelTimeline(new Frame(), mgui, this, "Show Trace - Timeline", timelineParam); diff --git a/src/main/java/ui/window/JDialogSelectTasks.java b/src/main/java/ui/window/JDialogSelectTasks.java index 6a2d86b91517d7a022b47f0f85e4a2e7e8ed7c7a..0afcc075251c9d7eaa00fa14f235c513cba4807c 100644 --- a/src/main/java/ui/window/JDialogSelectTasks.java +++ b/src/main/java/ui/window/JDialogSelectTasks.java @@ -71,7 +71,6 @@ public class JDialogSelectTasks extends JDialogBase implements ActionListener, L //subpanels private JPanel panel1, panel2, panel3, panel4, panel5, panel6; - private JCheckBox checkBoxScaleIdleTime; private JList<String> listIgnored; private JList<String> listValidated; private JButton allValidated; @@ -254,23 +253,6 @@ public class JDialogSelectTasks extends JDialogBase implements ActionListener, L panel2.setPreferredSize(new Dimension(200, 250)); c2.gridwidth = GridBagConstraints.REMAINDER; //end row c.add(panel2, c2); - - panel4 = new JPanel(); - panel4.setLayout(new BoxLayout(panel4, BoxLayout.Y_AXIS)); - checkBoxScaleIdleTime = new JCheckBox("Enable IdleTime Scaling"); - //scale idle time by default - checkBoxScaleIdleTime.setSelected(true); - panel4.add(checkBoxScaleIdleTime); -// JLabel jLabelScale = new JLabel("Start time:"); -// panel4.add(jLabelScale); -// JTextField startTime = new JTextField(); -// panel4.add(startTime); -// jLabelScale = new JLabel("End time:"); -// panel4.add(jLabelScale); -// JTextField endTime = new JTextField(); -// panel4.add(endTime); - c2.gridwidth = GridBagConstraints.REMAINDER; - c.add(panel4, c2); c2.fill = GridBagConstraints.HORIZONTAL; c2.gridwidth = 1; //end row @@ -279,10 +261,6 @@ public class JDialogSelectTasks extends JDialogBase implements ActionListener, L } - public boolean getScaleIdleTime() { - return checkBoxScaleIdleTime.isSelected(); - } - public void actionPerformed(ActionEvent evt) { String command = evt.getActionCommand(); diff --git a/ttool/src/test/java/tmltranslator/DiplodocusDelayTest.java b/ttool/src/test/java/ui/totml/DiplodocusDelayTest.java similarity index 89% rename from ttool/src/test/java/tmltranslator/DiplodocusDelayTest.java rename to ttool/src/test/java/ui/totml/DiplodocusDelayTest.java index 14574fe58e59c6d337c560ae1b2e9f8d8a7b9c31..8f61958432965cc66daee2a6c03689e04812fae7 100644 --- a/ttool/src/test/java/tmltranslator/DiplodocusDelayTest.java +++ b/ttool/src/test/java/ui/totml/DiplodocusDelayTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -63,10 +63,10 @@ public class DiplodocusDelayTest extends AbstractUITest { // test for reconfiguration of FPGA final String [] MODELS_FPGA_RECONFIG = {"fpga_reconfig1", "fpga_reconfig2", "fpga_reconfig3", "fpga_reconfig4", "fpga_reconfig5", "fpga_reconfig6"}; - final int [] NB_Of_FPGA_STATES = {24, 24, 24, 24, 24, 24}; - final int [] NB_Of_FPGA_TRANSTIONS = {23, 23, 23, 23, 23, 23}; - final int [] MIN_FPGA_CYCLES = {87, 80, 74, 72, 72, 73}; - final int [] MAX_FPGA_CYCLES = {87, 80, 74, 72, 72, 73}; + final int [] NB_Of_FPGA_STATES = {20, 20, 20, 20, 20, 20}; + final int [] NB_Of_FPGA_TRANSTIONS = {19, 19, 19, 19, 19, 19}; + final int [] MIN_FPGA_CYCLES = {90, 83, 77, 70, 75, 76}; + final int [] MAX_FPGA_CYCLES = {90, 83, 77, 70, 75, 76}; private String SIM_DIR; @@ -92,27 +92,22 @@ public class DiplodocusDelayTest extends AbstractUITest { for (int i = 0; i < MODELS_DELAY.length; i++) { String s = MODELS_DELAY[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -148,7 +143,7 @@ public class DiplodocusDelayTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { @@ -250,29 +245,24 @@ public class DiplodocusDelayTest extends AbstractUITest { @Test public void testDelayWithPenalty() throws Exception { for (int i = 0; i < MODELS_DELAY.length; i++) { - String s = MODELS_DELAY[i]; - SIM_DIR = DIR_GEN + s + "_penalty/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - + String s = MODELS_DELAY[i] + "-penalty"; + SIM_DIR = DIR_GEN + s + "/"; System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -308,7 +298,7 @@ public class DiplodocusDelayTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(true); if (changed == 1) { @@ -495,6 +485,7 @@ public class DiplodocusDelayTest extends AbstractUITest { boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); assertTrue(parsed); + System.out.println("executing: checking syntax " + s); // Checking syntax TMLMapping tmap = tmts.getTMLMapping(); @@ -642,27 +633,22 @@ public class DiplodocusDelayTest extends AbstractUITest { for (int i = 0; i < MODELS_SIGNALS.length; i++) { String s = MODELS_SIGNALS[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -702,7 +688,7 @@ public class DiplodocusDelayTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { @@ -754,7 +740,7 @@ public class DiplodocusDelayTest extends AbstractUITest { params[0] = "./" + SIM_DIR + "run.x"; params[1] = "-signals"; - params[2] = SIM_DIR + "signals.txt"; + params[2] = SIM_DIR+"signals.txt"; proc = Runtime.getRuntime().exec(params); //proc = Runtime.getRuntime().exec("./" + SIM_DIR + "run.x -explo -gname testgraph_" + s); proc_in = new BufferedReader(new InputStreamReader(proc.getInputStream())); @@ -806,27 +792,22 @@ public class DiplodocusDelayTest extends AbstractUITest { for (int i = 0; i < MODELS_SIGNALS.length; i++) { String s = MODELS_SIGNALS[i]; SIM_DIR = DIR_GEN + s + "Cmd/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -866,7 +847,7 @@ public class DiplodocusDelayTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { @@ -970,27 +951,22 @@ public class DiplodocusDelayTest extends AbstractUITest { for (int i = 0; i < MODELS_FPGA_RECONFIG.length; i++) { String s = MODELS_FPGA_RECONFIG[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -1026,7 +1002,7 @@ public class DiplodocusDelayTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/DiplodocusSimulatorTerminationTest.java b/ttool/src/test/java/ui/totml/DiplodocusSimulatorTerminationTest.java similarity index 88% rename from ttool/src/test/java/tmltranslator/DiplodocusSimulatorTerminationTest.java rename to ttool/src/test/java/ui/totml/DiplodocusSimulatorTerminationTest.java index d119b5f9025ad533ca69759e86a6a91c0617044a..cb39569f61cf9e5c4874278979125625962eb075 100644 --- a/ttool/src/test/java/tmltranslator/DiplodocusSimulatorTerminationTest.java +++ b/ttool/src/test/java/ui/totml/DiplodocusSimulatorTerminationTest.java @@ -1,8 +1,7 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; -import myutil.FileUtils; import myutil.TraceManager; import org.junit.Before; import org.junit.BeforeClass; @@ -12,12 +11,15 @@ import remotesimulation.RemoteConnectionException; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; import tmltranslator.tomappingsystemc2.Penalties; import ui.AbstractUITest; +import ui.TDiagramPanel; +import ui.TMLArchiPanel; +import ui.TURTLEPanel; +import ui.tmldd.TMLArchiDiagramPanel; import java.io.BufferedReader; import java.io.File; @@ -57,28 +59,22 @@ public class DiplodocusSimulatorTerminationTest extends AbstractUITest { String s = MODELS_TERMINATE[i]; SIM_DIR = DIR_GEN + s + "/"; System.out.println("executing: checking syntax " + s); - // Load the TML - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for (TURTLEPanel _tab : mainGUI.getTabs()) { + if (_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + 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/java/tmltranslator/DiplodocusSimulatorTest.java b/ttool/src/test/java/ui/totml/DiplodocusSimulatorTest.java similarity index 89% rename from ttool/src/test/java/tmltranslator/DiplodocusSimulatorTest.java rename to ttool/src/test/java/ui/totml/DiplodocusSimulatorTest.java index a6ce73734ce58ff7f646c59463cd8d010891ca71..2400e4fd97a75cb35da04e0ca237f311dd349d56 100644 --- a/ttool/src/test/java/tmltranslator/DiplodocusSimulatorTest.java +++ b/ttool/src/test/java/ui/totml/DiplodocusSimulatorTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -38,10 +38,10 @@ public class DiplodocusSimulatorTest extends AbstractUITest { final int [] MAX_CYCLES = {315, 4109}; //model for daemon task final String [] MODELS_DAEMON = {"daemontest1", "daemontest2"}; - final int [] NB_Of_DAEMON_STATES = {203, 406}; - final int [] NB_Of_DAEMON_TRANSTIONS = {202, 405}; - final int [] MIN_DAEMON_CYCLES = {2517, 7097}; - final int [] MAX_DAEMON_CYCLES = {2517, 7097}; + final int [] NB_Of_DAEMON_STATES = {12, 124}; + final int [] NB_Of_DAEMON_TRANSTIONS = {11, 123}; + final int [] MIN_DAEMON_CYCLES = {181, 2743}; + final int [] MAX_DAEMON_CYCLES = {181, 2743}; // model for Daemon Run To Next Breakpoint final String MODELS_DAEMON_RTNB = "testDaemon"; @@ -91,6 +91,7 @@ public class DiplodocusSimulatorTest extends AbstractUITest { boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); assertTrue(parsed); + System.out.println("executing: checking syntax " + s); // Checking syntax TMLMapping tmap = tmts.getTMLMapping(); @@ -234,35 +235,27 @@ public class DiplodocusSimulatorTest extends AbstractUITest { } } - @Test public void testSimulationGraphDaemon() throws Exception { for (int i = 0; i < MODELS_DAEMON.length; i++) { String s = MODELS_DAEMON[i]; SIM_DIR = DIR_GEN + s + "/"; System.out.println("executing: checking syntax " + s); - // Load the TML - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -298,7 +291,7 @@ public class DiplodocusSimulatorTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(true); if (changed == 1) { @@ -346,11 +339,12 @@ public class DiplodocusSimulatorTest extends AbstractUITest { String graphPath = SIM_DIR + "testgraph_" + s; try { - String[] params = new String[3]; + String[] params = new String[4]; params[0] = "./" + SIM_DIR + "run.x"; - params[1] = "-cmd"; - params[2] = "1 0; 1 7 100 100 " + graphPath; + params[1] = "-explo"; + params[2] = "-gname"; + params[3] = graphPath; proc = Runtime.getRuntime().exec(params); //proc = Runtime.getRuntime().exec("./" + SIM_DIR + "run.x -explo -gname testgraph_" + s); proc_in = new BufferedReader(new InputStreamReader(proc.getInputStream())); @@ -402,29 +396,21 @@ public class DiplodocusSimulatorTest extends AbstractUITest { String s = MODELS_DAEMON_RTNB; SIM_DIR = DIR_GEN + s + "/"; System.out.println("executing: checking syntax " + s); - // Load the TML - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - - - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -460,7 +446,7 @@ public class DiplodocusSimulatorTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { @@ -512,7 +498,7 @@ public class DiplodocusSimulatorTest extends AbstractUITest { params[0] = "./" + SIM_DIR + "run.x"; params[1] = "-cmd"; - params[2] = "11 2 26; 1 0; 1 7 100 100 " + graphPath; + params[2] = "11 4 21; 1 0; 1 7 100 100 " + graphPath; proc = Runtime.getRuntime().exec(params); //proc = Runtime.getRuntime().exec("./" + SIM_DIR + "run.x -explo -gname testgraph_" + s); proc_in = new BufferedReader(new InputStreamReader(proc.getInputStream())); @@ -529,7 +515,7 @@ public class DiplodocusSimulatorTest extends AbstractUITest { params[0] = "./" + SIM_DIR + "run.x"; params[1] = "-cmd"; - params[2] = "11 2 26; 1 0; 1 0; 1 7 100 100 " + graphPath + "_second"; + params[2] = "11 4 21; 1 0; 1 0; 1 7 100 100 " + graphPath + "_second"; proc = Runtime.getRuntime().exec(params); //proc = Runtime.getRuntime().exec("./" + SIM_DIR + "run.x -explo -gname testgraph_" + s); proc_in = new BufferedReader(new InputStreamReader(proc.getInputStream())); diff --git a/ttool/src/test/java/tmltranslator/FpgaClockDividerTest.java b/ttool/src/test/java/ui/totml/FpgaClockDividerTest.java similarity index 85% rename from ttool/src/test/java/tmltranslator/FpgaClockDividerTest.java rename to ttool/src/test/java/ui/totml/FpgaClockDividerTest.java index 3398e36b0c109e5643553235c8b4dfdfe9c31043..fc42b9e32e82607f7a9eb9a0c5437d5786b83548 100644 --- a/ttool/src/test/java/tmltranslator/FpgaClockDividerTest.java +++ b/ttool/src/test/java/ui/totml/FpgaClockDividerTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -10,7 +10,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -33,10 +32,10 @@ public class FpgaClockDividerTest extends AbstractUITest { private final String DIR_GEN = "test_diplo_simulator/"; private final String [] MODELS_FPGA_CLOCK_DIVIDER = {"fpga_clock_divider"}; private String SIM_DIR; - private final int [] NB_OF_FCD_STATES = {57}; - private final int [] NB_OF_FCD_TRANSTIONS = {56}; - private final int [] MIN_FCD_CYCLES = {244}; - private final int [] MAX_FCD_CYCLES = {244}; + private final int [] NB_OF_FCD_STATES = {32}; + private final int [] NB_OF_FCD_TRANSTIONS = {31}; + private final int [] MIN_FCD_CYCLES = {220}; + private final int [] MAX_FCD_CYCLES = {220}; private static String CPP_DIR = "../../../../simulators/c++2/"; private static String mappingName = "ArchitectureSimple"; @@ -60,27 +59,18 @@ public class FpgaClockDividerTest extends AbstractUITest { String s = MODELS_FPGA_CLOCK_DIVIDER[i]; SIM_DIR = DIR_GEN + s + "/"; System.out.println("executing: checking syntax " + s); - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + TMLArchiPanel _tab = findArchiPanel(mappingName); + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + 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/java/tmltranslator/HTMLParseTest.java b/ttool/src/test/java/ui/totml/HTMLParseTest.java similarity index 87% rename from ttool/src/test/java/tmltranslator/HTMLParseTest.java rename to ttool/src/test/java/ui/totml/HTMLParseTest.java index f6c22fe2de9bc63802a4a15cc7da0a46f2de5d54..9855d6734977829188fb766c8688ace101b5671d 100644 --- a/ttool/src/test/java/tmltranslator/HTMLParseTest.java +++ b/ttool/src/test/java/ui/totml/HTMLParseTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -14,7 +14,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -34,9 +33,9 @@ import static org.junit.Assert.assertTrue; public class HTMLParseTest extends AbstractUITest { final String DIR_GEN = "test_diplo_simulator/"; final String [] MODELS_PARSE_HTML = {"parseFPGA_HTML", "parseCPU1_HTML","parseCPU2_HTML"}; - final String [] PARSE_FPGA = {"<- idle 468 ->","", "", "", ""}; + final String [] PARSE_FPGA = {"<- idle 471 ->","", "", "", ""}; final String [] PARSE_SINGLE_CORE = {"<- idle 366 ->", "<- idle 401 ->", "<- idle 401 ->", "<- idle 401 ->", "<- idle 401 ->"}; - final String [] PARSE_MULTI_CORE = { "", "", "", "", ""}; + final String [] PARSE_MULTI_CORE = { "", "", "", "", "<- idle 377 ->"}; final static String EXPECTED_FILE_GET_ALL_TRANS = getBaseResourcesDir() + "tmltranslator/expected/expected_get_all_transactions.txt"; private String SIM_DIR; @@ -62,27 +61,21 @@ public class HTMLParseTest extends AbstractUITest { String s = MODELS_PARSE_HTML[i]; SIM_DIR = DIR_GEN + s + "/"; System.out.println("executing: checking syntax " + s); - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -229,27 +222,21 @@ public class HTMLParseTest extends AbstractUITest { String s = MODELS_PARSE_HTML[i]; SIM_DIR = DIR_GEN + s + "_lat/"; System.out.println("executing: checking syntax " + s); - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + 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/java/tmltranslator/MemoryLeakTest.java b/ttool/src/test/java/ui/totml/MemoryLeakTest.java similarity index 88% rename from ttool/src/test/java/tmltranslator/MemoryLeakTest.java rename to ttool/src/test/java/ui/totml/MemoryLeakTest.java index 0fd6eefa07603af7df4eb3444c808711d292a190..6e94206149a75f4238c46c0260ed6a844b0ff199 100644 --- a/ttool/src/test/java/tmltranslator/MemoryLeakTest.java +++ b/ttool/src/test/java/ui/totml/MemoryLeakTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -10,7 +10,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -34,10 +33,10 @@ public class MemoryLeakTest extends AbstractUITest { final String DIR_GEN = "test_diplo_simulator/"; final String [] MODELS_MEMORY_LEAK = {"fpga_reconfig5", "fpga_reconfig6"}; private String SIM_DIR; - final int [] NB_OF_ML_STATES = {24, 24}; - final int [] NB_OF_ML_TRANSTIONS = {23, 23}; - final int [] MIN_ML_CYCLES = {72, 73}; - final int [] MAX_ML_CYCLES = {72, 73}; + final int [] NB_OF_ML_STATES = {20, 20}; + final int [] NB_OF_ML_TRANSTIONS = {19, 19}; + final int [] MIN_ML_CYCLES = {75, 76}; + final int [] MAX_ML_CYCLES = {75, 76}; static String CPP_DIR = "../../../../simulators/c++2/"; static String valgrindVersionCmd = "valgrind --version"; static String valgrindExecCmd = "valgrind --leak-check=full --log-file="; @@ -62,27 +61,23 @@ public class MemoryLeakTest extends AbstractUITest { for (int i = 0; i < MODELS_MEMORY_LEAK.length; i++) { String s = MODELS_MEMORY_LEAK[i]; SIM_DIR = DIR_GEN + s + "_memoryLeak/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for (TURTLEPanel _tab : mainGUI.getTabs()) { + if (_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -118,7 +113,7 @@ public class MemoryLeakTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/MulticoreCrossCpuSchedulingTest.java b/ttool/src/test/java/ui/totml/MulticoreCrossCpuSchedulingTest.java similarity index 90% rename from ttool/src/test/java/tmltranslator/MulticoreCrossCpuSchedulingTest.java rename to ttool/src/test/java/ui/totml/MulticoreCrossCpuSchedulingTest.java index 36dbc7f4152104812e99fa31f74499dad748d3ac..771e3268af5aa3a4665b8601a698127f5ff699db 100644 --- a/ttool/src/test/java/tmltranslator/MulticoreCrossCpuSchedulingTest.java +++ b/ttool/src/test/java/ui/totml/MulticoreCrossCpuSchedulingTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -10,7 +10,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -78,27 +77,20 @@ public class MulticoreCrossCpuSchedulingTest extends AbstractUITest { actualResult = ""; String s = MODELS_CPU_CROSS[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + TMLArchiPanel _tab = findArchiPanel(mappingName); + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + currTdp = (TMLArchiDiagramPanel) tdp; + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -134,7 +126,7 @@ public class MulticoreCrossCpuSchedulingTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/MulticoreHangingTest.java b/ttool/src/test/java/ui/totml/MulticoreHangingTest.java similarity index 85% rename from ttool/src/test/java/tmltranslator/MulticoreHangingTest.java rename to ttool/src/test/java/ui/totml/MulticoreHangingTest.java index 201e26f2f42864404eb1bfca84677782c1ef4ddc..506a3b33c5c395638743acb6cf6071940e5b3c8a 100644 --- a/ttool/src/test/java/tmltranslator/MulticoreHangingTest.java +++ b/ttool/src/test/java/ui/totml/MulticoreHangingTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -10,7 +10,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -30,10 +29,10 @@ public class MulticoreHangingTest extends AbstractUITest { final String DIR_GEN = "test_diplo_simulator/"; final String [] MODELS_CPU_SHOWTRACE = {"multicore_trace"}; private String SIM_DIR; - final int [] NB_OF_MH_STATES = {49}; - final int [] NB_OF_MH_TRANSTIONS = {48}; - final int [] MIN_MH_CYCLES = {125}; - final int [] MAX_MH_CYCLES = {125}; + final int [] NB_OF_MH_STATES = {22}; + final int [] NB_OF_MH_TRANSTIONS = {21}; + final int [] MIN_MH_CYCLES = {120}; + final int [] MAX_MH_CYCLES = {120}; static String CPP_DIR = "../../../../simulators/c++2/"; static String mappingName = "ArchitectureSimple"; private TMLArchiDiagramPanel currTdp; @@ -57,27 +56,20 @@ public class MulticoreHangingTest extends AbstractUITest { for (int i = 0; i < MODELS_CPU_SHOWTRACE.length; i++) { String s = MODELS_CPU_SHOWTRACE[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + TMLArchiPanel _tab = findArchiPanel(mappingName); + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + currTdp = (TMLArchiDiagramPanel) tdp; + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -113,7 +105,7 @@ public class MulticoreHangingTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/RemoveAllTransactionsTests.java b/ttool/src/test/java/ui/totml/RemoveAllTransactionsTests.java similarity index 91% rename from ttool/src/test/java/tmltranslator/RemoveAllTransactionsTests.java rename to ttool/src/test/java/ui/totml/RemoveAllTransactionsTests.java index f27a71f18afabe87993861bfdaf707ee2e19aabc..a5fa0423ed5e5517d38421046d533e38d4dd47ea 100644 --- a/ttool/src/test/java/tmltranslator/RemoveAllTransactionsTests.java +++ b/ttool/src/test/java/ui/totml/RemoveAllTransactionsTests.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -10,7 +10,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -31,8 +30,8 @@ public class RemoveAllTransactionsTests extends AbstractUITest { final String DIR_GEN = "test_diplo_simulator/"; final String [] MODELS_PARSE_HTML = {"parseFPGA_HTML"}; final static String EXPECTED_FILE_REMOVE_ALL_TRANS = getBaseResourcesDir() + "tmltranslator/expected/expected_remove_all_trans.txt"; - final int [] FULL_DATA_TRANSACTION = {24, 23, 473, 473}; - final int [] REMOVE_DATA_TRANSACTION = {12, 11, 473, 473}; + final int [] FULL_DATA_TRANSACTION = {20, 19, 476, 476}; + final int [] REMOVE_DATA_TRANSACTION = {8, 7, 476, 476}; private String SIM_DIR; @BeforeClass public static void setUpBeforeClass() throws Exception { @@ -53,27 +52,22 @@ public class RemoveAllTransactionsTests extends AbstractUITest { for (int i = 0; i < MODELS_PARSE_HTML.length; i++) { String s = MODELS_PARSE_HTML[i]; SIM_DIR = DIR_GEN + s + "_rmat/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -109,7 +103,7 @@ public class RemoveAllTransactionsTests extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/RunToNextBreakpointMaxTransTest.java b/ttool/src/test/java/ui/totml/RunToNextBreakpointMaxTransTest.java similarity index 86% rename from ttool/src/test/java/tmltranslator/RunToNextBreakpointMaxTransTest.java rename to ttool/src/test/java/ui/totml/RunToNextBreakpointMaxTransTest.java index aceed3ee475b8514e952e4795f3755fcdc7beec9..e8337d8364a52db61516d893de714ee85174c2c5 100644 --- a/ttool/src/test/java/tmltranslator/RunToNextBreakpointMaxTransTest.java +++ b/ttool/src/test/java/ui/totml/RunToNextBreakpointMaxTransTest.java @@ -1,8 +1,7 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; -import myutil.FileUtils; import myutil.TraceManager; import org.junit.Before; import org.junit.BeforeClass; @@ -10,7 +9,6 @@ import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -56,27 +54,20 @@ public class RunToNextBreakpointMaxTransTest extends AbstractUITest { for (int i = 0; i < MODELS_RTNBP_MAX_TRANS.length; i++) { String s = MODELS_RTNBP_MAX_TRANS[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + TMLArchiPanel _tab = findArchiPanel(mappingName); + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + currTdp = (TMLArchiDiagramPanel) tdp; + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -112,7 +103,7 @@ public class RunToNextBreakpointMaxTransTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/RunUntilChannelAccessTest.java b/ttool/src/test/java/ui/totml/RunUntilChannelAccessTest.java similarity index 87% rename from ttool/src/test/java/tmltranslator/RunUntilChannelAccessTest.java rename to ttool/src/test/java/ui/totml/RunUntilChannelAccessTest.java index d1bc79cfb93813b82d8cbb404c3a62e04e22b9a2..37df3e3989fb12e7b913d5a124e751b4cb9b2015 100644 --- a/ttool/src/test/java/tmltranslator/RunUntilChannelAccessTest.java +++ b/ttool/src/test/java/ui/totml/RunUntilChannelAccessTest.java @@ -1,15 +1,13 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; -import myutil.FileUtils; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -50,27 +48,22 @@ public class RunUntilChannelAccessTest extends AbstractUITest { for (int i = 0; i < 1; i++) { String s = MODELS_RUCA[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); - + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for(TURTLEPanel _tab : mainGUI.getTabs()) { + if(_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -106,7 +99,7 @@ public class RunUntilChannelAccessTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { diff --git a/ttool/src/test/java/tmltranslator/TimelineDiagramTest.java b/ttool/src/test/java/ui/totml/TimelineDiagramTest.java similarity index 88% rename from ttool/src/test/java/tmltranslator/TimelineDiagramTest.java rename to ttool/src/test/java/ui/totml/TimelineDiagramTest.java index fb75dfd09a337f9f230ff37c6de42bd61bf96241..26e6ba3aef4391139f9d120d12ef9d8a4cf60448 100644 --- a/ttool/src/test/java/tmltranslator/TimelineDiagramTest.java +++ b/ttool/src/test/java/ui/totml/TimelineDiagramTest.java @@ -1,4 +1,4 @@ -package tmltranslator; +package ui.totml; import common.ConfigurationTTool; import common.SpecConfigTTool; @@ -12,7 +12,6 @@ import remotesimulation.RemoteConnectionException; import req.ebrdd.EBRDD; import tepe.TEPE; import tmltranslator.TMLMapping; -import tmltranslator.TMLMappingTextSpecification; import tmltranslator.TMLSyntaxChecking; import tmltranslator.tomappingsystemc2.DiploSimulatorFactory; import tmltranslator.tomappingsystemc2.IDiploSimulatorCodeGenerator; @@ -61,27 +60,23 @@ public class TimelineDiagramTest extends AbstractUITest { for (int i = 0; i < MODELS_TIMELINE.length; i++) { String s = MODELS_TIMELINE[i]; SIM_DIR = DIR_GEN + s + "/"; - System.out.println("executing: loading " + s); - TMLMappingTextSpecification tmts = new TMLMappingTextSpecification(s); - File f = new File(RESOURCES_DIR + s + ".tmap"); - System.out.println("executing: new file loaded " + s); - String spec = null; - try { - spec = FileUtils.loadFileData(f); - } catch (Exception e) { - System.out.println("Exception executing: loading " + s); - assertTrue(false); - } - System.out.println("executing: testing spec " + s); - assertTrue(spec != null); - System.out.println("executing: testing parsed " + s); - boolean parsed = tmts.makeTMLMapping(spec, RESOURCES_DIR); - assertTrue(parsed); - System.out.println("executing: checking syntax " + s); - // Checking syntax - TMLMapping tmap = tmts.getTMLMapping(); + // select architecture tab + mainGUI.openProjectFromFile(new File(RESOURCES_DIR + s + ".xml")); + for (TURTLEPanel _tab : mainGUI.getTabs()) { + if (_tab instanceof TMLArchiPanel) { + for (TDiagramPanel tdp : _tab.getPanels()) { + if (tdp instanceof TMLArchiDiagramPanel) { + mainGUI.selectTab(tdp); + break; + } + } + break; + } + } + mainGUI.checkModelingSyntax(true); + TMLMapping tmap = mainGUI.gtm.getTMLMapping(); TMLSyntaxChecking syntax = new TMLSyntaxChecking(tmap); syntax.checkSyntax(); assertTrue(syntax.hasErrors() == 0); @@ -117,7 +112,7 @@ public class TimelineDiagramTest extends AbstractUITest { BufferedReader proc_in; String str; boolean mustRecompileAll; - Penalties penalty = new Penalties(SIM_DIR + File.separator + "src_simulator"); + Penalties penalty = new Penalties(SIM_DIR + "src_simulator"); int changed = penalty.handlePenalties(false); if (changed == 1) { @@ -176,7 +171,7 @@ public class TimelineDiagramTest extends AbstractUITest { try { toServer(" 1 6 100", rc); Thread.sleep(5); - toServer("7 4 ApplicationSimple__Src,ApplicationSimple__T1,ApplicationSimple__T2 1", rc); + toServer("7 4 ApplicationSimple__Src,ApplicationSimple__T1,ApplicationSimple__T2", rc); Thread.sleep(5); while (running) { String line = null; diff --git a/ttool/src/test/resources/tmltranslator/expected/expected_get_all_transactions.txt b/ttool/src/test/resources/tmltranslator/expected/expected_get_all_transactions.txt index 08db3755a884b3c93043e9b25b2fb30b3f4516c1..4be21e6d39253242445c349fe8766962131774fa 100644 --- a/ttool/src/test/resources/tmltranslator/expected/expected_get_all_transactions.txt +++ b/ttool/src/test/resources/tmltranslator/expected/expected_get_all_transactions.txt @@ -1,10 +1,10 @@ -Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:16" +Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:24" Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: Execi 5" -Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:16" +Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:24" Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: Execi 5" -Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:16" +Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:24" Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: Execi 5" -Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:16" +Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:24" Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: Execi 5" -Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:16" +Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: IdleDL in Application__Task2 len:1 progress:0 ID:24" Info transaction: " deviceid="0" devicename="FPGA0" command="Application__Task2: Execi 5" \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/expected/expected_get_generated_timeline.txt b/ttool/src/test/resources/tmltranslator/expected/expected_get_generated_timeline.txt index e9588371e47557680b5558b2603f926fa7927aa2..9ee5acf2dad7e6bde991d589e1b11e53ff332d1e 100644 --- a/ttool/src/test/resources/tmltranslator/expected/expected_get_generated_timeline.txt +++ b/ttool/src/test/resources/tmltranslator/expected/expected_get_generated_timeline.txt @@ -1,5 +1,5 @@ <!DOCTYPE html><html><head><style>table{border-collapse: collapse;empty-cells: show;margin: 0.4cm;}td{padding: 10px 5px;border: 1px solid black;max-width: 5px;}th{padding: 5px;}.sc{border-style: none;padding: 0px;font-size: small;transform: rotate(45deg);transform-origin: left top;}.sc1{border-style: none;padding: 0px;font-size: small;color: red;transform: rotate(45deg);transform-origin: left top;}h2{border-bottom: 1px solid #666;}h2 span {position: relative;left: -0.3em;bottom: -0.6em;padding: 1px 0.5em;border-style: solid;border-width: 1px 1px 1px 0.8em;border-color: #666 #666 #666 #008;background-color: #ddd; } .space{border-style: none;} .not{background-color: white; text-align: center} .notfirst{background-color: white;border-width: 2px;border-color: red;border-style: none solid none none; } .notmid {background-color: white;text-align: right;border-style: solid none none none; } .notlast {background-color: white;width: 5px;border-style: none none none none; } .t0{background-color: yellow;} .t1{background-color: purple;} .t2{background-color: red;} .t3{background-color: silver;} .t4{background-color: teal;} .t5{background-color: aqua;} .t6{background-color: olive;} .t7{background-color: navy;} .t8{background-color: maroon;} .t9{background-color: lime;} .t10{background-color: green;} .t11{background-color: gray;} .t12{background-color: fuchsia;} .t13{background-color: blue;} .t14{background-color: darkred;}.wrapper {width: 256px;height: 256px; } .clear {clear:both}</style><title>Timeline Diagram</title></head><body> -<table><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notlast"></td><td class="notlast"></td><td class="t0"></td><td style="max-width: unset;min-width: 170px;">ApplicationSimple__T1</td><td class="space"></td><td class="t1"></td><td style="max-width: unset;min-width: 170px;">ApplicationSimple__Src</td><td class="space"></td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notlast"></td><td class="notlast"></td><td style="border-style: none none none none;"></td><td style="max-width: unset;min-width: 170px;border-style: none none none none;color:orange"><b>Suspended</b></td><td class="space"></td><td style="border-style: none none none none;"></td><td style="max-width: unset;min-width: 170px;border-style: none none none none;color:green"><b>Running</b></td><td class="space"></td></tr></table><table style="float: left;position: relative;"><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td style="border-style: solid none none none; border-width: 2px;border-color: red;text-align:right"colspan="103"><b>Time</b></td></tr><tr><th></th><th class="notfirst"></th></tr><div class = "clear"></div><tr><td title = "Average load: 0.8; Utilization: 0.8" width="170px" style="max-width: unset;min-width: 170px;background-color: aqua;">FPGA1_1_core_0</td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__T1: Wait in ApplicationSimple__T1 --Attributes params:(100(size)) Ch: ApplicationSimple__evtToT1__ApplicationSimple__evtToT1" class="t0"> W</td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td><td colspan="1" title="idle time" class="not"></td><td colspan="4" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" class="sc">0</td><td colspan="1" class="sc">1</td><td colspan="4" class="sc">2</td><td colspan="1" class="sc">6</td><td colspan="4" class="sc">7</td><td colspan="1" class="sc">11</td><td colspan="4" class="sc">12</td><td colspan="1" class="sc">16</td><td colspan="4" class="sc">17</td><td colspan="1" class="sc">21</td><td colspan="4" class="sc">22</td><td colspan="1" class="sc">26</td><td colspan="4" class="sc">27</td><td colspan="1" class="sc">31</td><td colspan="4" class="sc">32</td><td colspan="1" class="sc">36</td><td colspan="4" class="sc">37</td><td colspan="1" class="sc">41</td><td colspan="4" class="sc">42</td><td colspan="1" class="sc">46</td><td colspan="4" class="sc">47</td><td colspan="1" class="sc">51</td><td colspan="4" class="sc">52</td><td colspan="1" class="sc">56</td><td colspan="4" class="sc">57</td><td colspan="1" class="sc">61</td><td colspan="4" class="sc">62</td><td colspan="1" class="sc">66</td><td colspan="4" class="sc">67</td><td colspan="1" class="sc">71</td><td colspan="4" class="sc">72</td><td colspan="1" class="sc">76</td><td colspan="4" class="sc">77</td><td colspan="1" class="sc">81</td><td colspan="4" class="sc">82</td><td colspan="1" class="sc">86</td><td colspan="4" class="sc">87</td><td colspan="1" class="sc">91</td><td colspan="4" class="sc">92</td><td colspan="1" class="sc">96</td><td colspan="4" class="sc">97</td><td colspan="5" class="sc">101</td></tr><tr><th></th><th class="notfirst"><th></th></tr><div class = "clear"></div> -<tr><td title = "Average load: 0.22; Utilization: 0.21" width="170px" style="max-width: unset;min-width: 170px;background-color: aqua;">Src_1_core_0</td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" title="ApplicationSimple__Src: Send in ApplicationSimple__Src --Attributes params:(100(size)) Ch: ApplicationSimple__evtToT1__ApplicationSimple__evtToT1" class="t1"> S</td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" class="sc">0</td><td colspan="1" class="sc">1</td><td colspan="4" class="sc">2</td><td colspan="1" class="sc">6</td><td colspan="4" class="sc">7</td><td colspan="1" class="sc">11</td><td colspan="4" class="sc">12</td><td colspan="1" class="sc">16</td><td colspan="4" class="sc">17</td><td colspan="1" class="sc">21</td><td colspan="4" class="sc">22</td><td colspan="1" class="sc">26</td><td colspan="4" class="sc">27</td><td colspan="1" class="sc">31</td><td colspan="4" class="sc">32</td><td colspan="1" class="sc">36</td><td colspan="4" class="sc">37</td><td colspan="1" class="sc">41</td><td colspan="4" class="sc">42</td><td colspan="1" class="sc">46</td><td colspan="4" class="sc">47</td><td colspan="1" class="sc">51</td><td colspan="4" class="sc">52</td><td colspan="1" class="sc">56</td><td colspan="4" class="sc">57</td><td colspan="1" class="sc">61</td><td colspan="4" class="sc">62</td><td colspan="1" class="sc">66</td><td colspan="4" class="sc">67</td><td colspan="1" class="sc">71</td><td colspan="4" class="sc">72</td><td colspan="1" class="sc">76</td><td colspan="4" class="sc">77</td><td colspan="1" class="sc">81</td><td colspan="4" class="sc">82</td><td colspan="1" class="sc">86</td><td colspan="4" class="sc">87</td><td colspan="1" class="sc">91</td><td colspan="4" class="sc">92</td><td colspan="1" class="sc">96</td><td colspan="5" class="sc">97</td></tr><tr><th></th><th class="notfirst"><th></th></tr><div class = "clear"></div> -<tr><td title = "Average load: 0.21; Utilization: 0.2" width="170px" style="max-width: unset;min-width: 170px;background-color: aqua;">Bus0_0</td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" class="sc">0</td><td colspan="1" class="sc">1</td><td colspan="4" class="sc">2</td><td colspan="1" class="sc">6</td><td colspan="4" class="sc">7</td><td colspan="1" class="sc">11</td><td colspan="4" class="sc">12</td><td colspan="1" class="sc">16</td><td colspan="4" class="sc">17</td><td colspan="1" class="sc">21</td><td colspan="4" class="sc">22</td><td colspan="1" class="sc">26</td><td colspan="4" class="sc">27</td><td colspan="1" class="sc">31</td><td colspan="4" class="sc">32</td><td colspan="1" class="sc">36</td><td colspan="4" class="sc">37</td><td colspan="1" class="sc">41</td><td colspan="4" class="sc">42</td><td colspan="1" class="sc">46</td><td colspan="4" class="sc">47</td><td colspan="1" class="sc">51</td><td colspan="4" class="sc">52</td><td colspan="1" class="sc">56</td><td colspan="4" class="sc">57</td><td colspan="1" class="sc">61</td><td colspan="4" class="sc">62</td><td colspan="1" class="sc">66</td><td colspan="4" class="sc">67</td><td colspan="1" class="sc">71</td><td colspan="4" class="sc">72</td><td colspan="1" class="sc">76</td><td colspan="4" class="sc">77</td><td colspan="1" class="sc">81</td><td colspan="4" class="sc">82</td><td colspan="1" class="sc">86</td><td colspan="4" class="sc">87</td><td colspan="1" class="sc">91</td><td colspan="4" class="sc">92</td><td colspan="1" class="sc">96</td><td colspan="5" class="sc">97</td></tr><tr><th></th><th class="notfirst"><th></th></tr><div class = "clear"></div> -</tr><tr><th></th><th class="notfirst"></th></tr><div class = "clear"></div><th></th><th class="notfirst"><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th></table></body></html> \ No newline at end of file +<table><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notlast"></td><td class="notlast"></td><td class="t0"></td><td style="max-width: unset;min-width: 170px;">ApplicationSimple__T1</td><td class="space"></td><td class="t1"></td><td style="max-width: unset;min-width: 170px;">ApplicationSimple__Src</td><td class="space"></td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notlast"></td><td class="notlast"></td><td style="border-style: none none none none;"></td><td style="max-width: unset;min-width: 170px;border-style: none none none none;color:green"><b>Running</b></td><td class="space"></td><td style="border-style: none none none none;"></td><td style="max-width: unset;min-width: 170px;border-style: none none none none;color:red"><b>Terminated</b></td><td class="space"></td></tr></table><table style="float: left;position: relative;"><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td style="border-style: solid none none none; border-width: 2px;border-color: red;text-align:right"colspan="28"><b>Time</b></td></tr><tr><th></th><th class="notfirst"></th></tr><div class = "clear"></div><tr><td title = "Average load: 0.99; Utilization: 0.99" width="170px" style="max-width: unset;min-width: 170px;background-color: aqua;">FPGA1_1_core_0</td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" title="idle time" class="not"></td><td colspan="1" title="ApplicationSimple__T1: Wait in ApplicationSimple__T1 --Attributes params:(100(size)) Ch: ApplicationSimple__evtToT1__ApplicationSimple__evtToT1" class="t0"> W</td><td colspan="4" title="idle time" class="not"></td><td colspan="20" title="ApplicationSimple__T1: Read in ApplicationSimple__T1 --Attributes params: Ch: ApplicationSimple__chToT1" class="t0"> R</td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" class="sc">0</td><td colspan="1" class="sc">1</td><td colspan="4" class="sc">2</td><td colspan="20" class="sc">6</td><td colspan="5" class="sc">406</td></tr><tr><th></th><th class="notfirst"><th></th></tr><div class = "clear"></div> +<tr><td title = "Average load: 1; Utilization: 0.015" width="170px" style="max-width: unset;min-width: 170px;background-color: aqua;">Src_1_core_0</td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" title="ApplicationSimple__Src: Send in ApplicationSimple__Src --Attributes params:(100(size)) Ch: ApplicationSimple__evtToT1__ApplicationSimple__evtToT1" class="t1"> S</td><td colspan="5" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" class="sc">0</td><td colspan="5" class="sc">1</td><td colspan="5" class="sc">6</td></tr><tr><th></th><th class="notfirst"><th></th></tr><div class = "clear"></div> +<tr><td title = "Average load: 0.83; Utilization: 0.012" width="170px" style="max-width: unset;min-width: 170px;background-color: aqua;">Bus0_0</td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" title="idle time" class="not"></td><td colspan="5" title="ApplicationSimple__Src: Write in ApplicationSimple__Src --Attributes params: Ch: ApplicationSimple__chToT1" class="t1"> W</td></tr><tr><td width="170px" style="max-width: unset;min-width: 170px;border-style: none none none none;"></td><td class="notfirst"></td><td class="notlast"></td><td colspan="1" class="sc">0</td><td colspan="5" class="sc">1</td><td colspan="5" class="sc">6</td></tr><tr><th></th><th class="notfirst"><th></th></tr><div class = "clear"></div> +</tr><tr><th></th><th class="notfirst"></th></tr><div class = "clear"></div><th></th><th class="notfirst"><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th></table></body></html> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/expected/expected_remove_all_trans.txt b/ttool/src/test/resources/tmltranslator/expected/expected_remove_all_trans.txt index 60907432ebf56882d0e925c33bd28af25c067e2b..258ac81a3cb3c9fd776d3af129b340da4f46376c 100644 --- a/ttool/src/test/resources/tmltranslator/expected/expected_remove_all_trans.txt +++ b/ttool/src/test/resources/tmltranslator/expected/expected_remove_all_trans.txt @@ -1,3 +1,3 @@ ========= Scheduling for device: FPGA0 ========= -Application__Task4: Read 20,Application__ch t:294 l:4 (vl:4) params: Ch: Application__ch +Application__Task4: Read 20,Application__ch t:299 l:8 (vl:8) params: Ch: Application__ch ========= Scheduling for device: Bus0_0 ========= \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/expected/expected_ruca.txt b/ttool/src/test/resources/tmltranslator/expected/expected_ruca.txt index 133969d1930607656f6e34484b690a97c2147a26..7bdafe50be380f8ad743d5b1f435459992a32a3f 100644 --- a/ttool/src/test/resources/tmltranslator/expected/expected_ruca.txt +++ b/ttool/src/test/resources/tmltranslator/expected/expected_ruca.txt @@ -1,27 +1,15 @@ ========= Scheduling for device: FPGA1_1 ========= Application__Src: Wait Application__startEvt__Application__startEvt params: t:4 l:1 (vl:1) params:(0(x)) Ch: Application__startEvt__Application__startEvt -Application__Src: Write 20,Application__chToT1 t:5 l:1 (vl:4) params: Ch: Application__chToT1 -Application__T1: Read 20,Application__chToT1 t:6 l:4 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:10 l:1 (vl:4) params: Ch: Application__chToT1 -Application__T1: Read 20,Application__chToT1 t:11 l:4 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:15 l:1 (vl:4) params: Ch: Application__chToT1 -Application__T1: Read 20,Application__chToT1 t:16 l:4 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:20 l:1 (vl:4) params: Ch: Application__chToT1 -Application__T1: Read 20,Application__chToT1 t:21 l:4 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:25 l:1 (vl:4) params: Ch: Application__chToT1 -Application__T1: Read 20,Application__chToT1 t:26 l:4 (vl:4) params: Ch: Application__chToT1 +Application__Src: Write 20,Application__chToT1 t:5 l:5 (vl:20) params: Ch: Application__chToT1 +Application__T1: Read 20,Application__chToT1 t:10 l:20 (vl:20) params: Ch: Application__chToT1 Application__T1: Execi 10 t:30 l:10 (vl:10) params: -Application__T1: Write 20,Application__chToT2 t:40 l:1 (vl:4) params: Ch: Application__chToT2 -Application__T2: Read 20,Application__chToT2 t:41 l:4 (vl:4) params: Ch: Application__chToT2 -Application__T1: Write 20,Application__chToT2 t:45 l:1 (vl:4) params: Ch: Application__chToT2 +Application__T1: Write 20,Application__chToT2 t:40 l:2 (vl:8) params: Ch: Application__chToT2 +Application__T2: Read 20,Application__chToT2 t:42 l:8 (vl:8) params: Ch: Application__chToT2 +Application__T1: Write 20,Application__chToT2 t:50 l:2 (vl:8) params: Ch: Application__chToT2 ========= Scheduling for device: Src_1 ========= -Application__Start: IdleDL in Application__Start len:1 progress:0 ID:19 t:2 l:1 (vl:1) params: +Application__Start: IdleDL in Application__Start len:1 progress:0 ID:36 t:2 l:1 (vl:1) params: Application__Start: Send Application__startEvt__Application__startEvt(evtFB) len:8 content:0 params: t:3 l:1 (vl:1) params:(0(x)) Ch: Application__startEvt__Application__startEvt ========= Scheduling for device: Bus0_0 ========= -Application__Src: Write 20,Application__chToT1 t:5 l:1 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:10 l:1 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:15 l:1 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:20 l:1 (vl:4) params: Ch: Application__chToT1 -Application__Src: Write 20,Application__chToT1 t:25 l:1 (vl:4) params: Ch: Application__chToT1 -Application__T1: Write 20,Application__chToT2 t:40 l:1 (vl:4) params: Ch: Application__chToT2 -Application__T1: Write 20,Application__chToT2 t:45 l:1 (vl:4) params: Ch: Application__chToT2 \ No newline at end of file +Application__Src: Write 20,Application__chToT1 t:5 l:5 (vl:20) params: Ch: Application__chToT1 +Application__T1: Write 20,Application__chToT2 t:40 l:2 (vl:8) params: Ch: Application__chToT2 +Application__T1: Write 20,Application__chToT2 t:50 l:2 (vl:8) params: Ch: Application__chToT2 diff --git a/ttool/src/test/resources/tmltranslator/simulator/crossCpuScheduling.xml b/ttool/src/test/resources/tmltranslator/simulator/crossCpuScheduling.xml new file mode 100644 index 0000000000000000000000000000000000000000..2939fb52a7014d903c3f5c7818aaf38c7e61ee69 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/crossCpuScheduling.xml @@ -0,0 +1,727 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="false" 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="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0$C_START" > +<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="315" y="207" /> +<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="315" y="211" id="25" /> +<P2 x="242" y="199" id="3" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="2" > +<cdparam x="442" y="295" /> +<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="541" y="231" id="27" /> +<P2 x="613" y="277" id="14" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="13" > +<cdparam x="29" y="101" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C_START" /> +<TGConnectingPoint num="0" id="5" /> +<TGConnectingPoint num="1" id="6" /> +<TGConnectingPoint num="2" id="7" /> +<TGConnectingPoint num="3" id="8" /> +<TGConnectingPoint num="4" id="9" /> +<TGConnectingPoint num="5" id="10" /> +<TGConnectingPoint num="6" id="11" /> +<TGConnectingPoint num="7" id="12" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="4" > +<father id="13" num="0" /> +<cdparam x="216" y="186" /> +<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 start_evt" /> +<TGConnectingPoint num="0" id="3" /> +<extraparam> +<Prop commName="start_evt" commType="1" origin="true" finite="true" blocking="false" 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> + +<COMPONENT type="1202" id="24" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="16" /> +<TGConnectingPoint num="1" id="17" /> +<TGConnectingPoint num="2" id="18" /> +<TGConnectingPoint num="3" id="19" /> +<TGConnectingPoint num="4" id="20" /> +<TGConnectingPoint num="5" id="21" /> +<TGConnectingPoint num="6" id="22" /> +<TGConnectingPoint num="7" id="23" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="15" > +<father id="24" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="14" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="37" > +<cdparam x="328" y="131" /> +<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="C0" /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<TGConnectingPoint num="2" id="31" /> +<TGConnectingPoint num="3" id="32" /> +<TGConnectingPoint num="4" id="33" /> +<TGConnectingPoint num="5" id="34" /> +<TGConnectingPoint num="6" id="35" /> +<TGConnectingPoint num="7" id="36" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ns" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="26" > +<father id="37" num="0" /> +<cdparam x="315" y="198" /> +<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 start_evt" /> +<TGConnectingPoint num="0" id="25" /> +<extraparam> +<Prop commName="start_evt" 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="28" > +<father id="37" num="1" /> +<cdparam x="515" y="218" /> +<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 evt" /> +<TGConnectingPoint num="0" id="27" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="39" > +<cdparam x="428" y="181" /> +<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="38" /> +</COMPONENT> + +<COMPONENT type="1020" id="43" > +<cdparam x="389" y="110" /> +<sizeparam width="98" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="40" /> +<TGConnectingPoint num="1" id="41" /> +<TGConnectingPoint num="2" id="42" /> +</COMPONENT> + +<COMPONENT type="1001" id="45" > +<cdparam x="513" y="301" /> +<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="44" /> +</COMPONENT> + +<COMPONENT type="1010" id="48" > +<cdparam x="486" y="185" /> +<sizeparam width="69" 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="evt(x) " /> +<TGConnectingPoint num="0" id="46" /> +<TGConnectingPoint num="1" id="47" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="50" > +<cdparam x="400" y="50" /> +<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="49" /> +</COMPONENT> + +<CONNECTOR type="115" id="51" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="47" /> +<P2 x="523" y="296" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="52" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="49" /> +<P2 x="438" y="105" id="40" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="53" > +<cdparam x="453" y="124" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="487" y="124" id="41" /> +<P2 x="520" y="180" id="46" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="54" > +<cdparam x="438" y="135" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="438" y="135" id="42" /> +<P2 x="438" y="176" id="38" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1010" id="57" > +<cdparam x="383" y="104" /> +<sizeparam width="105" 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="start_evt(x) " /> +<TGConnectingPoint num="0" id="55" /> +<TGConnectingPoint num="1" id="56" /> +<extraparam> +<Data eventName="start_evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="59" > +<cdparam x="422" 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="58" /> +</COMPONENT> + +<COMPONENT type="1020" id="63" > +<cdparam x="409" y="223" /> +<sizeparam width="106" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="60" /> +<TGConnectingPoint num="1" id="61" /> +<TGConnectingPoint num="2" id="62" /> +</COMPONENT> + +<COMPONENT type="1026" id="67" > +<cdparam x="579" y="436" /> +<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="65" /> +<TGConnectingPoint num="1" id="66" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="64" > +<father id="67" num="0" /> +<cdparam x="594" y="456" /> +<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="69" > +<cdparam x="582" y="508" /> +<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="68" /> +</COMPONENT> + +<COMPONENT type="1011" id="72" > +<cdparam x="527" y="369" /> +<sizeparam width="68" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="70" /> +<TGConnectingPoint num="1" id="71" /> +</COMPONENT> + +<COMPONENT type="1008" id="75" > +<cdparam x="508" y="299" /> +<sizeparam width="65" 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="evt(x)" /> +<TGConnectingPoint num="0" id="73" /> +<TGConnectingPoint num="1" id="74" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="77" > +<cdparam x="400" y="50" /> +<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="76" /> +</COMPONENT> + +<CONNECTOR type="115" id="78" > +<cdparam x="435" y="129" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="435" y="129" id="56" /> +<P2 x="462" y="218" id="60" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="79" > +<cdparam x="559" y="148" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="515" y="237" id="61" /> +<P2 x="540" y="294" id="73" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="591" y="394" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="584" y="471" id="66" /> +<P2 x="592" y="503" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="559" y="285" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="540" y="324" id="74" /> +<P2 x="561" y="364" id="70" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="582" y="343" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="561" y="394" id="71" /> +<P2 x="584" y="431" id="65" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="471" y="163" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="462" y="248" id="62" /> +<P2 x="432" y="297" id="58" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="84" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="76" /> +<P2 x="435" y="99" id="55" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C_START" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1020" id="88" > +<cdparam x="358" y="117" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="85" /> +<TGConnectingPoint num="1" id="86" /> +<TGConnectingPoint num="2" id="87" /> +</COMPONENT> + +<COMPONENT type="1008" id="91" > +<cdparam x="316" y="201" /> +<sizeparam width="101" 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="start_evt(x)" /> +<TGConnectingPoint num="0" id="89" /> +<TGConnectingPoint num="1" id="90" /> +<extraparam> +<Data eventName="start_evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="95" > +<cdparam x="505" y="184" /> +<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="93" /> +<TGConnectingPoint num="1" id="94" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="92" > +<father id="95" num="0" /> +<cdparam x="520" y="204" /> +<sizeparam width="8" 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="1" /> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="97" > +<cdparam x="356" y="282" /> +<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="96" /> +</COMPONENT> + +<COMPONENT type="1001" id="99" > +<cdparam x="500" y="288" /> +<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="98" /> +</COMPONENT> + +<COMPONENT type="1000" id="101" > +<cdparam x="400" y="50" /> +<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="100" /> +</COMPONENT> + +<CONNECTOR type="115" id="102" > +<cdparam x="454" y="231" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="219" id="94" /> +<P2 x="510" y="283" id="98" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="103" > +<cdparam x="366" y="226" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="366" y="226" id="90" /> +<P2 x="366" y="277" id="96" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="104" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="100" /> +<P2 x="407" y="112" id="85" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="105" > +<cdparam x="438" y="126" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="456" y="131" id="86" /> +<P2 x="510" y="179" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="106" > +<cdparam x="423" y="137" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="142" id="87" /> +<P2 x="366" y="196" id="89" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1102" id="131" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="107" /> +<TGConnectingPoint num="1" id="108" /> +<TGConnectingPoint num="2" id="109" /> +<TGConnectingPoint num="3" id="110" /> +<TGConnectingPoint num="4" id="111" /> +<TGConnectingPoint num="5" id="112" /> +<TGConnectingPoint num="6" id="113" /> +<TGConnectingPoint num="7" id="114" /> +<TGConnectingPoint num="8" id="115" /> +<TGConnectingPoint num="9" id="116" /> +<TGConnectingPoint num="10" id="117" /> +<TGConnectingPoint num="11" id="118" /> +<TGConnectingPoint num="12" id="119" /> +<TGConnectingPoint num="13" id="120" /> +<TGConnectingPoint num="14" id="121" /> +<TGConnectingPoint num="15" id="122" /> +<TGConnectingPoint num="16" id="123" /> +<TGConnectingPoint num="17" id="124" /> +<TGConnectingPoint num="18" id="125" /> +<TGConnectingPoint num="19" id="126" /> +<TGConnectingPoint num="20" id="127" /> +<TGConnectingPoint num="21" id="128" /> +<TGConnectingPoint num="22" id="129" /> +<TGConnectingPoint num="23" id="130" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="156" > +<cdparam x="749" y="86" /> +<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="132" /> +<TGConnectingPoint num="1" id="133" /> +<TGConnectingPoint num="2" id="134" /> +<TGConnectingPoint num="3" id="135" /> +<TGConnectingPoint num="4" id="136" /> +<TGConnectingPoint num="5" id="137" /> +<TGConnectingPoint num="6" id="138" /> +<TGConnectingPoint num="7" id="139" /> +<TGConnectingPoint num="8" id="140" /> +<TGConnectingPoint num="9" id="141" /> +<TGConnectingPoint num="10" id="142" /> +<TGConnectingPoint num="11" id="143" /> +<TGConnectingPoint num="12" id="144" /> +<TGConnectingPoint num="13" id="145" /> +<TGConnectingPoint num="14" id="146" /> +<TGConnectingPoint num="15" id="147" /> +<TGConnectingPoint num="16" id="148" /> +<TGConnectingPoint num="17" id="149" /> +<TGConnectingPoint num="18" id="150" /> +<TGConnectingPoint num="19" id="151" /> +<TGConnectingPoint num="20" id="152" /> +<TGConnectingPoint num="21" id="153" /> +<TGConnectingPoint num="22" id="154" /> +<TGConnectingPoint num="23" id="155" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="208" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="184" /> +<TGConnectingPoint num="1" id="185" /> +<TGConnectingPoint num="2" id="186" /> +<TGConnectingPoint num="3" id="187" /> +<TGConnectingPoint num="4" id="188" /> +<TGConnectingPoint num="5" id="189" /> +<TGConnectingPoint num="6" id="190" /> +<TGConnectingPoint num="7" id="191" /> +<TGConnectingPoint num="8" id="192" /> +<TGConnectingPoint num="9" id="193" /> +<TGConnectingPoint num="10" id="194" /> +<TGConnectingPoint num="11" id="195" /> +<TGConnectingPoint num="12" id="196" /> +<TGConnectingPoint num="13" id="197" /> +<TGConnectingPoint num="14" id="198" /> +<TGConnectingPoint num="15" id="199" /> +<TGConnectingPoint num="16" id="200" /> +<TGConnectingPoint num="17" id="201" /> +<TGConnectingPoint num="18" id="202" /> +<TGConnectingPoint num="19" id="203" /> +<TGConnectingPoint num="20" id="204" /> +<TGConnectingPoint num="21" id="205" /> +<TGConnectingPoint num="22" id="206" /> +<TGConnectingPoint num="23" id="207" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="2" 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="165" > +<father id="208" num="0" /> +<cdparam x="257" y="101" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="174" > +<father id="208" num="1" /> +<cdparam x="257" y="152" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="166" /> +<TGConnectingPoint num="1" id="167" /> +<TGConnectingPoint num="2" id="168" /> +<TGConnectingPoint num="3" id="169" /> +<TGConnectingPoint num="4" id="170" /> +<TGConnectingPoint num="5" id="171" /> +<TGConnectingPoint num="6" id="172" /> +<TGConnectingPoint num="7" id="173" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="183" > +<father id="208" num="2" /> +<cdparam x="256" y="203" /> +<sizeparam width="204" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="141" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C_START" /> +<TGConnectingPoint num="0" id="175" /> +<TGConnectingPoint num="1" id="176" /> +<TGConnectingPoint num="2" id="177" /> +<TGConnectingPoint num="3" id="178" /> +<TGConnectingPoint num="4" id="179" /> +<TGConnectingPoint num="5" id="180" /> +<TGConnectingPoint num="6" id="181" /> +<TGConnectingPoint num="7" id="182" /> +<extraparam> +<info value="TestCycleEvt_wait::C_START" taskName="C_START" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C_START" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="209" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="146" /> +<P2 x="683" y="341" id="116" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="210" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="190" /> +<P2 x="558" y="341" id="115" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tarchi b/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tarchi deleted file mode 100644 index 8772eedede9618c020ffbf650ceebcd8daa6adb9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tarchi +++ /dev/null @@ -1,55 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE CPU FPGA1 -SET FPGA1 nbOfCores 1 -SET FPGA1 byteDataSize 4 -SET FPGA1 pipelineSize 5 -SET FPGA1 goIdleTime 10 -SET FPGA1 maxConsecutiveIdleCycles 10 -SET FPGA1 taskSwitchingTime 20 -SET FPGA1 branchingPredictionPenalty 2 -SET FPGA1 cacheMiss 5 -SET FPGA1 schedulingPolicy 0 -SET FPGA1 sliceTime 10000 -SET FPGA1 execiTime 1 -SET FPGA1 execcTime 1 -SET FPGA1 clockDivider 1 - -NODE CPU Src -SET Src nbOfCores 1 -SET Src byteDataSize 4 -SET Src pipelineSize 5 -SET Src goIdleTime 10 -SET Src maxConsecutiveIdleCycles 10 -SET Src taskSwitchingTime 20 -SET Src branchingPredictionPenalty 2 -SET Src cacheMiss 5 -SET Src schedulingPolicy 0 -SET Src sliceTime 10000 -SET Src execiTime 1 -SET Src execcTime 1 -SET Src clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_FPGA1_to_Bus0 -SET link_FPGA1_to_Bus0 node FPGA1 -SET link_FPGA1_to_Bus0 bus Bus0 -SET link_FPGA1_to_Bus0 priority 0 -NODE LINK link_Src_to_Bus0 -SET link_Src_to_Bus0 node Src -SET link_Src_to_Bus0 bus Bus0 -SET link_Src_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tmap b/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tmap deleted file mode 100644 index 8bfae8e37ddfa384f31d390469eb142b1f67be5c..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "daemontest1.tml" -ENDTMLSPEC - -TMLARCHI - #include "daemontest1.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA1 ApplicationSimple__T1 - SET ApplicationSimple__T1 priority 0 - MAP FPGA1 ApplicationSimple__T2 - SET ApplicationSimple__T2 priority 0 - MAP Src ApplicationSimple__Src - SET ApplicationSimple__Src priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tml b/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tml deleted file mode 100644 index 83db76ce1939c36b9e2d37e58ca4ce97d4b1f0c8..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.tml +++ /dev/null @@ -1,54 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/daemontest1.xml -// Generated: Mon Apr 19 18:49:24 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL ApplicationSimple__chToT1 BRBW 4 500 OUT ApplicationSimple__Src IN ApplicationSimple__T1 -VCCHANNEL ApplicationSimple__chToT1 0 -CHANNEL ApplicationSimple__chToT2 BRBW 4 8 OUT ApplicationSimple__T1 IN ApplicationSimple__T2 -VCCHANNEL ApplicationSimple__chToT2 0 - -// Events -EVENT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1(int) NIB 2 ApplicationSimple__Src ApplicationSimple__T1 -EVENT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2(int) NIB 2 ApplicationSimple__T1 ApplicationSimple__T2 - -// Requests - -TASK ApplicationSimple__Src - TASKOP - //Local variables - int size = 100 - - //Behavior - NOTIFY ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - WRITE ApplicationSimple__chToT1 size -ENDTASK - -TASK ApplicationSimple__T1 - DAEMON - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - READ ApplicationSimple__chToT1 size - EXECI size - NOTIFY ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - WRITE ApplicationSimple__chToT2 size -ENDTASK - -TASK ApplicationSimple__T2 - DAEMON - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - READ ApplicationSimple__chToT2 size - EXECI size -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest1.xml b/ttool/src/test/resources/tmltranslator/simulator/daemontest1.xml new file mode 100644 index 0000000000000000000000000000000000000000..b49d8c62c52c9e580c6ce6bcd91907a984522f83 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/daemontest1.xml @@ -0,0 +1,814 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" 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="335" y="300" id="5" /> +<P2 x="414" y="300" 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="335" y="237" id="7" /> +<P2 x="414" y="236" 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="590" y="305" id="18" /> +<P2 x="670" y="302" 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="590" y="241" id="20" /> +<P2 x="670" y="238" 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" 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="true" 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="true" 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" > +<COMPONENT type="1008" id="50" > +<cdparam x="286" y="192" /> +<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="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="288" y="245" /> +<sizeparam width="88" 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="160" 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" > +<COMPONENT type="1001" id="62" > +<cdparam x="412" y="368" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1006" id="65" > +<cdparam x="378" y="323" /> +<sizeparam width="88" 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="63" /> +<TGConnectingPoint num="1" id="64" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="68" > +<cdparam x="376" y="268" /> +<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="send event" value="evtToT2(size)" /> +<TGConnectingPoint num="0" id="66" /> +<TGConnectingPoint num="1" id="67" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="72" > +<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="70" /> +<TGConnectingPoint num="1" id="71" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="69" > +<father id="72" 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="75" > +<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="chToT1(size) " /> +<TGConnectingPoint num="0" id="73" /> +<TGConnectingPoint num="1" id="74" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="78" > +<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="evtToT1(size) " /> +<TGConnectingPoint num="0" id="76" /> +<TGConnectingPoint num="1" id="77" /> +<extraparam> +<Data eventName="evtToT1" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="80" > +<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="79" /> +</COMPONENT> + +<CONNECTOR type="115" id="81" > +<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="91" id="79" /> +<P2 x="422" y="111" id="76" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<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="77" /> +<P2 x="422" y="157" id="73" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<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="74" /> +<P2 x="422" y="211" id="70" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="84" > +<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="71" /> +<P2 x="422" y="263" id="66" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="85" > +<cdparam x="426" 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="422" y="293" id="67" /> +<P2 x="422" y="318" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="86" > +<cdparam x="435" y="348" /> +<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="348" id="64" /> +<P2 x="422" y="363" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="88" > +<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="87" /> +</COMPONENT> + +<COMPONENT type="1013" id="92" > +<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="90" /> +<TGConnectingPoint num="1" id="91" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="89" > +<father id="92" 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="95" > +<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="93" /> +<TGConnectingPoint num="1" id="94" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="98" > +<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="96" /> +<TGConnectingPoint num="1" id="97" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="100" > +<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="99" /> +</COMPONENT> + +<CONNECTOR type="115" id="101" > +<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="91" /> +<P2 x="422" y="438" id="87" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="102" > +<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="91" id="99" /> +<P2 x="422" y="111" id="96" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="103" > +<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="97" /> +<P2 x="422" y="157" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="104" > +<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="94" /> +<P2 x="422" y="211" id="90" /> +<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" > +<COMPONENT type="1105" id="129" > +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +<TGConnectingPoint num="2" id="107" /> +<TGConnectingPoint num="3" id="108" /> +<TGConnectingPoint num="4" id="109" /> +<TGConnectingPoint num="5" id="110" /> +<TGConnectingPoint num="6" id="111" /> +<TGConnectingPoint num="7" id="112" /> +<TGConnectingPoint num="8" id="113" /> +<TGConnectingPoint num="9" id="114" /> +<TGConnectingPoint num="10" id="115" /> +<TGConnectingPoint num="11" id="116" /> +<TGConnectingPoint num="12" id="117" /> +<TGConnectingPoint num="13" id="118" /> +<TGConnectingPoint num="14" id="119" /> +<TGConnectingPoint num="15" id="120" /> +<TGConnectingPoint num="16" id="121" /> +<TGConnectingPoint num="17" id="122" /> +<TGConnectingPoint num="18" id="123" /> +<TGConnectingPoint num="19" id="124" /> +<TGConnectingPoint num="20" id="125" /> +<TGConnectingPoint num="21" id="126" /> +<TGConnectingPoint num="22" id="127" /> +<TGConnectingPoint num="23" id="128" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="154" > +<cdparam x="503" y="320" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<TGConnectingPoint num="8" id="138" /> +<TGConnectingPoint num="9" id="139" /> +<TGConnectingPoint num="10" id="140" /> +<TGConnectingPoint num="11" id="141" /> +<TGConnectingPoint num="12" id="142" /> +<TGConnectingPoint num="13" id="143" /> +<TGConnectingPoint num="14" id="144" /> +<TGConnectingPoint num="15" id="145" /> +<TGConnectingPoint num="16" id="146" /> +<TGConnectingPoint num="17" id="147" /> +<TGConnectingPoint num="18" id="148" /> +<TGConnectingPoint num="19" id="149" /> +<TGConnectingPoint num="20" id="150" /> +<TGConnectingPoint num="21" id="151" /> +<TGConnectingPoint num="22" id="152" /> +<TGConnectingPoint num="23" id="153" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="197" > +<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="FPGA1" value="name" /> +<TGConnectingPoint num="0" id="173" /> +<TGConnectingPoint num="1" id="174" /> +<TGConnectingPoint num="2" id="175" /> +<TGConnectingPoint num="3" id="176" /> +<TGConnectingPoint num="4" id="177" /> +<TGConnectingPoint num="5" id="178" /> +<TGConnectingPoint num="6" id="179" /> +<TGConnectingPoint num="7" id="180" /> +<TGConnectingPoint num="8" id="181" /> +<TGConnectingPoint num="9" id="182" /> +<TGConnectingPoint num="10" id="183" /> +<TGConnectingPoint num="11" id="184" /> +<TGConnectingPoint num="12" id="185" /> +<TGConnectingPoint num="13" id="186" /> +<TGConnectingPoint num="14" id="187" /> +<TGConnectingPoint num="15" id="188" /> +<TGConnectingPoint num="16" id="189" /> +<TGConnectingPoint num="17" id="190" /> +<TGConnectingPoint num="18" id="191" /> +<TGConnectingPoint num="19" id="192" /> +<TGConnectingPoint num="20" id="193" /> +<TGConnectingPoint num="21" id="194" /> +<TGConnectingPoint num="22" id="195" /> +<TGConnectingPoint num="23" id="196" /> +<extraparam> +<info stereotype="CPURR" nodeName="FPGA1" /> +<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="163" > +<father id="197" 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="155" /> +<TGConnectingPoint num="1" id="156" /> +<TGConnectingPoint num="2" id="157" /> +<TGConnectingPoint num="3" id="158" /> +<TGConnectingPoint num="4" id="159" /> +<TGConnectingPoint num="5" id="160" /> +<TGConnectingPoint num="6" id="161" /> +<TGConnectingPoint num="7" id="162" /> +<extraparam> +<info value="ApplicationSimple::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="172" > +<father id="197" 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="164" /> +<TGConnectingPoint num="1" id="165" /> +<TGConnectingPoint num="2" id="166" /> +<TGConnectingPoint num="3" id="167" /> +<TGConnectingPoint num="4" id="168" /> +<TGConnectingPoint num="5" id="169" /> +<TGConnectingPoint num="6" id="170" /> +<TGConnectingPoint num="7" id="171" /> +<extraparam> +<info value="ApplicationSimple::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1100" id="231" > +<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="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<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="206" > +<father id="231" 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="198" /> +<TGConnectingPoint num="1" id="199" /> +<TGConnectingPoint num="2" id="200" /> +<TGConnectingPoint num="3" id="201" /> +<TGConnectingPoint num="4" id="202" /> +<TGConnectingPoint num="5" id="203" /> +<TGConnectingPoint num="6" id="204" /> +<TGConnectingPoint num="7" id="205" /> +<extraparam> +<info value="ApplicationSimple::Src" taskName="Src" referenceTaskName="ApplicationSimple" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="232" > +<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="108" /> +<P2 x="753" y="345" id="134" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<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="179" /> +<P2 x="628" y="320" id="131" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="234" > +<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="211" /> +<P2 x="503" y="332" id="140" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tarchi b/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tarchi deleted file mode 100644 index 8772eedede9618c020ffbf650ceebcd8daa6adb9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tarchi +++ /dev/null @@ -1,55 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE CPU FPGA1 -SET FPGA1 nbOfCores 1 -SET FPGA1 byteDataSize 4 -SET FPGA1 pipelineSize 5 -SET FPGA1 goIdleTime 10 -SET FPGA1 maxConsecutiveIdleCycles 10 -SET FPGA1 taskSwitchingTime 20 -SET FPGA1 branchingPredictionPenalty 2 -SET FPGA1 cacheMiss 5 -SET FPGA1 schedulingPolicy 0 -SET FPGA1 sliceTime 10000 -SET FPGA1 execiTime 1 -SET FPGA1 execcTime 1 -SET FPGA1 clockDivider 1 - -NODE CPU Src -SET Src nbOfCores 1 -SET Src byteDataSize 4 -SET Src pipelineSize 5 -SET Src goIdleTime 10 -SET Src maxConsecutiveIdleCycles 10 -SET Src taskSwitchingTime 20 -SET Src branchingPredictionPenalty 2 -SET Src cacheMiss 5 -SET Src schedulingPolicy 0 -SET Src sliceTime 10000 -SET Src execiTime 1 -SET Src execcTime 1 -SET Src clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_FPGA1_to_Bus0 -SET link_FPGA1_to_Bus0 node FPGA1 -SET link_FPGA1_to_Bus0 bus Bus0 -SET link_FPGA1_to_Bus0 priority 0 -NODE LINK link_Src_to_Bus0 -SET link_Src_to_Bus0 node Src -SET link_Src_to_Bus0 bus Bus0 -SET link_Src_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tmap b/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tmap deleted file mode 100644 index 79eb808dbd3f01d509d937400f93797c1f8596a1..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "daemontest2.tml" -ENDTMLSPEC - -TMLARCHI - #include "daemontest2.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA1 ApplicationSimple__T1 - SET ApplicationSimple__T1 priority 0 - MAP FPGA1 ApplicationSimple__T2 - SET ApplicationSimple__T2 priority 0 - MAP Src ApplicationSimple__Src - SET ApplicationSimple__Src priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tml b/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tml deleted file mode 100644 index 56dccd9518655e146b19e04e8dc2e34d53060116..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.tml +++ /dev/null @@ -1,53 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/daemontest2.xml -// Generated: Mon Apr 19 18:50:49 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL ApplicationSimple__chToT1 BRBW 4 500 OUT ApplicationSimple__Src IN ApplicationSimple__T1 -VCCHANNEL ApplicationSimple__chToT1 0 -CHANNEL ApplicationSimple__chToT2 BRBW 4 8 OUT ApplicationSimple__T1 IN ApplicationSimple__T2 -VCCHANNEL ApplicationSimple__chToT2 0 - -// Events -EVENT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1(int) NIB 2 ApplicationSimple__Src ApplicationSimple__T1 -EVENT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2(int) NIB 2 ApplicationSimple__T1 ApplicationSimple__T2 - -// Requests - -TASK ApplicationSimple__Src - TASKOP - //Local variables - int size = 100 - - //Behavior - NOTIFY ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - WRITE ApplicationSimple__chToT1 size -ENDTASK - -TASK ApplicationSimple__T1 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - READ ApplicationSimple__chToT1 size - EXECI size - NOTIFY ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - WRITE ApplicationSimple__chToT2 size -ENDTASK - -TASK ApplicationSimple__T2 - DAEMON - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - READ ApplicationSimple__chToT2 size - EXECI size -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/daemontest2.xml b/ttool/src/test/resources/tmltranslator/simulator/daemontest2.xml new file mode 100644 index 0000000000000000000000000000000000000000..b801ed712e7c321793f036dec1f347a2c6805525 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/daemontest2.xml @@ -0,0 +1,814 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" 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="335" y="300" id="5" /> +<P2 x="414" y="300" 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="335" y="237" id="7" /> +<P2 x="414" y="236" 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="590" y="305" id="18" /> +<P2 x="670" y="302" 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="590" y="241" id="20" /> +<P2 x="670" y="238" 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" 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" 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="true" 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" > +<COMPONENT type="1008" id="50" > +<cdparam x="286" y="192" /> +<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="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="288" y="245" /> +<sizeparam width="88" 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="160" 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" > +<COMPONENT type="1001" id="62" > +<cdparam x="412" y="368" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1006" id="65" > +<cdparam x="378" y="323" /> +<sizeparam width="88" 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="63" /> +<TGConnectingPoint num="1" id="64" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="68" > +<cdparam x="376" y="268" /> +<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="send event" value="evtToT2(size)" /> +<TGConnectingPoint num="0" id="66" /> +<TGConnectingPoint num="1" id="67" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="72" > +<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="70" /> +<TGConnectingPoint num="1" id="71" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="69" > +<father id="72" 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="75" > +<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="chToT1(size) " /> +<TGConnectingPoint num="0" id="73" /> +<TGConnectingPoint num="1" id="74" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="78" > +<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="evtToT1(size) " /> +<TGConnectingPoint num="0" id="76" /> +<TGConnectingPoint num="1" id="77" /> +<extraparam> +<Data eventName="evtToT1" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="80" > +<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="79" /> +</COMPONENT> + +<CONNECTOR type="115" id="81" > +<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="91" id="79" /> +<P2 x="422" y="111" id="76" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<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="77" /> +<P2 x="422" y="157" id="73" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<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="74" /> +<P2 x="422" y="211" id="70" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="84" > +<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="71" /> +<P2 x="422" y="263" id="66" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="85" > +<cdparam x="426" 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="422" y="293" id="67" /> +<P2 x="422" y="318" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="86" > +<cdparam x="435" y="348" /> +<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="348" id="64" /> +<P2 x="422" y="363" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="88" > +<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="87" /> +</COMPONENT> + +<COMPONENT type="1013" id="92" > +<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="90" /> +<TGConnectingPoint num="1" id="91" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="89" > +<father id="92" 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="95" > +<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="93" /> +<TGConnectingPoint num="1" id="94" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="98" > +<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="96" /> +<TGConnectingPoint num="1" id="97" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="100" > +<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="99" /> +</COMPONENT> + +<CONNECTOR type="115" id="101" > +<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="91" /> +<P2 x="422" y="438" id="87" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="102" > +<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="91" id="99" /> +<P2 x="422" y="111" id="96" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="103" > +<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="97" /> +<P2 x="422" y="157" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="104" > +<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="94" /> +<P2 x="422" y="211" id="90" /> +<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" > +<COMPONENT type="1105" id="129" > +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +<TGConnectingPoint num="2" id="107" /> +<TGConnectingPoint num="3" id="108" /> +<TGConnectingPoint num="4" id="109" /> +<TGConnectingPoint num="5" id="110" /> +<TGConnectingPoint num="6" id="111" /> +<TGConnectingPoint num="7" id="112" /> +<TGConnectingPoint num="8" id="113" /> +<TGConnectingPoint num="9" id="114" /> +<TGConnectingPoint num="10" id="115" /> +<TGConnectingPoint num="11" id="116" /> +<TGConnectingPoint num="12" id="117" /> +<TGConnectingPoint num="13" id="118" /> +<TGConnectingPoint num="14" id="119" /> +<TGConnectingPoint num="15" id="120" /> +<TGConnectingPoint num="16" id="121" /> +<TGConnectingPoint num="17" id="122" /> +<TGConnectingPoint num="18" id="123" /> +<TGConnectingPoint num="19" id="124" /> +<TGConnectingPoint num="20" id="125" /> +<TGConnectingPoint num="21" id="126" /> +<TGConnectingPoint num="22" id="127" /> +<TGConnectingPoint num="23" id="128" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="154" > +<cdparam x="503" y="320" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<TGConnectingPoint num="8" id="138" /> +<TGConnectingPoint num="9" id="139" /> +<TGConnectingPoint num="10" id="140" /> +<TGConnectingPoint num="11" id="141" /> +<TGConnectingPoint num="12" id="142" /> +<TGConnectingPoint num="13" id="143" /> +<TGConnectingPoint num="14" id="144" /> +<TGConnectingPoint num="15" id="145" /> +<TGConnectingPoint num="16" id="146" /> +<TGConnectingPoint num="17" id="147" /> +<TGConnectingPoint num="18" id="148" /> +<TGConnectingPoint num="19" id="149" /> +<TGConnectingPoint num="20" id="150" /> +<TGConnectingPoint num="21" id="151" /> +<TGConnectingPoint num="22" id="152" /> +<TGConnectingPoint num="23" id="153" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="197" > +<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="FPGA1" value="name" /> +<TGConnectingPoint num="0" id="173" /> +<TGConnectingPoint num="1" id="174" /> +<TGConnectingPoint num="2" id="175" /> +<TGConnectingPoint num="3" id="176" /> +<TGConnectingPoint num="4" id="177" /> +<TGConnectingPoint num="5" id="178" /> +<TGConnectingPoint num="6" id="179" /> +<TGConnectingPoint num="7" id="180" /> +<TGConnectingPoint num="8" id="181" /> +<TGConnectingPoint num="9" id="182" /> +<TGConnectingPoint num="10" id="183" /> +<TGConnectingPoint num="11" id="184" /> +<TGConnectingPoint num="12" id="185" /> +<TGConnectingPoint num="13" id="186" /> +<TGConnectingPoint num="14" id="187" /> +<TGConnectingPoint num="15" id="188" /> +<TGConnectingPoint num="16" id="189" /> +<TGConnectingPoint num="17" id="190" /> +<TGConnectingPoint num="18" id="191" /> +<TGConnectingPoint num="19" id="192" /> +<TGConnectingPoint num="20" id="193" /> +<TGConnectingPoint num="21" id="194" /> +<TGConnectingPoint num="22" id="195" /> +<TGConnectingPoint num="23" id="196" /> +<extraparam> +<info stereotype="CPURR" nodeName="FPGA1" /> +<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="163" > +<father id="197" 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="155" /> +<TGConnectingPoint num="1" id="156" /> +<TGConnectingPoint num="2" id="157" /> +<TGConnectingPoint num="3" id="158" /> +<TGConnectingPoint num="4" id="159" /> +<TGConnectingPoint num="5" id="160" /> +<TGConnectingPoint num="6" id="161" /> +<TGConnectingPoint num="7" id="162" /> +<extraparam> +<info value="ApplicationSimple::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="172" > +<father id="197" 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="164" /> +<TGConnectingPoint num="1" id="165" /> +<TGConnectingPoint num="2" id="166" /> +<TGConnectingPoint num="3" id="167" /> +<TGConnectingPoint num="4" id="168" /> +<TGConnectingPoint num="5" id="169" /> +<TGConnectingPoint num="6" id="170" /> +<TGConnectingPoint num="7" id="171" /> +<extraparam> +<info value="ApplicationSimple::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1100" id="231" > +<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="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<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="206" > +<father id="231" 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="198" /> +<TGConnectingPoint num="1" id="199" /> +<TGConnectingPoint num="2" id="200" /> +<TGConnectingPoint num="3" id="201" /> +<TGConnectingPoint num="4" id="202" /> +<TGConnectingPoint num="5" id="203" /> +<TGConnectingPoint num="6" id="204" /> +<TGConnectingPoint num="7" id="205" /> +<extraparam> +<info value="ApplicationSimple::Src" taskName="Src" referenceTaskName="ApplicationSimple" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="232" > +<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="108" /> +<P2 x="753" y="345" id="134" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<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="179" /> +<P2 x="628" y="320" id="131" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="234" > +<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="211" /> +<P2 x="503" y="332" id="140" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/delay-idle-penalty.xml b/ttool/src/test/resources/tmltranslator/simulator/delay-idle-penalty.xml new file mode 100644 index 0000000000000000000000000000000000000000..5184af76c99f4302e5e5a64fd80cf11f44621f45 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/delay-idle-penalty.xml @@ -0,0 +1,488 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="426" y="119" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="472" y="114" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="487" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="518" y="133" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="161" > +<cdparam x="425" y="135" /> +<sizeparam width="20" height="20" minWidth="0" minHeight="0" 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="162" /> +</COMPONENT> + +<COMPONENT type="1020" id="155" > +<cdparam x="384" y="92" /> +<sizeparam width="98" height="20" minWidth="30" minHeight="0" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="156" /> +<TGConnectingPoint num="1" id="157" /> +<TGConnectingPoint num="2" id="158" /> +</COMPONENT> + +<COMPONENT type="1026" id="43" > +<cdparam x="547" y="256" /> +<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="41" /> +<TGConnectingPoint num="1" id="42" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="40" > +<father id="43" num="0" /> +<cdparam x="562" y="276" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="45" > +<cdparam x="562" y="325" /> +<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="44" /> +</COMPONENT> + +<COMPONENT type="1011" id="48" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="46" /> +<TGConnectingPoint num="1" id="47" /> +</COMPONENT> + +<COMPONENT type="1008" id="51" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="53" > +<cdparam x="400" y="50" /> +<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="52" /> +</COMPONENT> + +<CONNECTOR type="115" id="54" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="50" /> +<P2 x="527" y="165" id="46" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="55" > +<cdparam x="527" y="195" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="47" /> +<P2 x="552" y="251" id="41" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="56" > +<cdparam x="552" y="291" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="552" y="291" id="42" /> +<P2 x="572" y="320" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="159" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="52" /> +<P2 x="433" y="87" id="156" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="160" > +<cdparam x="484" y="101" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="482" y="106" id="157" /> +<P2 x="510" y="117" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="163" > +<cdparam x="433" y="117" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="433" y="117" id="158" /> +<P2 x="435" y="130" id="162" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1100" id="101" > +<cdparam x="180" y="83" /> +<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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="77" /> +<TGConnectingPoint num="1" id="78" /> +<TGConnectingPoint num="2" id="79" /> +<TGConnectingPoint num="3" id="80" /> +<TGConnectingPoint num="4" id="81" /> +<TGConnectingPoint num="5" id="82" /> +<TGConnectingPoint num="6" id="83" /> +<TGConnectingPoint num="7" id="84" /> +<TGConnectingPoint num="8" id="85" /> +<TGConnectingPoint num="9" id="86" /> +<TGConnectingPoint num="10" id="87" /> +<TGConnectingPoint num="11" id="88" /> +<TGConnectingPoint num="12" id="89" /> +<TGConnectingPoint num="13" id="90" /> +<TGConnectingPoint num="14" id="91" /> +<TGConnectingPoint num="15" id="92" /> +<TGConnectingPoint num="16" id="93" /> +<TGConnectingPoint num="17" id="94" /> +<TGConnectingPoint num="18" id="95" /> +<TGConnectingPoint num="19" id="96" /> +<TGConnectingPoint num="20" id="97" /> +<TGConnectingPoint num="21" id="98" /> +<TGConnectingPoint num="22" id="99" /> +<TGConnectingPoint num="23" id="100" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="0" sliceTime="1" 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="67" > +<father id="101" num="0" /> +<cdparam x="222" y="143" /> +<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="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="59" /> +<TGConnectingPoint num="1" id="60" /> +<TGConnectingPoint num="2" id="61" /> +<TGConnectingPoint num="3" id="62" /> +<TGConnectingPoint num="4" id="63" /> +<TGConnectingPoint num="5" id="64" /> +<TGConnectingPoint num="6" id="65" /> +<TGConnectingPoint num="7" id="66" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="1" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="76" > +<father id="101" num="1" /> +<cdparam x="220" y="208" /> +<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="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="68" /> +<TGConnectingPoint num="1" id="69" /> +<TGConnectingPoint num="2" id="70" /> +<TGConnectingPoint num="3" id="71" /> +<TGConnectingPoint num="4" id="72" /> +<TGConnectingPoint num="5" id="73" /> +<TGConnectingPoint num="6" id="74" /> +<TGConnectingPoint num="7" id="75" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="9" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1102" id="126" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="102" /> +<TGConnectingPoint num="1" id="103" /> +<TGConnectingPoint num="2" id="104" /> +<TGConnectingPoint num="3" id="105" /> +<TGConnectingPoint num="4" id="106" /> +<TGConnectingPoint num="5" id="107" /> +<TGConnectingPoint num="6" id="108" /> +<TGConnectingPoint num="7" id="109" /> +<TGConnectingPoint num="8" id="110" /> +<TGConnectingPoint num="9" id="111" /> +<TGConnectingPoint num="10" id="112" /> +<TGConnectingPoint num="11" id="113" /> +<TGConnectingPoint num="12" id="114" /> +<TGConnectingPoint num="13" id="115" /> +<TGConnectingPoint num="14" id="116" /> +<TGConnectingPoint num="15" id="117" /> +<TGConnectingPoint num="16" id="118" /> +<TGConnectingPoint num="17" id="119" /> +<TGConnectingPoint num="18" id="120" /> +<TGConnectingPoint num="19" id="121" /> +<TGConnectingPoint num="20" id="122" /> +<TGConnectingPoint num="21" id="123" /> +<TGConnectingPoint num="22" id="124" /> +<TGConnectingPoint num="23" id="125" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="151" > +<cdparam x="749" y="86" /> +<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="127" /> +<TGConnectingPoint num="1" id="128" /> +<TGConnectingPoint num="2" id="129" /> +<TGConnectingPoint num="3" id="130" /> +<TGConnectingPoint num="4" id="131" /> +<TGConnectingPoint num="5" id="132" /> +<TGConnectingPoint num="6" id="133" /> +<TGConnectingPoint num="7" id="134" /> +<TGConnectingPoint num="8" id="135" /> +<TGConnectingPoint num="9" id="136" /> +<TGConnectingPoint num="10" id="137" /> +<TGConnectingPoint num="11" id="138" /> +<TGConnectingPoint num="12" id="139" /> +<TGConnectingPoint num="13" id="140" /> +<TGConnectingPoint num="14" id="141" /> +<TGConnectingPoint num="15" id="142" /> +<TGConnectingPoint num="16" id="143" /> +<TGConnectingPoint num="17" id="144" /> +<TGConnectingPoint num="18" id="145" /> +<TGConnectingPoint num="19" id="146" /> +<TGConnectingPoint num="20" id="147" /> +<TGConnectingPoint num="21" id="148" /> +<TGConnectingPoint num="22" id="149" /> +<TGConnectingPoint num="23" id="150" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="152" > +<cdparam x="430" y="233" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="430" y="233" id="90" /> +<P2 x="558" y="341" id="110" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="153" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="141" /> +<P2 x="683" y="341" id="111" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tarchi b/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tarchi deleted file mode 100644 index 51eb42743eabc0c927ff073785849520699f5db7..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 1 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tmap b/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tmap deleted file mode 100644 index bd5ef46e1dc8d7d82693240373cecca6f6e14172..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "delay-idle.tml" -ENDTMLSPEC - -TMLARCHI - #include "delay-idle.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 TestCycleEvt_wait__C0 - SET TestCycleEvt_wait__C0 priority 1 - MAP CPU0 TestCycleEvt_wait__C1 - SET TestCycleEvt_wait__C1 priority 9 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tml b/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tml deleted file mode 100644 index c9b60be1e9049ed9a75ef07ba0d137564b580b09..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.tml +++ /dev/null @@ -1,38 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/delay-idle.xml -// Generated: Thu Apr 22 14:49:26 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt(int) INF TestCycleEvt_wait__C0 TestCycleEvt_wait__C1 - -// Requests - -TASK TestCycleEvt_wait__C0 - TASKOP - //Local variables - int x = 0 - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<10; loop__0 = loop__0 + 1) - NOTIFY TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - x=x+1 - DELAY 1 us isActiveDelay false - ENDFOR -ENDTASK - -TASK TestCycleEvt_wait__C1 - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/delay-idle.xml b/ttool/src/test/resources/tmltranslator/simulator/delay-idle.xml new file mode 100644 index 0000000000000000000000000000000000000000..7c4f682100779db52833cc3ba52ce158210a014d --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/delay-idle.xml @@ -0,0 +1,488 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" 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="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="426" y="119" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="472" y="114" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="487" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="518" y="133" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1026" id="40" > +<cdparam x="547" y="256" /> +<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="38" /> +<TGConnectingPoint num="1" id="39" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="37" > +<father id="40" num="0" /> +<cdparam x="562" y="276" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="42" > +<cdparam x="444" y="130" /> +<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="41" /> +</COMPONENT> + +<COMPONENT type="1020" id="46" > +<cdparam x="400" y="89" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="43" /> +<TGConnectingPoint num="1" id="44" /> +<TGConnectingPoint num="2" id="45" /> +</COMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="449" y="84" id="43" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="459" y="113" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="498" y="103" id="44" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="449" y="114" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="449" y="114" id="45" /> +<P2 x="454" y="125" id="41" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="527" y="195" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="552" y="251" id="38" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="552" y="291" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="552" y="291" id="39" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1100" id="105" > +<cdparam x="180" y="83" /> +<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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="81" /> +<TGConnectingPoint num="1" id="82" /> +<TGConnectingPoint num="2" id="83" /> +<TGConnectingPoint num="3" id="84" /> +<TGConnectingPoint num="4" id="85" /> +<TGConnectingPoint num="5" id="86" /> +<TGConnectingPoint num="6" id="87" /> +<TGConnectingPoint num="7" id="88" /> +<TGConnectingPoint num="8" id="89" /> +<TGConnectingPoint num="9" id="90" /> +<TGConnectingPoint num="10" id="91" /> +<TGConnectingPoint num="11" id="92" /> +<TGConnectingPoint num="12" id="93" /> +<TGConnectingPoint num="13" id="94" /> +<TGConnectingPoint num="14" id="95" /> +<TGConnectingPoint num="15" id="96" /> +<TGConnectingPoint num="16" id="97" /> +<TGConnectingPoint num="17" id="98" /> +<TGConnectingPoint num="18" id="99" /> +<TGConnectingPoint num="19" id="100" /> +<TGConnectingPoint num="20" id="101" /> +<TGConnectingPoint num="21" id="102" /> +<TGConnectingPoint num="22" id="103" /> +<TGConnectingPoint num="23" id="104" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="0" sliceTime="1" 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="71" > +<father id="105" num="0" /> +<cdparam x="220" y="208" /> +<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="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="9" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="80" > +<father id="105" num="1" /> +<cdparam x="222" y="143" /> +<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="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="72" /> +<TGConnectingPoint num="1" id="73" /> +<TGConnectingPoint num="2" id="74" /> +<TGConnectingPoint num="3" id="75" /> +<TGConnectingPoint num="4" id="76" /> +<TGConnectingPoint num="5" id="77" /> +<TGConnectingPoint num="6" id="78" /> +<TGConnectingPoint num="7" id="79" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="1" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1102" id="130" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="106" /> +<TGConnectingPoint num="1" id="107" /> +<TGConnectingPoint num="2" id="108" /> +<TGConnectingPoint num="3" id="109" /> +<TGConnectingPoint num="4" id="110" /> +<TGConnectingPoint num="5" id="111" /> +<TGConnectingPoint num="6" id="112" /> +<TGConnectingPoint num="7" id="113" /> +<TGConnectingPoint num="8" id="114" /> +<TGConnectingPoint num="9" id="115" /> +<TGConnectingPoint num="10" id="116" /> +<TGConnectingPoint num="11" id="117" /> +<TGConnectingPoint num="12" id="118" /> +<TGConnectingPoint num="13" id="119" /> +<TGConnectingPoint num="14" id="120" /> +<TGConnectingPoint num="15" id="121" /> +<TGConnectingPoint num="16" id="122" /> +<TGConnectingPoint num="17" id="123" /> +<TGConnectingPoint num="18" id="124" /> +<TGConnectingPoint num="19" id="125" /> +<TGConnectingPoint num="20" id="126" /> +<TGConnectingPoint num="21" id="127" /> +<TGConnectingPoint num="22" id="128" /> +<TGConnectingPoint num="23" id="129" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="155" > +<cdparam x="749" y="86" /> +<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="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="430" y="233" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="430" y="233" id="94" /> +<P2 x="558" y="341" id="114" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="145" /> +<P2 x="683" y="341" id="115" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest-penalty.xml b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest-penalty.xml new file mode 100644 index 0000000000000000000000000000000000000000..b8073b94256950fb3d630c78c626df5a9ae32322 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest-penalty.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="105" > +<cdparam x="167" y="381" /> +<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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="81" /> +<TGConnectingPoint num="1" id="82" /> +<TGConnectingPoint num="2" id="83" /> +<TGConnectingPoint num="3" id="84" /> +<TGConnectingPoint num="4" id="85" /> +<TGConnectingPoint num="5" id="86" /> +<TGConnectingPoint num="6" id="87" /> +<TGConnectingPoint num="7" id="88" /> +<TGConnectingPoint num="8" id="89" /> +<TGConnectingPoint num="9" id="90" /> +<TGConnectingPoint num="10" id="91" /> +<TGConnectingPoint num="11" id="92" /> +<TGConnectingPoint num="12" id="93" /> +<TGConnectingPoint num="13" id="94" /> +<TGConnectingPoint num="14" id="95" /> +<TGConnectingPoint num="15" id="96" /> +<TGConnectingPoint num="16" id="97" /> +<TGConnectingPoint num="17" id="98" /> +<TGConnectingPoint num="18" id="99" /> +<TGConnectingPoint num="19" id="100" /> +<TGConnectingPoint num="20" id="101" /> +<TGConnectingPoint num="21" id="102" /> +<TGConnectingPoint num="22" id="103" /> +<TGConnectingPoint num="23" id="104" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="50" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="71" > +<father id="105" num="0" /> +<cdparam x="206" y="489" /> +<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="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="80" > +<father id="105" num="1" /> +<cdparam x="203" y="424" /> +<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="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="72" /> +<TGConnectingPoint num="1" id="73" /> +<TGConnectingPoint num="2" id="74" /> +<TGConnectingPoint num="3" id="75" /> +<TGConnectingPoint num="4" id="76" /> +<TGConnectingPoint num="5" id="77" /> +<TGConnectingPoint num="6" id="78" /> +<TGConnectingPoint num="7" id="79" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1102" id="130" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="106" /> +<TGConnectingPoint num="1" id="107" /> +<TGConnectingPoint num="2" id="108" /> +<TGConnectingPoint num="3" id="109" /> +<TGConnectingPoint num="4" id="110" /> +<TGConnectingPoint num="5" id="111" /> +<TGConnectingPoint num="6" id="112" /> +<TGConnectingPoint num="7" id="113" /> +<TGConnectingPoint num="8" id="114" /> +<TGConnectingPoint num="9" id="115" /> +<TGConnectingPoint num="10" id="116" /> +<TGConnectingPoint num="11" id="117" /> +<TGConnectingPoint num="12" id="118" /> +<TGConnectingPoint num="13" id="119" /> +<TGConnectingPoint num="14" id="120" /> +<TGConnectingPoint num="15" id="121" /> +<TGConnectingPoint num="16" id="122" /> +<TGConnectingPoint num="17" id="123" /> +<TGConnectingPoint num="18" id="124" /> +<TGConnectingPoint num="19" id="125" /> +<TGConnectingPoint num="20" id="126" /> +<TGConnectingPoint num="21" id="127" /> +<TGConnectingPoint num="22" id="128" /> +<TGConnectingPoint num="23" id="129" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="155" > +<cdparam x="749" y="86" /> +<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="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="417" y="431" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="417" y="431" id="92" /> +<P2 x="558" y="391" id="120" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="145" /> +<P2 x="683" y="341" id="115" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tarchi deleted file mode 100644 index 1f5ff00ddc5f2ce7628c071e6ce32e2477693855..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tarchi +++ /dev/null @@ -1,32 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 50 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tmap deleted file mode 100644 index aba64e6d854f3c39ab49ff441026c3941752a0f2..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "fpgaTest.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpgaTest.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 TestCycleEvt_wait__C0 - SET TestCycleEvt_wait__C0 priority 0 - MAP FPGA0 TestCycleEvt_wait__C1 - SET TestCycleEvt_wait__C1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tml b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tml deleted file mode 100644 index f4092992a273bafd59677615994ef44310b00553..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.tml +++ /dev/null @@ -1,38 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.xml -// Generated: Thu Apr 22 14:48:21 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt(int) INF TestCycleEvt_wait__C0 TestCycleEvt_wait__C1 - -// Requests - -TASK TestCycleEvt_wait__C0 - TASKOP - //Local variables - int x = 0 - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<10; loop__0 = loop__0 + 1) - NOTIFY TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - x=x+1 - DELAY 1 us isActiveDelay true - ENDFOR -ENDTASK - -TASK TestCycleEvt_wait__C1 - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.xml b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.xml new file mode 100644 index 0000000000000000000000000000000000000000..b8073b94256950fb3d630c78c626df5a9ae32322 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpgaTest.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="105" > +<cdparam x="167" y="381" /> +<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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="81" /> +<TGConnectingPoint num="1" id="82" /> +<TGConnectingPoint num="2" id="83" /> +<TGConnectingPoint num="3" id="84" /> +<TGConnectingPoint num="4" id="85" /> +<TGConnectingPoint num="5" id="86" /> +<TGConnectingPoint num="6" id="87" /> +<TGConnectingPoint num="7" id="88" /> +<TGConnectingPoint num="8" id="89" /> +<TGConnectingPoint num="9" id="90" /> +<TGConnectingPoint num="10" id="91" /> +<TGConnectingPoint num="11" id="92" /> +<TGConnectingPoint num="12" id="93" /> +<TGConnectingPoint num="13" id="94" /> +<TGConnectingPoint num="14" id="95" /> +<TGConnectingPoint num="15" id="96" /> +<TGConnectingPoint num="16" id="97" /> +<TGConnectingPoint num="17" id="98" /> +<TGConnectingPoint num="18" id="99" /> +<TGConnectingPoint num="19" id="100" /> +<TGConnectingPoint num="20" id="101" /> +<TGConnectingPoint num="21" id="102" /> +<TGConnectingPoint num="22" id="103" /> +<TGConnectingPoint num="23" id="104" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="50" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="71" > +<father id="105" num="0" /> +<cdparam x="206" y="489" /> +<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="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="80" > +<father id="105" num="1" /> +<cdparam x="203" y="424" /> +<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="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="72" /> +<TGConnectingPoint num="1" id="73" /> +<TGConnectingPoint num="2" id="74" /> +<TGConnectingPoint num="3" id="75" /> +<TGConnectingPoint num="4" id="76" /> +<TGConnectingPoint num="5" id="77" /> +<TGConnectingPoint num="6" id="78" /> +<TGConnectingPoint num="7" id="79" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1102" id="130" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="106" /> +<TGConnectingPoint num="1" id="107" /> +<TGConnectingPoint num="2" id="108" /> +<TGConnectingPoint num="3" id="109" /> +<TGConnectingPoint num="4" id="110" /> +<TGConnectingPoint num="5" id="111" /> +<TGConnectingPoint num="6" id="112" /> +<TGConnectingPoint num="7" id="113" /> +<TGConnectingPoint num="8" id="114" /> +<TGConnectingPoint num="9" id="115" /> +<TGConnectingPoint num="10" id="116" /> +<TGConnectingPoint num="11" id="117" /> +<TGConnectingPoint num="12" id="118" /> +<TGConnectingPoint num="13" id="119" /> +<TGConnectingPoint num="14" id="120" /> +<TGConnectingPoint num="15" id="121" /> +<TGConnectingPoint num="16" id="122" /> +<TGConnectingPoint num="17" id="123" /> +<TGConnectingPoint num="18" id="124" /> +<TGConnectingPoint num="19" id="125" /> +<TGConnectingPoint num="20" id="126" /> +<TGConnectingPoint num="21" id="127" /> +<TGConnectingPoint num="22" id="128" /> +<TGConnectingPoint num="23" id="129" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="155" > +<cdparam x="749" y="86" /> +<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="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="417" y="431" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="417" y="431" id="92" /> +<P2 x="558" y="391" id="120" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="145" /> +<P2 x="683" y="341" id="115" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tarchi deleted file mode 100644 index 21740e50792fcfc4655378ae9c05324ad531a23e..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tarchi +++ /dev/null @@ -1,32 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 50 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 clockDivider 2 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 2 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 2 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tmap deleted file mode 100644 index 9e4bdcf826e6c895b3e80ddd2fb169b9f4302543..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "fpga_clock_divider.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_clock_divider.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 ApplicationSimple__Src - SET ApplicationSimple__Src priority 0 - MAP FPGA0 ApplicationSimple__T2 - SET ApplicationSimple__T2 priority 0 - MAP FPGA0 ApplicationSimple__T1 - SET ApplicationSimple__T1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tml deleted file mode 100644 index d79e5cc4e1b0ee5e0bb5f727c1c95ee77b2f7479..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.tml +++ /dev/null @@ -1,53 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.xml -// Generated: Mon Apr 19 19:26:24 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL ApplicationSimple__chToT1 BRBW 4 500 OUT ApplicationSimple__Src IN ApplicationSimple__T1 -VCCHANNEL ApplicationSimple__chToT1 0 -CHANNEL ApplicationSimple__chToT2 BRBW 4 8 OUT ApplicationSimple__T1 IN ApplicationSimple__T2 -VCCHANNEL ApplicationSimple__chToT2 0 - -// Events -EVENT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1(int) NIB 2 ApplicationSimple__Src ApplicationSimple__T1 -EVENT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2(int) NIB 2 ApplicationSimple__T1 ApplicationSimple__T2 - -// Requests - -TASK ApplicationSimple__Src - TASKOP - //Local variables - int size = 10 - - //Behavior - NOTIFY ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - WRITE ApplicationSimple__chToT1 size -ENDTASK - -TASK ApplicationSimple__T1 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - READ ApplicationSimple__chToT1 size - EXECI size - DELAY 10 ns isActiveDelay false - NOTIFY ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - WRITE ApplicationSimple__chToT2 size -ENDTASK - -TASK ApplicationSimple__T2 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - READ ApplicationSimple__chToT2 size - EXECI size -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.xml new file mode 100644 index 0000000000000000000000000000000000000000..e50167577f421b51af8df61a39613b9009149178 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_clock_divider.xml @@ -0,0 +1,796 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="false" 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="7" /> +<P2 x="427" y="287" id="20" /> +<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="5" /> +<P2 x="427" y="223" id="18" /> +<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="24" /> +<P2 x="683" y="289" id="37" /> +<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="22" /> +<P2 x="683" y="225" id="35" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="17" uid="54a56387-8e3f-466e-8313-a55cc1278d79" > +<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="ns" Operation="" /> +<Attribute access="2" id="size" value="10" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="6" uid="a7edfb00-dc4e-4ffc-aba6-8dbaed6ff726" > +<father id="17" num="0" /> +<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="5" /> +<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> +<SUBCOMPONENT type="1203" id="8" uid="55c1652d-4d90-44bd-b912-d0506fe1b76a" > +<father id="17" num="1" /> +<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="7" /> +<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> + +<COMPONENT type="1202" id="34" uid="93c5f100-cb90-4113-b7b5-22e2963e8fd3" > +<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" uid="05aa10e4-8bc7-4a5a-bcf8-055e3bb92ffb" > +<father id="34" num="0" /> +<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="18" /> +<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> +<SUBCOMPONENT type="1203" id="21" uid="599e703e-5d2d-49f6-b901-ada34dc77272" > +<father id="34" num="1" /> +<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="20" /> +<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="23" uid="4c101eeb-8107-4c17-8f6c-0b2e5e02cad2" > +<father id="34" num="2" /> +<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="22" /> +<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="25" uid="076950b3-844c-4642-87a8-66efdcfa82ed" > +<father id="34" num="3" /> +<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="24" /> +<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> + +<COMPONENT type="1202" id="47" uid="636dd006-0663-4041-a6b9-2cea3ca21892" > +<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" uid="2394f5c1-7422-4c84-8b51-d261b3ddad06" > +<father id="47" num="0" /> +<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="35" /> +<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> +<SUBCOMPONENT type="1203" id="38" uid="80da20bf-10f7-4d29-a4a2-3a91060850c5" > +<father id="47" num="1" /> +<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="37" /> +<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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Src" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1008" id="50" uid="ced74e11-299a-42ed-8794-4b1d8a9ea49a" > +<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" uid="996a61b3-8d22-4be8-bf6c-10031923b9a5" > +<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" uid="b0703f2b-9035-487f-b789-7b55e6fad1c9" > +<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" uid="7c60161f-8c26-4fdf-86e4-dca9c6a25c46" > +<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" uid="dda6f802-2887-401b-80c0-71d8c1360efb" > +<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" uid="b29312ba-2bdc-4d15-b382-3f32e33de0b2" > +<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" uid="68a349b5-a863-475f-bede-0181a7fdba5b" > +<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" uid="6f82076a-f36f-4c8a-87ab-9c90aba68870" > +<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" uid="e18e25fa-0707-403d-bdb5-0333611a770c" > +<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" uid="c4e6fefa-e88a-411a-a734-6055dd808e9d" > +<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" uid="63b1987b-94b2-4aca-a004-48fcc9ec4573" > +<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" uid="555accbc-9632-4936-897d-677fc633f40b" > +<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" uid="4d60a7ea-3a49-47ff-987c-48db7dfc40a2" > +<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" uid="62b2de81-3d66-487b-a160-00d0f995bb74" > +<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" uid="cc2b8aee-940d-49da-97ab-b25cc72a2d31" > +<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" uid="ffad4add-973a-4b24-8aa8-8d581881cd40" > +<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" uid="a4d108ca-9688-4c5c-8399-bb086ec5ae7d" > +<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" uid="afa2957a-8992-4dd0-9df7-327cb9ed77d4" > +<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" uid="00b4c2cf-2c86-4835-9961-f3a72bca65da" > +<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" uid="f77f0a02-b19c-47ea-8e5e-339e8c7c3c54" > +<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="1116" id="161" uid="33d6ff5c-6255-4f68-8404-82327ed4bf61" > +<cdparam x="171" y="69" /> +<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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="137" /> +<TGConnectingPoint num="1" id="138" /> +<TGConnectingPoint num="2" id="139" /> +<TGConnectingPoint num="3" id="140" /> +<TGConnectingPoint num="4" id="141" /> +<TGConnectingPoint num="5" id="142" /> +<TGConnectingPoint num="6" id="143" /> +<TGConnectingPoint num="7" id="144" /> +<TGConnectingPoint num="8" id="145" /> +<TGConnectingPoint num="9" id="146" /> +<TGConnectingPoint num="10" id="147" /> +<TGConnectingPoint num="11" id="148" /> +<TGConnectingPoint num="12" id="149" /> +<TGConnectingPoint num="13" id="150" /> +<TGConnectingPoint num="14" id="151" /> +<TGConnectingPoint num="15" id="152" /> +<TGConnectingPoint num="16" id="153" /> +<TGConnectingPoint num="17" id="154" /> +<TGConnectingPoint num="18" id="155" /> +<TGConnectingPoint num="19" id="156" /> +<TGConnectingPoint num="20" id="157" /> +<TGConnectingPoint num="21" id="158" /> +<TGConnectingPoint num="22" id="159" /> +<TGConnectingPoint num="23" id="160" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="50" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="2" operation ="" scheduling ="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="118" uid="f1e00327-76a5-452a-a0b3-aabdca8600f3" > +<father id="161" num="0" /> +<cdparam x="197" y="102" /> +<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="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 value="ApplicationSimple::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="127" uid="0c0ac20d-5680-4120-bab4-7045bf0d682e" > +<father id="161" num="1" /> +<cdparam x="203" y="151" /> +<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="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" /> +<extraparam> +<info value="ApplicationSimple::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="136" uid="6922a54e-36e1-495c-a873-f39717b6a98b" > +<father id="161" num="2" /> +<cdparam x="196" y="218" /> +<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="128" /> +<TGConnectingPoint num="1" id="129" /> +<TGConnectingPoint num="2" id="130" /> +<TGConnectingPoint num="3" id="131" /> +<TGConnectingPoint num="4" id="132" /> +<TGConnectingPoint num="5" id="133" /> +<TGConnectingPoint num="6" id="134" /> +<TGConnectingPoint num="7" id="135" /> +<extraparam> +<info value="ApplicationSimple::Src" taskName="Src" referenceTaskName="ApplicationSimple" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="186" uid="f8c3b5c1-0646-4f03-8234-1136af466d13" > +<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="162" /> +<TGConnectingPoint num="1" id="163" /> +<TGConnectingPoint num="2" id="164" /> +<TGConnectingPoint num="3" id="165" /> +<TGConnectingPoint num="4" id="166" /> +<TGConnectingPoint num="5" id="167" /> +<TGConnectingPoint num="6" id="168" /> +<TGConnectingPoint num="7" id="169" /> +<TGConnectingPoint num="8" id="170" /> +<TGConnectingPoint num="9" id="171" /> +<TGConnectingPoint num="10" id="172" /> +<TGConnectingPoint num="11" id="173" /> +<TGConnectingPoint num="12" id="174" /> +<TGConnectingPoint num="13" id="175" /> +<TGConnectingPoint num="14" id="176" /> +<TGConnectingPoint num="15" id="177" /> +<TGConnectingPoint num="16" id="178" /> +<TGConnectingPoint num="17" id="179" /> +<TGConnectingPoint num="18" id="180" /> +<TGConnectingPoint num="19" id="181" /> +<TGConnectingPoint num="20" id="182" /> +<TGConnectingPoint num="21" id="183" /> +<TGConnectingPoint num="22" id="184" /> +<TGConnectingPoint num="23" id="185" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="2" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="211" uid="2ec2a3b3-7027-4e01-a1b9-d61f986b9914" > +<cdparam x="503" y="320" /> +<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="Bus0" 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="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="2" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="212" > +<cdparam x="421" y="219" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="421" y="219" id="150" /> +<P2 x="503" y="320" id="187" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="213" > +<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="165" /> +<P2 x="753" y="345" id="191" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tarchi deleted file mode 100644 index 3d80ed2d49b2f8f914265ad157b4187e23d42747..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 1 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling Task1;Task2;Task3;Task4;Task5 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tmap deleted file mode 100644 index 8bcd6765bd2ced9ebfb9df2d386c8104428e1270..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "fpga_reconfig1.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_reconfig1.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tml deleted file mode 100644 index ea2e8aeebffaa63741420af82abc4f91236c6f92..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.xml -// Generated: Thu Apr 22 15:03:15 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 10 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.xml new file mode 100644 index 0000000000000000000000000000000000000000..a3404133b330fd3f8ac8545ff9d4e8caaec18851 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig1.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<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="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="72" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="383" y="103" /> +<sizeparam width="43" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="390" y="108" /> +<sizeparam width="47" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="1" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="Task1;Task2;Task3;Task4;Task5" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tarchi deleted file mode 100644 index e404deb13ecd544856b105da9538897755e688b6..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 1 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling Task1,Task2;Task3;Task4;Task5 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tmap deleted file mode 100644 index 16064f0ff987c58b418132883ea87a5b191ce9be..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "fpga_reconfig2.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_reconfig2.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tml deleted file mode 100644 index c312f925bff8d858eadb6cb0c2b8c4f70481f280..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.xml -// Generated: Thu Apr 22 15:04:11 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 10 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.xml new file mode 100644 index 0000000000000000000000000000000000000000..e67a680cac91b1719a7d273b69ba40172a034b45 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig2.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<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="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="72" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="383" y="103" /> +<sizeparam width="43" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="390" y="108" /> +<sizeparam width="47" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="1" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="Task1,Task2;Task3;Task4;Task5" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tarchi deleted file mode 100644 index 6775adcdf3259cb0ecea1a6860a2b1c604feefdc..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 1 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling Task1,Task2;Task5;Task3;Task4 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tmap deleted file mode 100644 index 66e0a9b4b7c80ba95d30577f5c61c388f5748499..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "fpga_reconfig3.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_reconfig3.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tml deleted file mode 100644 index cdfc9704745a8469f6c09f827c5b4eaa86c48308..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.xml -// Generated: Thu Apr 22 15:04:56 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 10 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.xml new file mode 100644 index 0000000000000000000000000000000000000000..51452026da6bb3bef9f78027f5f4f3c3a4227ee4 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig3.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<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="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="72" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="383" y="103" /> +<sizeparam width="43" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="390" y="108" /> +<sizeparam width="47" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="1" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="Task1,Task2;Task5;Task3;Task4" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tarchi deleted file mode 100644 index 3813db0b63109445274e5eec4c02f32b96888d7c..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 1 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling Task1,Task2,Task3;Task4;Task5 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tmap deleted file mode 100644 index 7b47a79bbeb0511bdc337b607b295c3e334611e9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "fpga_reconfig4.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_reconfig4.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tml deleted file mode 100644 index 549bd2d55884f7e207eaf51e24c0e8423a9c6fe8..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.xml -// Generated: Thu Apr 22 15:05:44 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 10 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.xml new file mode 100644 index 0000000000000000000000000000000000000000..f61d8cd24f1bb01dcce00cb67221b268a405c627 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig4.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<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="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="72" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="383" y="103" /> +<sizeparam width="43" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="390" y="108" /> +<sizeparam width="47" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="1" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="Task1,Task2,Task3;Task4;Task5" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tarchi deleted file mode 100644 index acfea7f48bdaa3c734be193f58a2ad5b6a19e095..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 1 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling Task1,Task2,Task5;Task3;Task4 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tmap deleted file mode 100644 index ad5db33abe60ac21628ba1d6c71f7ccdb2f2d5cb..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "fpga_reconfig5.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_reconfig5.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tml deleted file mode 100644 index f288870473623fcd77a84c2467455611f31a1242..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.xml -// Generated: Thu Apr 22 13:59:22 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 10 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.xml new file mode 100644 index 0000000000000000000000000000000000000000..597d040f682929269ea013978cb271eb78cd3dc4 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig5.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<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="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="72" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="383" y="103" /> +<sizeparam width="43" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="390" y="108" /> +<sizeparam width="47" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="1" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="Task1,Task2,Task5;Task3;Task4" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tarchi b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tarchi deleted file mode 100644 index f5ec7a36f9434b75e062527fb2d5c13f3d284afd..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 1 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling ;Task1,Task2,Task5;Task3;Task4 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tmap b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tmap deleted file mode 100644 index 1c9a746a47a9f426f9270f7612bca3d2f58a5d8c..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "fpga_reconfig6.tml" -ENDTMLSPEC - -TMLARCHI - #include "fpga_reconfig6.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tml deleted file mode 100644 index 1b8985335e41548649dfe7821c0622509ccc5ea0..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.xml -// Generated: Thu Apr 22 14:00:28 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 10 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.xml b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.xml new file mode 100644 index 0000000000000000000000000000000000000000..e0f7af4e567e9a61c45ec9293036de6c040c19ac --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/fpga_reconfig6.xml @@ -0,0 +1,731 @@ +<?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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<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="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="77" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="373" y="103" /> +<sizeparam width="63" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="390" y="108" /> +<sizeparam width="47" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="10" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="1" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling =";Task1,Task2,Task5;Task3;Task4" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RR-penalty.xml b/ttool/src/test/resources/tmltranslator/simulator/mono-RR-penalty.xml new file mode 100644 index 0000000000000000000000000000000000000000..fb8cc201c721ca9da33df0ffbbaa1f9b84bd6fa0 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/mono-RR-penalty.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1102" id="87" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +<TGConnectingPoint num="18" id="81" /> +<TGConnectingPoint num="19" id="82" /> +<TGConnectingPoint num="20" id="83" /> +<TGConnectingPoint num="21" id="84" /> +<TGConnectingPoint num="22" id="85" /> +<TGConnectingPoint num="23" id="86" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="112" > +<cdparam x="749" y="86" /> +<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="88" /> +<TGConnectingPoint num="1" id="89" /> +<TGConnectingPoint num="2" id="90" /> +<TGConnectingPoint num="3" id="91" /> +<TGConnectingPoint num="4" id="92" /> +<TGConnectingPoint num="5" id="93" /> +<TGConnectingPoint num="6" id="94" /> +<TGConnectingPoint num="7" id="95" /> +<TGConnectingPoint num="8" id="96" /> +<TGConnectingPoint num="9" id="97" /> +<TGConnectingPoint num="10" id="98" /> +<TGConnectingPoint num="11" id="99" /> +<TGConnectingPoint num="12" id="100" /> +<TGConnectingPoint num="13" id="101" /> +<TGConnectingPoint num="14" id="102" /> +<TGConnectingPoint num="15" id="103" /> +<TGConnectingPoint num="16" id="104" /> +<TGConnectingPoint num="17" id="105" /> +<TGConnectingPoint num="18" id="106" /> +<TGConnectingPoint num="19" id="107" /> +<TGConnectingPoint num="20" id="108" /> +<TGConnectingPoint num="21" id="109" /> +<TGConnectingPoint num="22" id="110" /> +<TGConnectingPoint num="23" id="111" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="155" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="0" sliceTime="1" 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="121" > +<father id="155" num="0" /> +<cdparam x="253" y="108" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="1" /> +<cdparam x="258" y="151" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="102" /> +<P2 x="683" y="341" id="72" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="137" /> +<P2 x="558" y="341" id="71" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tarchi b/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tarchi deleted file mode 100644 index 1359d552d7409d6e02bebaac9f96f099a0366948..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 1 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tmap b/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tmap deleted file mode 100644 index cff5171ae875c22487cd96ad315a7011eede889b..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "mono-RR.tml" -ENDTMLSPEC - -TMLARCHI - #include "mono-RR.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 TestCycleEvt_wait__C0 - SET TestCycleEvt_wait__C0 priority 0 - MAP CPU0 TestCycleEvt_wait__C1 - SET TestCycleEvt_wait__C1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tml b/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tml deleted file mode 100644 index fcfc56eb002786c32cc8d4c0390f3eb540df43ae..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.tml +++ /dev/null @@ -1,38 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/mono-RR.xml -// Generated: Thu Apr 22 14:42:29 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt(int) INF TestCycleEvt_wait__C0 TestCycleEvt_wait__C1 - -// Requests - -TASK TestCycleEvt_wait__C0 - TASKOP - //Local variables - int x = 0 - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<10; loop__0 = loop__0 + 1) - NOTIFY TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - x=x+1 - DELAY 1 us isActiveDelay true - ENDFOR -ENDTASK - -TASK TestCycleEvt_wait__C1 - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RR.xml b/ttool/src/test/resources/tmltranslator/simulator/mono-RR.xml new file mode 100644 index 0000000000000000000000000000000000000000..fb8cc201c721ca9da33df0ffbbaa1f9b84bd6fa0 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/mono-RR.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1102" id="87" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +<TGConnectingPoint num="18" id="81" /> +<TGConnectingPoint num="19" id="82" /> +<TGConnectingPoint num="20" id="83" /> +<TGConnectingPoint num="21" id="84" /> +<TGConnectingPoint num="22" id="85" /> +<TGConnectingPoint num="23" id="86" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="112" > +<cdparam x="749" y="86" /> +<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="88" /> +<TGConnectingPoint num="1" id="89" /> +<TGConnectingPoint num="2" id="90" /> +<TGConnectingPoint num="3" id="91" /> +<TGConnectingPoint num="4" id="92" /> +<TGConnectingPoint num="5" id="93" /> +<TGConnectingPoint num="6" id="94" /> +<TGConnectingPoint num="7" id="95" /> +<TGConnectingPoint num="8" id="96" /> +<TGConnectingPoint num="9" id="97" /> +<TGConnectingPoint num="10" id="98" /> +<TGConnectingPoint num="11" id="99" /> +<TGConnectingPoint num="12" id="100" /> +<TGConnectingPoint num="13" id="101" /> +<TGConnectingPoint num="14" id="102" /> +<TGConnectingPoint num="15" id="103" /> +<TGConnectingPoint num="16" id="104" /> +<TGConnectingPoint num="17" id="105" /> +<TGConnectingPoint num="18" id="106" /> +<TGConnectingPoint num="19" id="107" /> +<TGConnectingPoint num="20" id="108" /> +<TGConnectingPoint num="21" id="109" /> +<TGConnectingPoint num="22" id="110" /> +<TGConnectingPoint num="23" id="111" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="155" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="0" sliceTime="1" 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="121" > +<father id="155" num="0" /> +<cdparam x="253" y="108" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="1" /> +<cdparam x="258" y="151" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="102" /> +<P2 x="683" y="341" id="72" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="137" /> +<P2 x="558" y="341" id="71" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB-penalty.xml b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB-penalty.xml new file mode 100644 index 0000000000000000000000000000000000000000..855fa12bf261e66fa28bef166b382ac96aa18066 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB-penalty.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1102" id="87" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +<TGConnectingPoint num="18" id="81" /> +<TGConnectingPoint num="19" id="82" /> +<TGConnectingPoint num="20" id="83" /> +<TGConnectingPoint num="21" id="84" /> +<TGConnectingPoint num="22" id="85" /> +<TGConnectingPoint num="23" id="86" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="112" > +<cdparam x="749" y="86" /> +<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="88" /> +<TGConnectingPoint num="1" id="89" /> +<TGConnectingPoint num="2" id="90" /> +<TGConnectingPoint num="3" id="91" /> +<TGConnectingPoint num="4" id="92" /> +<TGConnectingPoint num="5" id="93" /> +<TGConnectingPoint num="6" id="94" /> +<TGConnectingPoint num="7" id="95" /> +<TGConnectingPoint num="8" id="96" /> +<TGConnectingPoint num="9" id="97" /> +<TGConnectingPoint num="10" id="98" /> +<TGConnectingPoint num="11" id="99" /> +<TGConnectingPoint num="12" id="100" /> +<TGConnectingPoint num="13" id="101" /> +<TGConnectingPoint num="14" id="102" /> +<TGConnectingPoint num="15" id="103" /> +<TGConnectingPoint num="16" id="104" /> +<TGConnectingPoint num="17" id="105" /> +<TGConnectingPoint num="18" id="106" /> +<TGConnectingPoint num="19" id="107" /> +<TGConnectingPoint num="20" id="108" /> +<TGConnectingPoint num="21" id="109" /> +<TGConnectingPoint num="22" id="110" /> +<TGConnectingPoint num="23" id="111" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="155" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURRPB" nodeName="CPU0" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="1" sliceTime="1" 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="121" > +<father id="155" num="0" /> +<cdparam x="253" y="108" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="1" /> +<cdparam x="258" y="151" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="3" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="102" /> +<P2 x="683" y="341" id="72" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="137" /> +<P2 x="558" y="341" id="71" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tarchi b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tarchi deleted file mode 100644 index 51386282a94ce7c1a11132e0229e7598369e20a8..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 1 -SET CPU0 sliceTime 1 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tmap b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tmap deleted file mode 100644 index 4a6ad16a45dda451904a6b9f8a8f9c5466eb2977..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "mono-RRPB.tml" -ENDTMLSPEC - -TMLARCHI - #include "mono-RRPB.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 TestCycleEvt_wait__C0 - SET TestCycleEvt_wait__C0 priority 3 - MAP CPU0 TestCycleEvt_wait__C1 - SET TestCycleEvt_wait__C1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tml b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tml deleted file mode 100644 index 2f6b0c98f519cb313e11b28d61ff9df68e8c3ca9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.tml +++ /dev/null @@ -1,38 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.xml -// Generated: Thu Apr 22 14:44:18 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt(int) INF TestCycleEvt_wait__C0 TestCycleEvt_wait__C1 - -// Requests - -TASK TestCycleEvt_wait__C0 - TASKOP - //Local variables - int x = 0 - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<10; loop__0 = loop__0 + 1) - NOTIFY TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - x=x+1 - DELAY 1 us isActiveDelay true - ENDFOR -ENDTASK - -TASK TestCycleEvt_wait__C1 - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.xml b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.xml new file mode 100644 index 0000000000000000000000000000000000000000..855fa12bf261e66fa28bef166b382ac96aa18066 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/mono-RRPB.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1102" id="87" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +<TGConnectingPoint num="18" id="81" /> +<TGConnectingPoint num="19" id="82" /> +<TGConnectingPoint num="20" id="83" /> +<TGConnectingPoint num="21" id="84" /> +<TGConnectingPoint num="22" id="85" /> +<TGConnectingPoint num="23" id="86" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="112" > +<cdparam x="749" y="86" /> +<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="88" /> +<TGConnectingPoint num="1" id="89" /> +<TGConnectingPoint num="2" id="90" /> +<TGConnectingPoint num="3" id="91" /> +<TGConnectingPoint num="4" id="92" /> +<TGConnectingPoint num="5" id="93" /> +<TGConnectingPoint num="6" id="94" /> +<TGConnectingPoint num="7" id="95" /> +<TGConnectingPoint num="8" id="96" /> +<TGConnectingPoint num="9" id="97" /> +<TGConnectingPoint num="10" id="98" /> +<TGConnectingPoint num="11" id="99" /> +<TGConnectingPoint num="12" id="100" /> +<TGConnectingPoint num="13" id="101" /> +<TGConnectingPoint num="14" id="102" /> +<TGConnectingPoint num="15" id="103" /> +<TGConnectingPoint num="16" id="104" /> +<TGConnectingPoint num="17" id="105" /> +<TGConnectingPoint num="18" id="106" /> +<TGConnectingPoint num="19" id="107" /> +<TGConnectingPoint num="20" id="108" /> +<TGConnectingPoint num="21" id="109" /> +<TGConnectingPoint num="22" id="110" /> +<TGConnectingPoint num="23" id="111" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="155" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURRPB" nodeName="CPU0" /> +<attributes nbOfCores="1" byteDataSize="4" schedulingPolicy="1" sliceTime="1" 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="121" > +<father id="155" num="0" /> +<cdparam x="253" y="108" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="1" /> +<cdparam x="258" y="151" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="3" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="102" /> +<P2 x="683" y="341" id="72" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="137" /> +<P2 x="558" y="341" id="71" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RR-penalty.xml b/ttool/src/test/resources/tmltranslator/simulator/multi-RR-penalty.xml new file mode 100644 index 0000000000000000000000000000000000000000..46bec07e259ad28735fe5e912368ab9e6c06bb21 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/multi-RR-penalty.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1102" id="87" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +<TGConnectingPoint num="18" id="81" /> +<TGConnectingPoint num="19" id="82" /> +<TGConnectingPoint num="20" id="83" /> +<TGConnectingPoint num="21" id="84" /> +<TGConnectingPoint num="22" id="85" /> +<TGConnectingPoint num="23" id="86" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="112" > +<cdparam x="749" y="86" /> +<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="88" /> +<TGConnectingPoint num="1" id="89" /> +<TGConnectingPoint num="2" id="90" /> +<TGConnectingPoint num="3" id="91" /> +<TGConnectingPoint num="4" id="92" /> +<TGConnectingPoint num="5" id="93" /> +<TGConnectingPoint num="6" id="94" /> +<TGConnectingPoint num="7" id="95" /> +<TGConnectingPoint num="8" id="96" /> +<TGConnectingPoint num="9" id="97" /> +<TGConnectingPoint num="10" id="98" /> +<TGConnectingPoint num="11" id="99" /> +<TGConnectingPoint num="12" id="100" /> +<TGConnectingPoint num="13" id="101" /> +<TGConnectingPoint num="14" id="102" /> +<TGConnectingPoint num="15" id="103" /> +<TGConnectingPoint num="16" id="104" /> +<TGConnectingPoint num="17" id="105" /> +<TGConnectingPoint num="18" id="106" /> +<TGConnectingPoint num="19" id="107" /> +<TGConnectingPoint num="20" id="108" /> +<TGConnectingPoint num="21" id="109" /> +<TGConnectingPoint num="22" id="110" /> +<TGConnectingPoint num="23" id="111" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="155" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="2" byteDataSize="4" schedulingPolicy="0" sliceTime="1" 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="121" > +<father id="155" num="0" /> +<cdparam x="253" y="108" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="1" /> +<cdparam x="258" y="151" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="102" /> +<P2 x="683" y="341" id="72" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="137" /> +<P2 x="558" y="341" id="71" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tarchi b/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tarchi deleted file mode 100644 index 50d6738c328acc89cc7dc2c4f0c58f97aa8e3001..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE CPU CPU0 -SET CPU0 nbOfCores 2 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 1 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tmap b/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tmap deleted file mode 100644 index 23bd35207c9e6513cac053039fa9c3f73b08d3ac..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "multi-RR.tml" -ENDTMLSPEC - -TMLARCHI - #include "multi-RR.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 TestCycleEvt_wait__C0 - SET TestCycleEvt_wait__C0 priority 0 - MAP CPU0 TestCycleEvt_wait__C1 - SET TestCycleEvt_wait__C1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tml b/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tml deleted file mode 100644 index bc4b11dd61c5da10f484041ceb058c12b4d42aec..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.tml +++ /dev/null @@ -1,38 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/multi-RR.xml -// Generated: Thu Apr 22 14:46:00 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt(int) INF TestCycleEvt_wait__C0 TestCycleEvt_wait__C1 - -// Requests - -TASK TestCycleEvt_wait__C0 - TASKOP - //Local variables - int x = 0 - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<10; loop__0 = loop__0 + 1) - NOTIFY TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - x=x+1 - DELAY 1 us isActiveDelay true - ENDFOR -ENDTASK - -TASK TestCycleEvt_wait__C1 - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RR.xml b/ttool/src/test/resources/tmltranslator/simulator/multi-RR.xml new file mode 100644 index 0000000000000000000000000000000000000000..46bec07e259ad28735fe5e912368ab9e6c06bb21 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/multi-RR.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1102" id="87" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +<TGConnectingPoint num="18" id="81" /> +<TGConnectingPoint num="19" id="82" /> +<TGConnectingPoint num="20" id="83" /> +<TGConnectingPoint num="21" id="84" /> +<TGConnectingPoint num="22" id="85" /> +<TGConnectingPoint num="23" id="86" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="112" > +<cdparam x="749" y="86" /> +<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="88" /> +<TGConnectingPoint num="1" id="89" /> +<TGConnectingPoint num="2" id="90" /> +<TGConnectingPoint num="3" id="91" /> +<TGConnectingPoint num="4" id="92" /> +<TGConnectingPoint num="5" id="93" /> +<TGConnectingPoint num="6" id="94" /> +<TGConnectingPoint num="7" id="95" /> +<TGConnectingPoint num="8" id="96" /> +<TGConnectingPoint num="9" id="97" /> +<TGConnectingPoint num="10" id="98" /> +<TGConnectingPoint num="11" id="99" /> +<TGConnectingPoint num="12" id="100" /> +<TGConnectingPoint num="13" id="101" /> +<TGConnectingPoint num="14" id="102" /> +<TGConnectingPoint num="15" id="103" /> +<TGConnectingPoint num="16" id="104" /> +<TGConnectingPoint num="17" id="105" /> +<TGConnectingPoint num="18" id="106" /> +<TGConnectingPoint num="19" id="107" /> +<TGConnectingPoint num="20" id="108" /> +<TGConnectingPoint num="21" id="109" /> +<TGConnectingPoint num="22" id="110" /> +<TGConnectingPoint num="23" id="111" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="155" > +<cdparam x="213" y="55" /> +<sizeparam width="345" height="232" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="2" byteDataSize="4" schedulingPolicy="0" sliceTime="1" 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="121" > +<father id="155" num="0" /> +<cdparam x="253" y="108" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="1" /> +<cdparam x="258" y="151" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="177" minY="0" maxY="192" /> +<infoparam name="TGComponent" value="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="102" /> +<P2 x="683" y="341" id="72" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="389" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="385" y="287" id="137" /> +<P2 x="558" y="341" id="71" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB-penalty.xml b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB-penalty.xml new file mode 100644 index 0000000000000000000000000000000000000000..48ca59ac3f180efc56775ae2397eb5fecb93688c --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB-penalty.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1100" id="105" > +<cdparam x="243" y="111" /> +<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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="81" /> +<TGConnectingPoint num="1" id="82" /> +<TGConnectingPoint num="2" id="83" /> +<TGConnectingPoint num="3" id="84" /> +<TGConnectingPoint num="4" id="85" /> +<TGConnectingPoint num="5" id="86" /> +<TGConnectingPoint num="6" id="87" /> +<TGConnectingPoint num="7" id="88" /> +<TGConnectingPoint num="8" id="89" /> +<TGConnectingPoint num="9" id="90" /> +<TGConnectingPoint num="10" id="91" /> +<TGConnectingPoint num="11" id="92" /> +<TGConnectingPoint num="12" id="93" /> +<TGConnectingPoint num="13" id="94" /> +<TGConnectingPoint num="14" id="95" /> +<TGConnectingPoint num="15" id="96" /> +<TGConnectingPoint num="16" id="97" /> +<TGConnectingPoint num="17" id="98" /> +<TGConnectingPoint num="18" id="99" /> +<TGConnectingPoint num="19" id="100" /> +<TGConnectingPoint num="20" id="101" /> +<TGConnectingPoint num="21" id="102" /> +<TGConnectingPoint num="22" id="103" /> +<TGConnectingPoint num="23" id="104" /> +<extraparam> +<info stereotype="CPURRPB" nodeName="CPU0" /> +<attributes nbOfCores="2" byteDataSize="4" schedulingPolicy="1" sliceTime="1" 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="71" > +<father id="105" num="0" /> +<cdparam x="284" y="238" /> +<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="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="80" > +<father id="105" num="1" /> +<cdparam x="276" y="165" /> +<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="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="72" /> +<TGConnectingPoint num="1" id="73" /> +<TGConnectingPoint num="2" id="74" /> +<TGConnectingPoint num="3" id="75" /> +<TGConnectingPoint num="4" id="76" /> +<TGConnectingPoint num="5" id="77" /> +<TGConnectingPoint num="6" id="78" /> +<TGConnectingPoint num="7" id="79" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1102" id="130" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="106" /> +<TGConnectingPoint num="1" id="107" /> +<TGConnectingPoint num="2" id="108" /> +<TGConnectingPoint num="3" id="109" /> +<TGConnectingPoint num="4" id="110" /> +<TGConnectingPoint num="5" id="111" /> +<TGConnectingPoint num="6" id="112" /> +<TGConnectingPoint num="7" id="113" /> +<TGConnectingPoint num="8" id="114" /> +<TGConnectingPoint num="9" id="115" /> +<TGConnectingPoint num="10" id="116" /> +<TGConnectingPoint num="11" id="117" /> +<TGConnectingPoint num="12" id="118" /> +<TGConnectingPoint num="13" id="119" /> +<TGConnectingPoint num="14" id="120" /> +<TGConnectingPoint num="15" id="121" /> +<TGConnectingPoint num="16" id="122" /> +<TGConnectingPoint num="17" id="123" /> +<TGConnectingPoint num="18" id="124" /> +<TGConnectingPoint num="19" id="125" /> +<TGConnectingPoint num="20" id="126" /> +<TGConnectingPoint num="21" id="127" /> +<TGConnectingPoint num="22" id="128" /> +<TGConnectingPoint num="23" id="129" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="155" > +<cdparam x="749" y="86" /> +<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="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="493" y="261" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="493" y="261" id="94" /> +<P2 x="558" y="341" id="114" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="145" /> +<P2 x="683" y="341" id="115" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tarchi b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tarchi deleted file mode 100644 index ada8c063d4c2bee354ab7d07694b78a4ae0f56b6..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 2 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 1 -SET CPU0 sliceTime 1 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tmap b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tmap deleted file mode 100644 index d079d920d192284159c1025dcdf45dc35feb469b..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "multi-RRPB.tml" -ENDTMLSPEC - -TMLARCHI - #include "multi-RRPB.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 TestCycleEvt_wait__C0 - SET TestCycleEvt_wait__C0 priority 0 - MAP CPU0 TestCycleEvt_wait__C1 - SET TestCycleEvt_wait__C1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tml b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tml deleted file mode 100644 index 1b55e5025c0d600b53db9926568aef9c3cc514bf..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.tml +++ /dev/null @@ -1,38 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.xml -// Generated: Thu Apr 22 14:47:14 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt(int) INF TestCycleEvt_wait__C0 TestCycleEvt_wait__C1 - -// Requests - -TASK TestCycleEvt_wait__C0 - TASKOP - //Local variables - int x = 0 - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<10; loop__0 = loop__0 + 1) - NOTIFY TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - x=x+1 - DELAY 1 us isActiveDelay true - ENDFOR -ENDTASK - -TASK TestCycleEvt_wait__C1 - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT TestCycleEvt_wait__evt__TestCycleEvt_wait__evt x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.xml b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.xml new file mode 100644 index 0000000000000000000000000000000000000000..48ca59ac3f180efc56775ae2397eb5fecb93688c --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/multi-RRPB.xml @@ -0,0 +1,488 @@ +<?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="0" LAST_SELECTED_SUB_TAB="2"> + +<Modeling type="TML Component Design" nameTab="TestCycleEvt_wait" tabs="TML Component Task Diagram$C1$C0" > +<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="442" y="295" /> +<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="443" y="245" id="13" /> +<P2 x="626" y="264" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="626" y="195" /> +<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="C1" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="613" y="264" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" 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="1" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="243" y="158" /> +<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="C0" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="430" y="245" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" finite="false" blocking="false" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1030" id="26" > +<cdparam x="436" y="118" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +</COMPONENT> + +<COMPONENT type="1001" id="28" > +<cdparam x="513" y="301" /> +<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="27" /> +</COMPONENT> + +<COMPONENT type="1010" id="31" > +<cdparam x="496" y="185" /> +<sizeparam width="49" 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="evt(x) " /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="33" > +<cdparam x="400" y="50" /> +<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="32" /> +</COMPONENT> + +<CONNECTOR type="115" id="34" > +<cdparam x="500" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="520" y="210" id="30" /> +<P2 x="523" y="296" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="35" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="32" /> +<P2 x="482" y="113" id="24" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="36" > +<cdparam x="497" y="132" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="528" y="132" id="25" /> +<P2 x="520" y="180" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="38" > +<cdparam x="417" y="151" /> +<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="37" /> +</COMPONENT> + +<COMPONENT type="1020" id="42" > +<cdparam x="378" y="98" /> +<sizeparam width="98" 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="for loop" value="10" /> +<TGConnectingPoint num="0" id="39" /> +<TGConnectingPoint num="1" id="40" /> +<TGConnectingPoint num="2" id="41" /> +</COMPONENT> + +<COMPONENT type="1026" id="46" > +<cdparam x="551" y="238" /> +<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="44" /> +<TGConnectingPoint num="1" id="45" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="43" > +<father id="46" num="0" /> +<cdparam x="566" y="258" /> +<sizeparam width="28" 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="1 us" /> +<extraparam> +<TimeDelay minDelay="1" maxDelay="nope" hasMaxDelay="false" isActiveDelay="true" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="48" > +<cdparam x="562" y="325" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1011" id="51" > +<cdparam x="494" y="170" /> +<sizeparam width="66" 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="action state" value="x = x + 1" /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +</COMPONENT> + +<COMPONENT type="1008" id="54" > +<cdparam x="488" y="122" /> +<sizeparam width="45" 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="evt(x)" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="564" y="306" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="556" y="273" id="45" /> +<P2 x="572" y="320" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="532" y="197" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="147" id="53" /> +<P2 x="527" y="165" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="555" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="527" y="195" id="50" /> +<P2 x="556" y="233" id="44" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="427" y="93" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="61" > +<cdparam x="476" y="99" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="476" y="112" id="40" /> +<P2 x="510" y="117" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="62" > +<cdparam x="427" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="427" y="123" id="41" /> +<P2 x="427" y="146" id="37" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1100" id="105" > +<cdparam x="243" y="111" /> +<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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="81" /> +<TGConnectingPoint num="1" id="82" /> +<TGConnectingPoint num="2" id="83" /> +<TGConnectingPoint num="3" id="84" /> +<TGConnectingPoint num="4" id="85" /> +<TGConnectingPoint num="5" id="86" /> +<TGConnectingPoint num="6" id="87" /> +<TGConnectingPoint num="7" id="88" /> +<TGConnectingPoint num="8" id="89" /> +<TGConnectingPoint num="9" id="90" /> +<TGConnectingPoint num="10" id="91" /> +<TGConnectingPoint num="11" id="92" /> +<TGConnectingPoint num="12" id="93" /> +<TGConnectingPoint num="13" id="94" /> +<TGConnectingPoint num="14" id="95" /> +<TGConnectingPoint num="15" id="96" /> +<TGConnectingPoint num="16" id="97" /> +<TGConnectingPoint num="17" id="98" /> +<TGConnectingPoint num="18" id="99" /> +<TGConnectingPoint num="19" id="100" /> +<TGConnectingPoint num="20" id="101" /> +<TGConnectingPoint num="21" id="102" /> +<TGConnectingPoint num="22" id="103" /> +<TGConnectingPoint num="23" id="104" /> +<extraparam> +<info stereotype="CPURRPB" nodeName="CPU0" /> +<attributes nbOfCores="2" byteDataSize="4" schedulingPolicy="1" sliceTime="1" 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="71" > +<father id="105" num="0" /> +<cdparam x="284" y="238" /> +<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="TestCycleEvt_wait::C1" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<extraparam> +<info value="TestCycleEvt_wait::C1" taskName="C1" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="80" > +<father id="105" num="1" /> +<cdparam x="276" y="165" /> +<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="TestCycleEvt_wait::C0" /> +<TGConnectingPoint num="0" id="72" /> +<TGConnectingPoint num="1" id="73" /> +<TGConnectingPoint num="2" id="74" /> +<TGConnectingPoint num="3" id="75" /> +<TGConnectingPoint num="4" id="76" /> +<TGConnectingPoint num="5" id="77" /> +<TGConnectingPoint num="6" id="78" /> +<TGConnectingPoint num="7" id="79" /> +<extraparam> +<info value="TestCycleEvt_wait::C0" taskName="C0" referenceTaskName="TestCycleEvt_wait" priority="0" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1102" id="130" > +<cdparam x="496" y="341" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="106" /> +<TGConnectingPoint num="1" id="107" /> +<TGConnectingPoint num="2" id="108" /> +<TGConnectingPoint num="3" id="109" /> +<TGConnectingPoint num="4" id="110" /> +<TGConnectingPoint num="5" id="111" /> +<TGConnectingPoint num="6" id="112" /> +<TGConnectingPoint num="7" id="113" /> +<TGConnectingPoint num="8" id="114" /> +<TGConnectingPoint num="9" id="115" /> +<TGConnectingPoint num="10" id="116" /> +<TGConnectingPoint num="11" id="117" /> +<TGConnectingPoint num="12" id="118" /> +<TGConnectingPoint num="13" id="119" /> +<TGConnectingPoint num="14" id="120" /> +<TGConnectingPoint num="15" id="121" /> +<TGConnectingPoint num="16" id="122" /> +<TGConnectingPoint num="17" id="123" /> +<TGConnectingPoint num="18" id="124" /> +<TGConnectingPoint num="19" id="125" /> +<TGConnectingPoint num="20" id="126" /> +<TGConnectingPoint num="21" id="127" /> +<TGConnectingPoint num="22" id="128" /> +<TGConnectingPoint num="23" id="129" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1105" id="155" > +<cdparam x="749" y="86" /> +<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="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="156" > +<cdparam x="493" y="261" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="493" y="261" id="94" /> +<P2 x="558" y="341" id="114" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="157" > +<cdparam x="799" y="286" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="799" y="286" id="145" /> +<P2 x="683" y="341" id="115" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tarchi b/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tarchi deleted file mode 100644 index ae2afdeff18c5dcda5c340d3e4ca29a774cc8b1a..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tarchi +++ /dev/null @@ -1,55 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus012 -SET Bus012 byteDataSize 4 -SET Bus012 pipelineSize 1 -SET Bus012 arbitration 0 -SET Bus012 clockDivider 1 - -NODE CPU CPU1 -SET CPU1 nbOfCores 2 -SET CPU1 byteDataSize 4 -SET CPU1 pipelineSize 5 -SET CPU1 goIdleTime 10 -SET CPU1 maxConsecutiveIdleCycles 10 -SET CPU1 taskSwitchingTime 20 -SET CPU1 branchingPredictionPenalty 2 -SET CPU1 cacheMiss 5 -SET CPU1 schedulingPolicy 0 -SET CPU1 sliceTime 10000 -SET CPU1 execiTime 1 -SET CPU1 execcTime 1 -SET CPU1 clockDivider 1 - -NODE CPU Src -SET Src nbOfCores 1 -SET Src byteDataSize 4 -SET Src pipelineSize 5 -SET Src goIdleTime 10 -SET Src maxConsecutiveIdleCycles 10 -SET Src taskSwitchingTime 20 -SET Src branchingPredictionPenalty 2 -SET Src cacheMiss 5 -SET Src schedulingPolicy 0 -SET Src sliceTime 10000 -SET Src execiTime 1 -SET Src execcTime 1 -SET Src clockDivider 1 - -NODE LINK link_Memory0_to_Bus012 -SET link_Memory0_to_Bus012 node Memory0 -SET link_Memory0_to_Bus012 bus Bus012 -SET link_Memory0_to_Bus012 priority 0 -NODE LINK link_CPU1_to_Bus012 -SET link_CPU1_to_Bus012 node CPU1 -SET link_CPU1_to_Bus012 bus Bus012 -SET link_CPU1_to_Bus012 priority 0 -NODE LINK link_Src_to_Bus012 -SET link_Src_to_Bus012 node Src -SET link_Src_to_Bus012 bus Bus012 -SET link_Src_to_Bus012 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tmap b/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tmap deleted file mode 100644 index ddcd3471d33c01dd9b78da1f7fb1c6f65afd1db3..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "multicore_trace.tml" -ENDTMLSPEC - -TMLARCHI - #include "multicore_trace.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU1 ApplicationSimple__T2 - SET ApplicationSimple__T2 priority 0 - MAP CPU1 ApplicationSimple__T1 - SET ApplicationSimple__T1 priority 0 - MAP Src ApplicationSimple__Src - SET ApplicationSimple__Src priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tml b/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tml deleted file mode 100644 index 26a9809202e52faceb7e80b52ed314e826aedc1e..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.tml +++ /dev/null @@ -1,53 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.xml -// Generated: Thu Apr 22 12:47:31 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL ApplicationSimple__chToT1 BRBW 4 500 OUT ApplicationSimple__Src IN ApplicationSimple__T1 -VCCHANNEL ApplicationSimple__chToT1 0 -CHANNEL ApplicationSimple__chToT2 BRBW 4 8 OUT ApplicationSimple__T1 IN ApplicationSimple__T2 -VCCHANNEL ApplicationSimple__chToT2 0 - -// Events -EVENT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1(int) NIB 2 ApplicationSimple__Src ApplicationSimple__T1 -EVENT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2(int) NIB 2 ApplicationSimple__T1 ApplicationSimple__T2 - -// Requests - -TASK ApplicationSimple__Src - TASKOP - //Local variables - int size = 10 - - //Behavior - NOTIFY ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - WRITE ApplicationSimple__chToT1 size -ENDTASK - -TASK ApplicationSimple__T1 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - READ ApplicationSimple__chToT1 size - EXECI size - DELAY 10 ns isActiveDelay false - NOTIFY ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - WRITE ApplicationSimple__chToT2 size -ENDTASK - -TASK ApplicationSimple__T2 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - READ ApplicationSimple__chToT2 size - EXECI size -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.xml b/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.xml new file mode 100644 index 0000000000000000000000000000000000000000..73b3b7f522be501208a07279bc0a389e51483eff --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/multicore_trace.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="true" 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="335" y="300" id="7" /> +<P2 x="414" y="300" id="20" /> +<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="335" y="237" id="5" /> +<P2 x="414" y="236" id="18" /> +<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="590" y="305" id="24" /> +<P2 x="670" y="302" id="37" /> +<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="590" y="241" id="22" /> +<P2 x="670" y="238" id="35" /> +<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="ns" Operation="" /> +<Attribute access="2" id="size" value="10" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="6" > +<father id="17" num="0" /> +<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="5" /> +<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> +<SUBCOMPONENT type="1203" id="8" > +<father id="17" num="1" /> +<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="7" /> +<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> + +<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="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="18" /> +<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> +<SUBCOMPONENT type="1203" id="21" > +<father id="34" num="1" /> +<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="20" /> +<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="23" > +<father id="34" num="2" /> +<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="22" /> +<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="25" > +<father id="34" num="3" /> +<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="24" /> +<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> + +<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="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="35" /> +<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> +<SUBCOMPONENT type="1203" id="38" > +<father id="47" num="1" /> +<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="37" /> +<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> + + +</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="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="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="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="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="2" 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="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="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::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="186" > +<father id="211" num="1" /> +<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="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::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" 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 diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tarchi b/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tarchi deleted file mode 100644 index 1f19e9f72b29436557bcf036144bff738c3b4a4a..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tmap b/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tmap deleted file mode 100644 index 52ecaeea0362f157743ad9750a5f94634f5548b1..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "parseCPU1_HTML.tml" -ENDTMLSPEC - -TMLARCHI - #include "parseCPU1_HTML.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 Application__Task1 - SET Application__Task1 priority 0 - MAP CPU0 Application__Task2 - SET Application__Task2 priority 0 - MAP CPU0 Application__Task3 - SET Application__Task3 priority 0 - MAP CPU0 Application__Task5 - SET Application__Task5 priority 0 - MAP CPU0 Application__Task4 - SET Application__Task4 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tml b/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tml deleted file mode 100644 index e0d2ddcb0d7eb2cf5e404320096bd1fe1b5448a2..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.xml -// Generated: Mon Apr 19 19:54:43 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 2 us isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.xml b/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.xml new file mode 100644 index 0000000000000000000000000000000000000000..de1fb79d88d404e1de5dd09547e0debf883b5399 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/parseCPU1_HTML.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<sizeparam width="28" 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="2 us" /> +<extraparam> +<TimeDelay minDelay="2" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="77" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="369" y="103" /> +<sizeparam width="71" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="376" y="108" /> +<sizeparam width="75" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<CONNECTOR type="125" id="260" > +<cdparam x="331" y="391" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="331" y="391" id="245" /> +<P2 x="484" y="366" id="217" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<COMPONENT type="1100" id="235" > +<cdparam x="61" y="391" /> +<sizeparam width="360" height="287" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="236" /> +<TGConnectingPoint num="1" id="237" /> +<TGConnectingPoint num="2" id="238" /> +<TGConnectingPoint num="3" id="239" /> +<TGConnectingPoint num="4" id="240" /> +<TGConnectingPoint num="5" id="241" /> +<TGConnectingPoint num="6" id="242" /> +<TGConnectingPoint num="7" id="243" /> +<TGConnectingPoint num="8" id="244" /> +<TGConnectingPoint num="9" id="245" /> +<TGConnectingPoint num="10" id="246" /> +<TGConnectingPoint num="11" id="247" /> +<TGConnectingPoint num="12" id="248" /> +<TGConnectingPoint num="13" id="249" /> +<TGConnectingPoint num="14" id="250" /> +<TGConnectingPoint num="15" id="251" /> +<TGConnectingPoint num="16" id="252" /> +<TGConnectingPoint num="17" id="253" /> +<TGConnectingPoint num="18" id="254" /> +<TGConnectingPoint num="19" id="255" /> +<TGConnectingPoint num="20" id="256" /> +<TGConnectingPoint num="21" id="257" /> +<TGConnectingPoint num="22" id="258" /> +<TGConnectingPoint num="23" id="259" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<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="156" > +<father id="235" num="0" /> +<cdparam x="61" y="638" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="235" num="1" /> +<cdparam x="272" y="639" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="248" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="235" num="2" /> +<cdparam x="168" y="533" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="235" num="3" /> +<cdparam x="272" y="435" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="235" num="4" /> +<cdparam x="61" y="436" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tarchi b/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tarchi deleted file mode 100644 index da96ca41087a3a5d22563ecf3e1e8e3bcf91a948..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 2 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tmap b/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tmap deleted file mode 100644 index 224d139e148b445165275b0a4b7a710e79155388..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "parseCPU2_HTML.tml" -ENDTMLSPEC - -TMLARCHI - #include "parseCPU2_HTML.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 Application__Task1 - SET Application__Task1 priority 0 - MAP CPU0 Application__Task2 - SET Application__Task2 priority 0 - MAP CPU0 Application__Task3 - SET Application__Task3 priority 0 - MAP CPU0 Application__Task5 - SET Application__Task5 priority 0 - MAP CPU0 Application__Task4 - SET Application__Task4 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tml b/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tml deleted file mode 100644 index 4fc6eda14b91173824c74a34cb7213a8fb36c51c..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.xml -// Generated: Mon Apr 19 19:55:37 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 2 us isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.xml b/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.xml new file mode 100644 index 0000000000000000000000000000000000000000..e045b8d90b8fc5063f47c80994f36c40c3babe31 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/parseCPU2_HTML.xml @@ -0,0 +1,731 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<sizeparam width="28" 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="2 us" /> +<extraparam> +<TimeDelay minDelay="2" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="us" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="77" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="369" y="103" /> +<sizeparam width="71" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="376" y="108" /> +<sizeparam width="75" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<CONNECTOR type="125" id="260" > +<cdparam x="331" y="391" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="331" y="391" id="245" /> +<P2 x="484" y="366" id="217" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<COMPONENT type="1100" id="235" > +<cdparam x="61" y="391" /> +<sizeparam width="360" height="287" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="236" /> +<TGConnectingPoint num="1" id="237" /> +<TGConnectingPoint num="2" id="238" /> +<TGConnectingPoint num="3" id="239" /> +<TGConnectingPoint num="4" id="240" /> +<TGConnectingPoint num="5" id="241" /> +<TGConnectingPoint num="6" id="242" /> +<TGConnectingPoint num="7" id="243" /> +<TGConnectingPoint num="8" id="244" /> +<TGConnectingPoint num="9" id="245" /> +<TGConnectingPoint num="10" id="246" /> +<TGConnectingPoint num="11" id="247" /> +<TGConnectingPoint num="12" id="248" /> +<TGConnectingPoint num="13" id="249" /> +<TGConnectingPoint num="14" id="250" /> +<TGConnectingPoint num="15" id="251" /> +<TGConnectingPoint num="16" id="252" /> +<TGConnectingPoint num="17" id="253" /> +<TGConnectingPoint num="18" id="254" /> +<TGConnectingPoint num="19" id="255" /> +<TGConnectingPoint num="20" id="256" /> +<TGConnectingPoint num="21" id="257" /> +<TGConnectingPoint num="22" id="258" /> +<TGConnectingPoint num="23" id="259" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="2" 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="156" > +<father id="235" num="0" /> +<cdparam x="61" y="638" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="235" num="1" /> +<cdparam x="272" y="639" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="248" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="235" num="2" /> +<cdparam x="168" y="533" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="235" num="3" /> +<cdparam x="272" y="435" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="235" num="4" /> +<cdparam x="61" y="436" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="211" minY="0" maxY="247" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tarchi b/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tarchi deleted file mode 100644 index a3b5d26a6f9eca95c14f7ad7d76c8bb98d1b0719..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tarchi +++ /dev/null @@ -1,33 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 50 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 scheduling Task1;Task2;Task3Task4;Task5 -SET FPGA0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tmap b/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tmap deleted file mode 100644 index dd48697bd377da19088e785faa6b6ed1512dd0f0..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "parseFPGA_HTML.tml" -ENDTMLSPEC - -TMLARCHI - #include "parseFPGA_HTML.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA0 Application__Task5 - SET Application__Task5 priority 0 - MAP FPGA0 Application__Task2 - SET Application__Task2 priority 0 - MAP FPGA0 Application__Task1 - SET Application__Task1 priority 0 - MAP FPGA0 Application__Task3 - SET Application__Task3 priority 0 - MAP FPGA0 Application__Task4 - SET Application__Task4 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tml b/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tml deleted file mode 100644 index 2023605a49cd7257ab7d8336db703901b87ce6b9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.tml +++ /dev/null @@ -1,57 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.xml -// Generated: Mon Apr 19 19:53:37 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__ch BRBW 4 8 OUT Application__Task3 IN Application__Task4 - -// Events - -// Requests - -TASK Application__Task1 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - -TASK Application__Task2 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 5 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Task3 - TASKOP - //Local variables - - //Behavior - WRITE Application__ch 5 -ENDTASK - -TASK Application__Task4 - TASKOP - //Local variables - - //Behavior - READ Application__ch 5 -ENDTASK - -TASK Application__Task5 - TASKOP - //Local variables - - //Behavior - EXECI 5 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.xml b/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.xml new file mode 100644 index 0000000000000000000000000000000000000000..fad425ebd048e73a562d8e501405e3673f70f065 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/parseFPGA_HTML.xml @@ -0,0 +1,731 @@ +<?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="Application" tabs="TML Component Task Diagram$Task1$Task2$Task3$Task4$Task5" > +<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="357" y="686" /> +<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="357" y="686" id="22" /> +<P2 x="635" y="683" id="11" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="10" > +<cdparam x="628" y="177" /> +<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="Task5" /> +<TGConnectingPoint num="0" id="2" /> +<TGConnectingPoint num="1" id="3" /> +<TGConnectingPoint num="2" id="4" /> +<TGConnectingPoint num="3" id="5" /> +<TGConnectingPoint num="4" id="6" /> +<TGConnectingPoint num="5" id="7" /> +<TGConnectingPoint num="6" id="8" /> +<TGConnectingPoint num="7" id="9" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="21" > +<cdparam x="648" y="615" /> +<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="Task4" /> +<TGConnectingPoint num="0" id="13" /> +<TGConnectingPoint num="1" id="14" /> +<TGConnectingPoint num="2" id="15" /> +<TGConnectingPoint num="3" id="16" /> +<TGConnectingPoint num="4" id="17" /> +<TGConnectingPoint num="5" id="18" /> +<TGConnectingPoint num="6" id="19" /> +<TGConnectingPoint num="7" id="20" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="12" > +<father id="21" num="0" /> +<cdparam x="635" y="670" /> +<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 ch" /> +<TGConnectingPoint num="0" id="11" /> +<extraparam> +<Prop commName="ch" 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="1" checkStrongAuthStatus="1" vc="-1" /> +<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="32" > +<cdparam x="144" y="606" /> +<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="Task3" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="23" > +<father id="32" num="0" /> +<cdparam x="331" y="673" /> +<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 ch" /> +<TGConnectingPoint num="0" id="22" /> +<extraparam> +<Prop commName="ch" 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="1" checkStrongAuthStatus="1" vc="-1" /> +<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="41" > +<cdparam x="145" y="119" /> +<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="Task1" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="50" > +<cdparam x="151" y="358" /> +<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="Task2" /> +<TGConnectingPoint num="0" id="42" /> +<TGConnectingPoint num="1" id="43" /> +<TGConnectingPoint num="2" id="44" /> +<TGConnectingPoint num="3" id="45" /> +<TGConnectingPoint num="4" id="46" /> +<TGConnectingPoint num="5" id="47" /> +<TGConnectingPoint num="6" id="48" /> +<TGConnectingPoint num="7" id="49" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Task1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="52" > +<cdparam x="408" y="191" /> +<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="1013" id="56" > +<cdparam x="404" y="114" /> +<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="54" /> +<TGConnectingPoint num="1" id="55" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="53" > +<father id="56" num="0" /> +<cdparam x="419" y="134" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="58" > +<cdparam x="400" y="50" /> +<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="57" /> +</COMPONENT> + +<CONNECTOR type="115" id="59" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="57" /> +<P2 x="409" y="109" id="54" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="409" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="409" y="149" id="55" /> +<P2 x="418" y="186" id="51" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="62" > +<cdparam x="418" y="144" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1020" id="66" > +<cdparam x="378" y="98" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +</COMPONENT> + +<COMPONENT type="1026" id="70" > +<cdparam x="563" y="159" /> +<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="68" /> +<TGConnectingPoint num="1" id="69" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="67" > +<father id="70" num="0" /> +<cdparam x="578" y="179" /> +<sizeparam width="28" 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="5 ns" /> +<extraparam> +<TimeDelay minDelay="5" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="ns" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="72" > +<cdparam x="601" y="341" /> +<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="71" /> +</COMPONENT> + +<COMPONENT type="1013" id="76" > +<cdparam x="574" y="233" /> +<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="589" y="253" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="78" > +<cdparam x="361" y="57" /> +<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="77" /> +</COMPONENT> + +<CONNECTOR type="115" id="79" > +<cdparam x="466" y="112" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="468" y="112" id="64" /> +<P2 x="568" y="154" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="80" > +<cdparam x="555" y="158" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="194" id="69" /> +<P2 x="579" y="228" id="74" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="368" y="77" id="77" /> +<P2 x="423" y="93" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="551" y="166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="579" y="268" id="75" /> +<P2 x="611" y="336" id="71" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="83" > +<cdparam x="423" y="123" /> +<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="123" id="65" /> +<P2 x="428" y="139" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task3" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="85" > +<cdparam x="392" y="170" /> +<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="84" /> +</COMPONENT> + +<COMPONENT type="1006" id="88" > +<cdparam x="369" y="103" /> +<sizeparam width="71" 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="ch(5)" /> +<TGConnectingPoint num="0" id="86" /> +<TGConnectingPoint num="1" id="87" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="90" > +<cdparam x="400" y="50" /> +<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="89" /> +</COMPONENT> + +<CONNECTOR type="115" id="91" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="89" /> +<P2 x="404" y="98" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="92" > +<cdparam x="404" y="128" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="404" y="128" id="87" /> +<P2 x="402" y="165" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task4" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="94" > +<cdparam x="393" y="163" /> +<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="93" /> +</COMPONENT> + +<COMPONENT type="1009" id="97" > +<cdparam x="376" y="108" /> +<sizeparam width="75" 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="ch(5) " /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<extraparam> +<Data channelName="ch" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="99" > +<cdparam x="400" y="50" /> +<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="98" /> +</COMPONENT> + +<CONNECTOR type="115" id="100" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="98" /> +<P2 x="413" y="103" id="95" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="101" > +<cdparam x="413" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="413" y="133" id="96" /> +<P2 x="403" y="158" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Task5" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="103" > +<cdparam x="418" y="144" /> +<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="102" /> +</COMPONENT> + +<COMPONENT type="1013" id="107" > +<cdparam x="413" y="88" /> +<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="105" /> +<TGConnectingPoint num="1" id="106" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="104" > +<father id="107" num="0" /> +<cdparam x="428" y="108" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="109" > +<cdparam x="400" y="50" /> +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="108" /> +<P2 x="418" y="83" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<cdparam x="418" y="123" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="418" y="123" id="106" /> +<P2 x="428" y="139" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1116" id="181" > +<cdparam x="116" y="61" /> +<sizeparam width="362" height="255" 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="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="157" /> +<TGConnectingPoint num="1" id="158" /> +<TGConnectingPoint num="2" id="159" /> +<TGConnectingPoint num="3" id="160" /> +<TGConnectingPoint num="4" id="161" /> +<TGConnectingPoint num="5" id="162" /> +<TGConnectingPoint num="6" id="163" /> +<TGConnectingPoint num="7" id="164" /> +<TGConnectingPoint num="8" id="165" /> +<TGConnectingPoint num="9" id="166" /> +<TGConnectingPoint num="10" id="167" /> +<TGConnectingPoint num="11" id="168" /> +<TGConnectingPoint num="12" id="169" /> +<TGConnectingPoint num="13" id="170" /> +<TGConnectingPoint num="14" id="171" /> +<TGConnectingPoint num="15" id="172" /> +<TGConnectingPoint num="16" id="173" /> +<TGConnectingPoint num="17" id="174" /> +<TGConnectingPoint num="18" id="175" /> +<TGConnectingPoint num="19" id="176" /> +<TGConnectingPoint num="20" id="177" /> +<TGConnectingPoint num="21" id="178" /> +<TGConnectingPoint num="22" id="179" /> +<TGConnectingPoint num="23" id="180" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="50" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="Task1; Task2;Task3 Task4;Task5" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="120" > +<father id="181" num="0" /> +<cdparam x="116" y="276" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task4" /> +<TGConnectingPoint num="0" id="112" /> +<TGConnectingPoint num="1" id="113" /> +<TGConnectingPoint num="2" id="114" /> +<TGConnectingPoint num="3" id="115" /> +<TGConnectingPoint num="4" id="116" /> +<TGConnectingPoint num="5" id="117" /> +<TGConnectingPoint num="6" id="118" /> +<TGConnectingPoint num="7" id="119" /> +<extraparam> +<info value="Application::Task4" taskName="Task4" referenceTaskName="Application" priority="0" operationMEC="Task4" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="129" > +<father id="181" num="1" /> +<cdparam x="219" y="189" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task3" /> +<TGConnectingPoint num="0" id="121" /> +<TGConnectingPoint num="1" id="122" /> +<TGConnectingPoint num="2" id="123" /> +<TGConnectingPoint num="3" id="124" /> +<TGConnectingPoint num="4" id="125" /> +<TGConnectingPoint num="5" id="126" /> +<TGConnectingPoint num="6" id="127" /> +<TGConnectingPoint num="7" id="128" /> +<extraparam> +<info value="Application::Task3" taskName="Task3" referenceTaskName="Application" priority="0" operationMEC="Task3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="138" > +<father id="181" num="2" /> +<cdparam x="117" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task1" /> +<TGConnectingPoint num="0" id="130" /> +<TGConnectingPoint num="1" id="131" /> +<TGConnectingPoint num="2" id="132" /> +<TGConnectingPoint num="3" id="133" /> +<TGConnectingPoint num="4" id="134" /> +<TGConnectingPoint num="5" id="135" /> +<TGConnectingPoint num="6" id="136" /> +<TGConnectingPoint num="7" id="137" /> +<extraparam> +<info value="Application::Task1" taskName="Task1" referenceTaskName="Application" priority="0" operationMEC="Task1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="147" > +<father id="181" num="3" /> +<cdparam x="329" y="120" /> +<sizeparam width="149" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="215" /> +<infoparam name="TGComponent" value="Application::Task2" /> +<TGConnectingPoint num="0" id="139" /> +<TGConnectingPoint num="1" id="140" /> +<TGConnectingPoint num="2" id="141" /> +<TGConnectingPoint num="3" id="142" /> +<TGConnectingPoint num="4" id="143" /> +<TGConnectingPoint num="5" id="144" /> +<TGConnectingPoint num="6" id="145" /> +<TGConnectingPoint num="7" id="146" /> +<extraparam> +<info value="Application::Task2" taskName="Task2" referenceTaskName="Application" priority="0" operationMEC="Task2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="156" > +<father id="181" num="4" /> +<cdparam x="329" y="277" /> +<sizeparam width="149" height="39" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="213" minY="0" maxY="216" /> +<infoparam name="TGComponent" value="Application::Task5" /> +<TGConnectingPoint num="0" id="148" /> +<TGConnectingPoint num="1" id="149" /> +<TGConnectingPoint num="2" id="150" /> +<TGConnectingPoint num="3" id="151" /> +<TGConnectingPoint num="4" id="152" /> +<TGConnectingPoint num="5" id="153" /> +<TGConnectingPoint num="6" id="154" /> +<TGConnectingPoint num="7" id="155" /> +<extraparam> +<info value="Application::Task5" taskName="Task5" referenceTaskName="Application" priority="0" operationMEC="Task5" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="206" > +<cdparam x="735" y="107" /> +<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="182" /> +<TGConnectingPoint num="1" id="183" /> +<TGConnectingPoint num="2" id="184" /> +<TGConnectingPoint num="3" id="185" /> +<TGConnectingPoint num="4" id="186" /> +<TGConnectingPoint num="5" id="187" /> +<TGConnectingPoint num="6" id="188" /> +<TGConnectingPoint num="7" id="189" /> +<TGConnectingPoint num="8" id="190" /> +<TGConnectingPoint num="9" id="191" /> +<TGConnectingPoint num="10" id="192" /> +<TGConnectingPoint num="11" id="193" /> +<TGConnectingPoint num="12" id="194" /> +<TGConnectingPoint num="13" id="195" /> +<TGConnectingPoint num="14" id="196" /> +<TGConnectingPoint num="15" id="197" /> +<TGConnectingPoint num="16" id="198" /> +<TGConnectingPoint num="17" id="199" /> +<TGConnectingPoint num="18" id="200" /> +<TGConnectingPoint num="19" id="201" /> +<TGConnectingPoint num="20" id="202" /> +<TGConnectingPoint num="21" id="203" /> +<TGConnectingPoint num="22" id="204" /> +<TGConnectingPoint num="23" id="205" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="231" > +<cdparam x="484" y="354" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="207" /> +<TGConnectingPoint num="1" id="208" /> +<TGConnectingPoint num="2" id="209" /> +<TGConnectingPoint num="3" id="210" /> +<TGConnectingPoint num="4" id="211" /> +<TGConnectingPoint num="5" id="212" /> +<TGConnectingPoint num="6" id="213" /> +<TGConnectingPoint num="7" id="214" /> +<TGConnectingPoint num="8" id="215" /> +<TGConnectingPoint num="9" id="216" /> +<TGConnectingPoint num="10" id="217" /> +<TGConnectingPoint num="11" id="218" /> +<TGConnectingPoint num="12" id="219" /> +<TGConnectingPoint num="13" id="220" /> +<TGConnectingPoint num="14" id="221" /> +<TGConnectingPoint num="15" id="222" /> +<TGConnectingPoint num="16" id="223" /> +<TGConnectingPoint num="17" id="224" /> +<TGConnectingPoint num="18" id="225" /> +<TGConnectingPoint num="19" id="226" /> +<TGConnectingPoint num="20" id="227" /> +<TGConnectingPoint num="21" id="228" /> +<TGConnectingPoint num="22" id="229" /> +<TGConnectingPoint num="23" id="230" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="232" > +<cdparam x="471" y="225" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="478" y="252" id="170" /> +<P2 x="546" y="354" id="215" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="233" > +<cdparam x="759" y="279" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="735" y="307" id="187" /> +<P2 x="671" y="354" id="216" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tarchi b/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tarchi deleted file mode 100644 index 1f19e9f72b29436557bcf036144bff738c3b4a4a..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tmap b/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tmap deleted file mode 100644 index 8bb9ccc472b332b0f3bd8cd5c946deb1bd57472b..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "rtnbmt.tml" -ENDTMLSPEC - -TMLARCHI - #include "rtnbmt.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 ApplicationSimple__Src - SET ApplicationSimple__Src priority 0 - MAP CPU0 ApplicationSimple__T2 - SET ApplicationSimple__T2 priority 0 - MAP CPU0 ApplicationSimple__T1 - SET ApplicationSimple__T1 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tml b/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tml deleted file mode 100644 index a76152c8a4c47d4db9bf06b5d03bdb2b3e15b9f6..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.tml +++ /dev/null @@ -1,56 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.xml -// Generated: Wed Apr 21 11:31:47 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL ApplicationSimple__chToT1 BRBW 4 500 OUT ApplicationSimple__Src IN ApplicationSimple__T1 -VCCHANNEL ApplicationSimple__chToT1 0 -CHANNEL ApplicationSimple__chToT2 BRBW 4 8 OUT ApplicationSimple__T1 IN ApplicationSimple__T2 -VCCHANNEL ApplicationSimple__chToT2 0 - -// Events -EVENT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1(int) NIB 2 ApplicationSimple__Src ApplicationSimple__T1 -EVENT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2(int) NIB 2 ApplicationSimple__T1 ApplicationSimple__T2 - -// Requests - -TASK ApplicationSimple__Src - TASKOP - //Local variables - int size = 1 - - //Behavior - NOTIFY ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - WRITE ApplicationSimple__chToT1 size -ENDTASK - -TASK ApplicationSimple__T1 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - READ ApplicationSimple__chToT1 size - EXECI size - DELAY 10 ns isActiveDelay false - NOTIFY ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - WRITE ApplicationSimple__chToT2 size -ENDTASK - -TASK ApplicationSimple__T2 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - READ ApplicationSimple__chToT2 size - FOR( ; ; ) - DELAY 10 ns isActiveDelay false - EXECI size - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.xml b/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.xml new file mode 100644 index 0000000000000000000000000000000000000000..1788b4cc7e4afb8f37deec7c3c46feb4ab81ed47 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/rtnbmt.xml @@ -0,0 +1,845 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="335" y="300" id="5" /> +<P2 x="414" y="300" 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="335" y="237" id="7" /> +<P2 x="414" y="236" 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="590" y="305" id="18" /> +<P2 x="670" y="302" 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="590" y="241" id="20" /> +<P2 x="670" y="238" 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="ns" Operation="" /> +<Attribute access="2" id="size" value="1" 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="1026" id="95" > +<cdparam x="415" y="278" /> +<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="93" /> +<TGConnectingPoint num="1" id="94" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="92" > +<father id="95" num="0" /> +<cdparam x="430" y="298" /> +<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="1030" id="98" > +<cdparam x="371" y="224" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="96" /> +<TGConnectingPoint num="1" id="97" /> +</COMPONENT> + +<COMPONENT type="1001" id="100" > +<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="99" /> +</COMPONENT> + +<COMPONENT type="1013" id="104" > +<cdparam x="419" y="333" /> +<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="102" /> +<TGConnectingPoint num="1" id="103" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="101" > +<father id="104" num="0" /> +<cdparam x="434" y="353" /> +<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="107" > +<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="chToT2(size) " /> +<TGConnectingPoint num="0" id="105" /> +<TGConnectingPoint num="1" id="106" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="110" > +<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="evtToT2(size) " /> +<TGConnectingPoint num="0" id="108" /> +<TGConnectingPoint num="1" id="109" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="112" > +<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="111" /> +</COMPONENT> + +<CONNECTOR type="115" id="113" > +<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="424" y="368" id="103" /> +<P2 x="422" y="438" id="99" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="114" > +<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="111" /> +<P2 x="422" y="111" id="108" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="115" > +<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="109" /> +<P2 x="422" y="157" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="116" > +<cdparam x="422" y="187" /> +<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="106" /> +<P2 x="417" y="219" id="96" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="117" > +<cdparam x="463" y="238" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="463" y="238" id="97" /> +<P2 x="420" y="273" id="93" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="118" > +<cdparam x="420" y="313" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="420" y="313" id="94" /> +<P2 x="424" y="328" id="102" /> +<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="1100" id="170" > +<cdparam x="99" y="61" /> +<sizeparam width="325" height="244" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="146" /> +<TGConnectingPoint num="1" id="147" /> +<TGConnectingPoint num="2" id="148" /> +<TGConnectingPoint num="3" id="149" /> +<TGConnectingPoint num="4" id="150" /> +<TGConnectingPoint num="5" id="151" /> +<TGConnectingPoint num="6" id="152" /> +<TGConnectingPoint num="7" id="153" /> +<TGConnectingPoint num="8" id="154" /> +<TGConnectingPoint num="9" id="155" /> +<TGConnectingPoint num="10" id="156" /> +<TGConnectingPoint num="11" id="157" /> +<TGConnectingPoint num="12" id="158" /> +<TGConnectingPoint num="13" id="159" /> +<TGConnectingPoint num="14" id="160" /> +<TGConnectingPoint num="15" id="161" /> +<TGConnectingPoint num="16" id="162" /> +<TGConnectingPoint num="17" id="163" /> +<TGConnectingPoint num="18" id="164" /> +<TGConnectingPoint num="19" id="165" /> +<TGConnectingPoint num="20" id="166" /> +<TGConnectingPoint num="21" id="167" /> +<TGConnectingPoint num="22" id="168" /> +<TGConnectingPoint num="23" id="169" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<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="127" > +<father id="170" num="0" /> +<cdparam x="165" y="234" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="157" minY="0" maxY="204" /> +<infoparam name="TGComponent" value="ApplicationSimple::T1" /> +<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" /> +<extraparam> +<info value="ApplicationSimple::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="136" > +<father id="170" num="1" /> +<cdparam x="157" y="172" /> +<sizeparam width="168" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="157" minY="0" maxY="204" /> +<infoparam name="TGComponent" value="ApplicationSimple::T2" /> +<TGConnectingPoint num="0" id="128" /> +<TGConnectingPoint num="1" id="129" /> +<TGConnectingPoint num="2" id="130" /> +<TGConnectingPoint num="3" id="131" /> +<TGConnectingPoint num="4" id="132" /> +<TGConnectingPoint num="5" id="133" /> +<TGConnectingPoint num="6" id="134" /> +<TGConnectingPoint num="7" id="135" /> +<extraparam> +<info value="ApplicationSimple::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="145" > +<father id="170" num="2" /> +<cdparam x="163" y="105" /> +<sizeparam width="173" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="152" minY="0" maxY="204" /> +<infoparam name="TGComponent" value="ApplicationSimple::Src" /> +<TGConnectingPoint num="0" id="137" /> +<TGConnectingPoint num="1" id="138" /> +<TGConnectingPoint num="2" id="139" /> +<TGConnectingPoint num="3" id="140" /> +<TGConnectingPoint num="4" id="141" /> +<TGConnectingPoint num="5" id="142" /> +<TGConnectingPoint num="6" id="143" /> +<TGConnectingPoint num="7" id="144" /> +<extraparam> +<info value="ApplicationSimple::Src" taskName="Src" referenceTaskName="ApplicationSimple" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1105" id="195" > +<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="171" /> +<TGConnectingPoint num="1" id="172" /> +<TGConnectingPoint num="2" id="173" /> +<TGConnectingPoint num="3" id="174" /> +<TGConnectingPoint num="4" id="175" /> +<TGConnectingPoint num="5" id="176" /> +<TGConnectingPoint num="6" id="177" /> +<TGConnectingPoint num="7" id="178" /> +<TGConnectingPoint num="8" id="179" /> +<TGConnectingPoint num="9" id="180" /> +<TGConnectingPoint num="10" id="181" /> +<TGConnectingPoint num="11" id="182" /> +<TGConnectingPoint num="12" id="183" /> +<TGConnectingPoint num="13" id="184" /> +<TGConnectingPoint num="14" id="185" /> +<TGConnectingPoint num="15" id="186" /> +<TGConnectingPoint num="16" id="187" /> +<TGConnectingPoint num="17" id="188" /> +<TGConnectingPoint num="18" id="189" /> +<TGConnectingPoint num="19" id="190" /> +<TGConnectingPoint num="20" id="191" /> +<TGConnectingPoint num="21" id="192" /> +<TGConnectingPoint num="22" id="193" /> +<TGConnectingPoint num="23" id="194" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="220" > +<cdparam x="503" y="320" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="196" /> +<TGConnectingPoint num="1" id="197" /> +<TGConnectingPoint num="2" id="198" /> +<TGConnectingPoint num="3" id="199" /> +<TGConnectingPoint num="4" id="200" /> +<TGConnectingPoint num="5" id="201" /> +<TGConnectingPoint num="6" id="202" /> +<TGConnectingPoint num="7" id="203" /> +<TGConnectingPoint num="8" id="204" /> +<TGConnectingPoint num="9" id="205" /> +<TGConnectingPoint num="10" id="206" /> +<TGConnectingPoint num="11" id="207" /> +<TGConnectingPoint num="12" id="208" /> +<TGConnectingPoint num="13" id="209" /> +<TGConnectingPoint num="14" id="210" /> +<TGConnectingPoint num="15" id="211" /> +<TGConnectingPoint num="16" id="212" /> +<TGConnectingPoint num="17" id="213" /> +<TGConnectingPoint num="18" id="214" /> +<TGConnectingPoint num="19" id="215" /> +<TGConnectingPoint num="20" id="216" /> +<TGConnectingPoint num="21" id="217" /> +<TGConnectingPoint num="22" id="218" /> +<TGConnectingPoint num="23" id="219" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="125" id="221" > +<cdparam x="424" y="244" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="424" y="244" id="159" /> +<P2 x="565" y="320" id="204" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="222" > +<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="174" /> +<P2 x="753" y="345" id="200" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/ruca.tarchi b/ttool/src/test/resources/tmltranslator/simulator/ruca.tarchi deleted file mode 100644 index 8772eedede9618c020ffbf650ceebcd8daa6adb9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/ruca.tarchi +++ /dev/null @@ -1,55 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE CPU FPGA1 -SET FPGA1 nbOfCores 1 -SET FPGA1 byteDataSize 4 -SET FPGA1 pipelineSize 5 -SET FPGA1 goIdleTime 10 -SET FPGA1 maxConsecutiveIdleCycles 10 -SET FPGA1 taskSwitchingTime 20 -SET FPGA1 branchingPredictionPenalty 2 -SET FPGA1 cacheMiss 5 -SET FPGA1 schedulingPolicy 0 -SET FPGA1 sliceTime 10000 -SET FPGA1 execiTime 1 -SET FPGA1 execcTime 1 -SET FPGA1 clockDivider 1 - -NODE CPU Src -SET Src nbOfCores 1 -SET Src byteDataSize 4 -SET Src pipelineSize 5 -SET Src goIdleTime 10 -SET Src maxConsecutiveIdleCycles 10 -SET Src taskSwitchingTime 20 -SET Src branchingPredictionPenalty 2 -SET Src cacheMiss 5 -SET Src schedulingPolicy 0 -SET Src sliceTime 10000 -SET Src execiTime 1 -SET Src execcTime 1 -SET Src clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_FPGA1_to_Bus0 -SET link_FPGA1_to_Bus0 node FPGA1 -SET link_FPGA1_to_Bus0 bus Bus0 -SET link_FPGA1_to_Bus0 priority 0 -NODE LINK link_Src_to_Bus0 -SET link_Src_to_Bus0 node Src -SET link_Src_to_Bus0 bus Bus0 -SET link_Src_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/ruca.tmap b/ttool/src/test/resources/tmltranslator/simulator/ruca.tmap deleted file mode 100644 index a5cd86f9b509b5aee8dda1062c38f632008c8fe4..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/ruca.tmap +++ /dev/null @@ -1,18 +0,0 @@ -TMLSPEC - #include "ruca.tml" -ENDTMLSPEC - -TMLARCHI - #include "ruca.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA1 Application__Src - SET Application__Src priority 0 - MAP FPGA1 Application__T1 - SET Application__T1 priority 0 - MAP FPGA1 Application__T2 - SET Application__T2 priority 0 - MAP Src Application__Start - SET Application__Start priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/ruca.tml b/ttool/src/test/resources/tmltranslator/simulator/ruca.tml deleted file mode 100644 index 08625ed463d3c18314b9b9ee36a0ab725638dcd9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/ruca.tml +++ /dev/null @@ -1,56 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/ruca.xml -// Generated: Wed Apr 21 11:12:18 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL Application__chToT1 BRBW 4 500 OUT Application__Src IN Application__T1 -VCCHANNEL Application__chToT1 0 -CHANNEL Application__chToT2 BRBW 4 8 OUT Application__T1 IN Application__T2 -VCCHANNEL Application__chToT2 0 - -// Events -EVENT Application__startEvt__Application__startEvt(int) NIB 8 Application__Start Application__Src - -// Requests - -TASK Application__Src - TASKOP - //Local variables - int x - - //Behavior - WAIT Application__startEvt__Application__startEvt x - WRITE Application__chToT1 5 -ENDTASK - -TASK Application__Start - TASKOP - //Local variables - int x - - //Behavior - DELAY 10 ns isActiveDelay false - NOTIFY Application__startEvt__Application__startEvt x -ENDTASK - -TASK Application__T1 - TASKOP - //Local variables - - //Behavior - READ Application__chToT1 5 - EXECI 10 - WRITE Application__chToT2 5 -ENDTASK - -TASK Application__T2 - TASKOP - //Local variables - - //Behavior - READ Application__chToT2 5 - EXECI 20 -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/ruca.xml b/ttool/src/test/resources/tmltranslator/simulator/ruca.xml new file mode 100644 index 0000000000000000000000000000000000000000..3d8fbbd37ec81322d8c95f96e7a9e797b75fede1 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/ruca.xml @@ -0,0 +1,853 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="false" 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="Application" tabs="TML Component Task Diagram$Start$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="210" y="483" /> +<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="210" y="483" id="4" /> +<P2 x="209" y="338" id="32" /> +<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="335" y="237" id="34" /> +<P2 x="414" y="236" id="45" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="3" > +<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="590" y="241" id="47" /> +<P2 x="670" y="238" id="58" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="14" > +<cdparam x="124" y="496" /> +<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="Start" /> +<TGConnectingPoint num="0" id="6" /> +<TGConnectingPoint num="1" id="7" /> +<TGConnectingPoint num="2" id="8" /> +<TGConnectingPoint num="3" id="9" /> +<TGConnectingPoint num="4" id="10" /> +<TGConnectingPoint num="5" id="11" /> +<TGConnectingPoint num="6" id="12" /> +<TGConnectingPoint num="7" id="13" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ns" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="5" > +<father id="14" num="0" /> +<cdparam x="197" y="483" /> +<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 startEvt" /> +<TGConnectingPoint num="0" id="4" /> +<extraparam> +<Prop commName="startEvt" commType="1" origin="true" 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> + +<COMPONENT type="308" id="31" > +<cdparam x="116" y="69" /> +<sizeparam width="284" height="45" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" /> +<infoparam name="Pragma" value=" +PERIOD 10ms +" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<TGConnectingPoint num="8" id="23" /> +<TGConnectingPoint num="9" id="24" /> +<TGConnectingPoint num="10" id="25" /> +<TGConnectingPoint num="11" id="26" /> +<TGConnectingPoint num="12" id="27" /> +<TGConnectingPoint num="13" id="28" /> +<TGConnectingPoint num="14" id="29" /> +<TGConnectingPoint num="15" id="30" /> +<extraparam> +<Line value="" /> +<Line value="PERIOD 10ms" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="44" > +<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="36" /> +<TGConnectingPoint num="1" id="37" /> +<TGConnectingPoint num="2" id="38" /> +<TGConnectingPoint num="3" id="39" /> +<TGConnectingPoint num="4" id="40" /> +<TGConnectingPoint num="5" id="41" /> +<TGConnectingPoint num="6" id="42" /> +<TGConnectingPoint num="7" id="43" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ns" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="33" > +<father id="44" num="0" /> +<cdparam x="196" y="312" /> +<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 startEvt" /> +<TGConnectingPoint num="0" id="32" /> +<extraparam> +<Prop commName="startEvt" 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="35" > +<father id="44" 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="34" /> +<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="57" > +<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="49" /> +<TGConnectingPoint num="1" id="50" /> +<TGConnectingPoint num="2" id="51" /> +<TGConnectingPoint num="3" id="52" /> +<TGConnectingPoint num="4" id="53" /> +<TGConnectingPoint num="5" id="54" /> +<TGConnectingPoint num="6" id="55" /> +<TGConnectingPoint num="7" id="56" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="46" > +<father id="57" num="0" /> +<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="45" /> +<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> +<SUBCOMPONENT type="1203" id="48" > +<father id="57" 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="47" /> +<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> + +<COMPONENT type="1202" id="68" > +<cdparam x="683" y="179" /> +<sizeparam width="185" 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="60" /> +<TGConnectingPoint num="1" id="61" /> +<TGConnectingPoint num="2" id="62" /> +<TGConnectingPoint num="3" id="63" /> +<TGConnectingPoint num="4" id="64" /> +<TGConnectingPoint num="5" id="65" /> +<TGConnectingPoint num="6" id="66" /> +<TGConnectingPoint num="7" id="67" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="59" > +<father id="68" num="0" /> +<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="172" minY="-13" maxY="137" /> +<infoparam name="Primitive port" value="Channel chToT2" /> +<TGConnectingPoint num="0" id="58" /> +<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="Start" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1026" id="72" > +<cdparam x="427" y="99" /> +<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="70" /> +<TGConnectingPoint num="1" id="71" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="69" > +<father id="72" num="0" /> +<cdparam x="442" y="119" /> +<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="74" > +<cdparam x="420" y="243" /> +<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="73" /> +</COMPONENT> + +<COMPONENT type="1008" id="77" > +<cdparam x="387" y="169" /> +<sizeparam width="95" 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="startEvt(x)" /> +<TGConnectingPoint num="0" id="75" /> +<TGConnectingPoint num="1" id="76" /> +<extraparam> +<Data eventName="startEvt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="79" > +<cdparam x="400" y="50" /> +<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="78" /> +</COMPONENT> + +<CONNECTOR type="115" id="80" > +<cdparam x="432" y="134" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="432" y="134" id="71" /> +<P2 x="434" y="164" id="75" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="81" > +<cdparam x="439" y="161" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="434" y="194" id="76" /> +<P2 x="430" y="238" id="73" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="82" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="78" /> +<P2 x="432" y="94" id="70" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Src" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1010" id="85" > +<cdparam x="403" y="169" /> +<sizeparam width="99" 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="startEvt(x) " /> +<TGConnectingPoint num="0" id="83" /> +<TGConnectingPoint num="1" id="84" /> +<extraparam> +<Data eventName="startEvt" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="87" > +<cdparam x="450" y="297" /> +<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="86" /> +</COMPONENT> + +<COMPONENT type="1006" id="90" > +<cdparam x="405" y="222" /> +<sizeparam width="101" 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(5)" /> +<TGConnectingPoint num="0" id="88" /> +<TGConnectingPoint num="1" id="89" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="92" > +<cdparam x="442" y="117" /> +<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="91" /> +</COMPONENT> + +<CONNECTOR type="115" id="93" > +<cdparam x="452" y="194" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="452" y="194" id="84" /> +<P2 x="455" y="217" id="88" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="94" > +<cdparam x="460" y="171" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="449" y="137" id="91" /> +<P2 x="452" y="164" id="83" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="95" > +<cdparam x="460" y="234" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="455" y="247" id="89" /> +<P2 x="460" y="292" id="86" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1006" id="98" > +<cdparam x="372" y="303" /> +<sizeparam width="101" 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(5)" /> +<TGConnectingPoint num="0" id="96" /> +<TGConnectingPoint num="1" id="97" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="100" > +<cdparam x="412" y="368" /> +<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="99" /> +</COMPONENT> + +<COMPONENT type="1013" id="104" > +<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="102" /> +<TGConnectingPoint num="1" id="103" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="101" > +<father id="104" num="0" /> +<cdparam x="432" y="236" /> +<sizeparam width="16" 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="10" /> +</SUBCOMPONENT> + +<COMPONENT type="1009" id="107" > +<cdparam x="370" y="162" /> +<sizeparam width="105" 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(5) " /> +<TGConnectingPoint num="0" id="105" /> +<TGConnectingPoint num="1" id="106" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="109" > +<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="108" /> +</COMPONENT> + +<CONNECTOR type="115" id="110" > +<cdparam x="432" y="325" /> +<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="328" id="97" /> +<P2 x="422" y="363" id="99" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="111" > +<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="103" /> +<P2 x="422" y="298" id="96" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="112" > +<cdparam x="423" 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="108" /> +<P2 x="422" y="157" id="105" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="113" > +<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="106" /> +<P2 x="422" y="211" id="102" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1013" id="117" > +<cdparam x="348" y="280" /> +<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="115" /> +<TGConnectingPoint num="1" id="116" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="114" > +<father id="117" num="0" /> +<cdparam x="363" y="300" /> +<sizeparam width="16" 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="20" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="119" > +<cdparam x="396" y="55" /> +<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="118" /> +</COMPONENT> + +<COMPONENT type="1001" id="121" > +<cdparam x="343" y="507" /> +<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="120" /> +</COMPONENT> + +<COMPONENT type="1009" id="124" > +<cdparam x="301" y="226" /> +<sizeparam width="105" 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(5) " /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="115" id="125" > +<cdparam x="403" y="75" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="403" y="75" id="118" /> +<P2 x="353" y="221" id="122" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="126" > +<cdparam x="353" y="315" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="353" y="315" id="116" /> +<P2 x="353" y="502" id="120" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="127" > +<cdparam x="363" y="263" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="353" y="251" id="123" /> +<P2 x="353" y="275" id="115" /> +<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="1105" id="152" > +<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="128" /> +<TGConnectingPoint num="1" id="129" /> +<TGConnectingPoint num="2" id="130" /> +<TGConnectingPoint num="3" id="131" /> +<TGConnectingPoint num="4" id="132" /> +<TGConnectingPoint num="5" id="133" /> +<TGConnectingPoint num="6" id="134" /> +<TGConnectingPoint num="7" id="135" /> +<TGConnectingPoint num="8" id="136" /> +<TGConnectingPoint num="9" id="137" /> +<TGConnectingPoint num="10" id="138" /> +<TGConnectingPoint num="11" id="139" /> +<TGConnectingPoint num="12" id="140" /> +<TGConnectingPoint num="13" id="141" /> +<TGConnectingPoint num="14" id="142" /> +<TGConnectingPoint num="15" id="143" /> +<TGConnectingPoint num="16" id="144" /> +<TGConnectingPoint num="17" id="145" /> +<TGConnectingPoint num="18" id="146" /> +<TGConnectingPoint num="19" id="147" /> +<TGConnectingPoint num="20" id="148" /> +<TGConnectingPoint num="21" id="149" /> +<TGConnectingPoint num="22" id="150" /> +<TGConnectingPoint num="23" id="151" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="177" > +<cdparam x="503" y="320" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="153" /> +<TGConnectingPoint num="1" id="154" /> +<TGConnectingPoint num="2" id="155" /> +<TGConnectingPoint num="3" id="156" /> +<TGConnectingPoint num="4" id="157" /> +<TGConnectingPoint num="5" id="158" /> +<TGConnectingPoint num="6" id="159" /> +<TGConnectingPoint num="7" id="160" /> +<TGConnectingPoint num="8" id="161" /> +<TGConnectingPoint num="9" id="162" /> +<TGConnectingPoint num="10" id="163" /> +<TGConnectingPoint num="11" id="164" /> +<TGConnectingPoint num="12" id="165" /> +<TGConnectingPoint num="13" id="166" /> +<TGConnectingPoint num="14" id="167" /> +<TGConnectingPoint num="15" id="168" /> +<TGConnectingPoint num="16" id="169" /> +<TGConnectingPoint num="17" id="170" /> +<TGConnectingPoint num="18" id="171" /> +<TGConnectingPoint num="19" id="172" /> +<TGConnectingPoint num="20" id="173" /> +<TGConnectingPoint num="21" id="174" /> +<TGConnectingPoint num="22" id="175" /> +<TGConnectingPoint num="23" id="176" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="229" > +<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="FPGA1" value="name" /> +<TGConnectingPoint num="0" id="205" /> +<TGConnectingPoint num="1" id="206" /> +<TGConnectingPoint num="2" id="207" /> +<TGConnectingPoint num="3" id="208" /> +<TGConnectingPoint num="4" id="209" /> +<TGConnectingPoint num="5" id="210" /> +<TGConnectingPoint num="6" id="211" /> +<TGConnectingPoint num="7" id="212" /> +<TGConnectingPoint num="8" id="213" /> +<TGConnectingPoint num="9" id="214" /> +<TGConnectingPoint num="10" id="215" /> +<TGConnectingPoint num="11" id="216" /> +<TGConnectingPoint num="12" id="217" /> +<TGConnectingPoint num="13" id="218" /> +<TGConnectingPoint num="14" id="219" /> +<TGConnectingPoint num="15" id="220" /> +<TGConnectingPoint num="16" id="221" /> +<TGConnectingPoint num="17" id="222" /> +<TGConnectingPoint num="18" id="223" /> +<TGConnectingPoint num="19" id="224" /> +<TGConnectingPoint num="20" id="225" /> +<TGConnectingPoint num="21" id="226" /> +<TGConnectingPoint num="22" id="227" /> +<TGConnectingPoint num="23" id="228" /> +<extraparam> +<info stereotype="CPURR" nodeName="FPGA1" /> +<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="186" > +<father id="229" num="0" /> +<cdparam x="518" y="207" /> +<sizeparam width="127" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="123" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="Application::T2" /> +<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="Application::T2" taskName="T2" referenceTaskName="Application" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="195" > +<father id="229" num="1" /> +<cdparam x="518" y="154" /> +<sizeparam width="127" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="123" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="Application::T1" /> +<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" /> +<extraparam> +<info value="Application::T1" taskName="T1" referenceTaskName="Application" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="204" > +<father id="229" num="2" /> +<cdparam x="503" y="93" /> +<sizeparam width="132" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="118" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="Application::Src" /> +<TGConnectingPoint num="0" id="196" /> +<TGConnectingPoint num="1" id="197" /> +<TGConnectingPoint num="2" id="198" /> +<TGConnectingPoint num="3" id="199" /> +<TGConnectingPoint num="4" id="200" /> +<TGConnectingPoint num="5" id="201" /> +<TGConnectingPoint num="6" id="202" /> +<TGConnectingPoint num="7" id="203" /> +<extraparam> +<info value="Application::Src" taskName="Src" referenceTaskName="Application" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1100" id="263" > +<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="239" /> +<TGConnectingPoint num="1" id="240" /> +<TGConnectingPoint num="2" id="241" /> +<TGConnectingPoint num="3" id="242" /> +<TGConnectingPoint num="4" id="243" /> +<TGConnectingPoint num="5" id="244" /> +<TGConnectingPoint num="6" id="245" /> +<TGConnectingPoint num="7" id="246" /> +<TGConnectingPoint num="8" id="247" /> +<TGConnectingPoint num="9" id="248" /> +<TGConnectingPoint num="10" id="249" /> +<TGConnectingPoint num="11" id="250" /> +<TGConnectingPoint num="12" id="251" /> +<TGConnectingPoint num="13" id="252" /> +<TGConnectingPoint num="14" id="253" /> +<TGConnectingPoint num="15" id="254" /> +<TGConnectingPoint num="16" id="255" /> +<TGConnectingPoint num="17" id="256" /> +<TGConnectingPoint num="18" id="257" /> +<TGConnectingPoint num="19" id="258" /> +<TGConnectingPoint num="20" id="259" /> +<TGConnectingPoint num="21" id="260" /> +<TGConnectingPoint num="22" id="261" /> +<TGConnectingPoint num="23" id="262" /> +<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="238" > +<father id="263" num="0" /> +<cdparam x="81" y="274" /> +<sizeparam width="143" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="107" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="Application::Start" /> +<TGConnectingPoint num="0" id="230" /> +<TGConnectingPoint num="1" id="231" /> +<TGConnectingPoint num="2" id="232" /> +<TGConnectingPoint num="3" id="233" /> +<TGConnectingPoint num="4" id="234" /> +<TGConnectingPoint num="5" id="235" /> +<TGConnectingPoint num="6" id="236" /> +<TGConnectingPoint num="7" id="237" /> +<extraparam> +<info value="Application::Start" taskName="Start" referenceTaskName="Application" priority="0" operationMEC="Start" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="264" > +<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="131" /> +<P2 x="753" y="345" id="157" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="265" > +<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="211" /> +<P2 x="628" y="320" id="154" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="266" > +<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="243" /> +<P2 x="503" y="332" id="163" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/signal.tarchi b/ttool/src/test/resources/tmltranslator/simulator/signal.tarchi deleted file mode 100644 index 4df9db045374a617ef19f178a4cbfc799832b20e..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/signal.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/signal.tmap b/ttool/src/test/resources/tmltranslator/simulator/signal.tmap deleted file mode 100644 index c9b8f72090480263f4dc0bf9cc6b8f2930cb2ca1..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/signal.tmap +++ /dev/null @@ -1,14 +0,0 @@ -TMLSPEC - #include "signal.tml" -ENDTMLSPEC - -TMLARCHI - #include "signal.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 Application__Function1 - SET Application__Function1 priority 0 - MAP CPU0 Application__Function2 - SET Application__Function2 priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/signal.tml b/ttool/src/test/resources/tmltranslator/simulator/signal.tml deleted file mode 100644 index 2348f78a13ff4a9e557ed8a22eb14bd41aa4377e..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/signal.tml +++ /dev/null @@ -1,37 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/signal.xml -// Generated: Thu Apr 22 15:02:18 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT Application__evt1to2__Application__evt1to2(int) NIB 8 Application__Function1 Application__Function2 - -// Requests - -TASK Application__Function1 - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - DELAY 5 ns isActiveDelay false - EXECI 5 - ENDFOR -ENDTASK - -TASK Application__Function2 - DAEMON - TASKOP - //Local variables - int x - - //Behavior - FOR( ; ; ) - WAIT Application__evt1to2__Application__evt1to2 x - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/signal.xml b/ttool/src/test/resources/tmltranslator/simulator/signal.xml new file mode 100644 index 0000000000000000000000000000000000000000..42ca6c872588dbb8ca100b352bb7f60b612287f1 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/signal.xml @@ -0,0 +1,472 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="Application" tabs="TML Component Task Diagram$Function1$Function2" > +<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="442" y="252" /> +<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="408" y="239" id="13" /> +<P2 x="639" y="239" id="2" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="652" y="157" /> +<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="Function2" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="true" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="639" y="226" /> +<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 evt1to2" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt1to2" 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> + +<COMPONENT type="1202" id="23" > +<cdparam x="195" y="171" /> +<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="Function1" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="382" y="226" /> +<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 evt1to2" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt1to2" commType="1" origin="true" 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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Function1" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1013" id="27" > +<cdparam x="414" y="238" /> +<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="25" /> +<TGConnectingPoint num="1" id="26" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="24" > +<father id="27" num="0" /> +<cdparam x="429" y="258" /> +<sizeparam width="8" 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="5" /> +</SUBCOMPONENT> + +<COMPONENT type="1026" id="31" > +<cdparam x="409" y="133" /> +<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="29" /> +<TGConnectingPoint num="1" id="30" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="28" > +<father id="31" num="0" /> +<cdparam x="424" y="153" /> +<sizeparam width="28" 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="5 ns" /> +<extraparam> +<TimeDelay minDelay="5" maxDelay="nope" hasMaxDelay="false" isActiveDelay="false" unit="ns" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1001" id="33" > +<cdparam x="347" y="138" /> +<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="32" /> +</COMPONENT> + +<COMPONENT type="1020" id="37" > +<cdparam x="302" y="102" /> +<sizeparam width="90" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="34" /> +<TGConnectingPoint num="1" id="35" /> +<TGConnectingPoint num="2" id="36" /> +</COMPONENT> + +<COMPONENT type="1001" id="39" > +<cdparam x="408" y="340" /> +<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="38" /> +</COMPONENT> + +<COMPONENT type="1000" id="41" > +<cdparam x="400" y="50" /> +<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="40" /> +</COMPONENT> + +<CONNECTOR type="115" id="42" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="40" /> +<P2 x="347" y="97" id="34" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="43" > +<cdparam x="347" y="127" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="347" y="127" id="36" /> +<P2 x="357" y="133" id="32" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="44" > +<cdparam x="396" y="116" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="392" y="116" id="35" /> +<P2 x="414" y="128" id="29" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="45" > +<cdparam x="414" y="168" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="414" y="168" id="30" /> +<P2 x="419" y="233" id="25" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="46" > +<cdparam x="419" y="273" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="419" y="273" id="26" /> +<P2 x="418" y="335" id="38" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Function2" minX="10" maxX="2500" minY="10" maxY="1500" > +<COMPONENT type="1001" id="48" > +<cdparam x="538" y="185" /> +<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="47" /> +</COMPONENT> + +<COMPONENT type="1010" id="51" > +<cdparam x="504" y="120" /> +<sizeparam width="78" 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="evt1to2(x) " /> +<TGConnectingPoint num="0" id="49" /> +<TGConnectingPoint num="1" id="50" /> +<extraparam> +<Data eventName="evt1to2" nbOfParams="5" /> +<Param index="0" value="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1030" id="54" > +<cdparam x="408" y="83" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="52" /> +<TGConnectingPoint num="1" id="53" /> +</COMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="407" y="65" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="65" id="55" /> +<P2 x="454" y="78" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="500" y="97" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="500" y="97" id="53" /> +<P2 x="543" y="115" id="49" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="543" y="145" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="543" y="145" id="50" /> +<P2 x="548" y="180" id="47" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" > +<COMPONENT type="1105" id="84" > +<cdparam x="700" y="126" /> +<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="60" /> +<TGConnectingPoint num="1" id="61" /> +<TGConnectingPoint num="2" id="62" /> +<TGConnectingPoint num="3" id="63" /> +<TGConnectingPoint num="4" id="64" /> +<TGConnectingPoint num="5" id="65" /> +<TGConnectingPoint num="6" id="66" /> +<TGConnectingPoint num="7" id="67" /> +<TGConnectingPoint num="8" id="68" /> +<TGConnectingPoint num="9" id="69" /> +<TGConnectingPoint num="10" id="70" /> +<TGConnectingPoint num="11" id="71" /> +<TGConnectingPoint num="12" id="72" /> +<TGConnectingPoint num="13" id="73" /> +<TGConnectingPoint num="14" id="74" /> +<TGConnectingPoint num="15" id="75" /> +<TGConnectingPoint num="16" id="76" /> +<TGConnectingPoint num="17" id="77" /> +<TGConnectingPoint num="18" id="78" /> +<TGConnectingPoint num="19" id="79" /> +<TGConnectingPoint num="20" id="80" /> +<TGConnectingPoint num="21" id="81" /> +<TGConnectingPoint num="22" id="82" /> +<TGConnectingPoint num="23" id="83" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="109" > +<cdparam x="462" y="405" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="85" /> +<TGConnectingPoint num="1" id="86" /> +<TGConnectingPoint num="2" id="87" /> +<TGConnectingPoint num="3" id="88" /> +<TGConnectingPoint num="4" id="89" /> +<TGConnectingPoint num="5" id="90" /> +<TGConnectingPoint num="6" id="91" /> +<TGConnectingPoint num="7" id="92" /> +<TGConnectingPoint num="8" id="93" /> +<TGConnectingPoint num="9" id="94" /> +<TGConnectingPoint num="10" id="95" /> +<TGConnectingPoint num="11" id="96" /> +<TGConnectingPoint num="12" id="97" /> +<TGConnectingPoint num="13" id="98" /> +<TGConnectingPoint num="14" id="99" /> +<TGConnectingPoint num="15" id="100" /> +<TGConnectingPoint num="16" id="101" /> +<TGConnectingPoint num="17" id="102" /> +<TGConnectingPoint num="18" id="103" /> +<TGConnectingPoint num="19" id="104" /> +<TGConnectingPoint num="20" id="105" /> +<TGConnectingPoint num="21" id="106" /> +<TGConnectingPoint num="22" id="107" /> +<TGConnectingPoint num="23" id="108" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="152" > +<cdparam x="258" y="119" /> +<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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="128" /> +<TGConnectingPoint num="1" id="129" /> +<TGConnectingPoint num="2" id="130" /> +<TGConnectingPoint num="3" id="131" /> +<TGConnectingPoint num="4" id="132" /> +<TGConnectingPoint num="5" id="133" /> +<TGConnectingPoint num="6" id="134" /> +<TGConnectingPoint num="7" id="135" /> +<TGConnectingPoint num="8" id="136" /> +<TGConnectingPoint num="9" id="137" /> +<TGConnectingPoint num="10" id="138" /> +<TGConnectingPoint num="11" id="139" /> +<TGConnectingPoint num="12" id="140" /> +<TGConnectingPoint num="13" id="141" /> +<TGConnectingPoint num="14" id="142" /> +<TGConnectingPoint num="15" id="143" /> +<TGConnectingPoint num="16" id="144" /> +<TGConnectingPoint num="17" id="145" /> +<TGConnectingPoint num="18" id="146" /> +<TGConnectingPoint num="19" id="147" /> +<TGConnectingPoint num="20" id="148" /> +<TGConnectingPoint num="21" id="149" /> +<TGConnectingPoint num="22" id="150" /> +<TGConnectingPoint num="23" id="151" /> +<extraparam> +<info stereotype="CPU" nodeName="CPU0" /> +<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="118" > +<father id="152" num="0" /> +<cdparam x="313" y="211" /> +<sizeparam width="174" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="76" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="Application::Function2" /> +<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 value="Application::Function2" taskName="Function2" referenceTaskName="Application" priority="0" operationMEC="Function2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="127" > +<father id="152" num="1" /> +<cdparam x="283" y="165" /> +<sizeparam width="174" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="76" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="Application::Function1" /> +<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" /> +<extraparam> +<info value="Application::Function1" taskName="Function1" referenceTaskName="Application" priority="0" operationMEC="Function2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="153" > +<cdparam x="700" y="326" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="700" y="326" id="65" /> +<P2 x="649" y="405" id="94" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="154" > +<cdparam x="445" y="319" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="445" y="319" id="143" /> +<P2 x="524" y="405" id="93" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tarchi b/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tarchi deleted file mode 100644 index a48ebbd0181a05d4ebf6c04df6ec7f7f17dd2bb9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tarchi +++ /dev/null @@ -1,61 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 5 - -NODE CPU CPU1 -SET CPU1 nbOfCores 1 -SET CPU1 byteDataSize 4 -SET CPU1 pipelineSize 5 -SET CPU1 goIdleTime 10 -SET CPU1 maxConsecutiveIdleCycles 10 -SET CPU1 taskSwitchingTime 20 -SET CPU1 branchingPredictionPenalty 2 -SET CPU1 cacheMiss 5 -SET CPU1 schedulingPolicy 0 -SET CPU1 sliceTime 10000 -SET CPU1 execiTime 1 -SET CPU1 execcTime 1 -SET CPU1 clockDivider 2 - -NODE HWA HWA0 -SET HWA0 byteDataSize 4 -SET HWA0 execiTime 1 -SET HWA0 execcTime 1 -SET HWA0 clockDivider 1 - -NODE FPGA FPGA0 -SET FPGA0 capacity 100 -SET FPGA0 byteDataSize 4 -SET FPGA0 mappingPenalty 0 -SET FPGA0 goIdleTime 10 -SET FPGA0 maxConsecutiveIdleCycles 10 -SET FPGA0 reconfigurationTime 50 -SET FPGA0 execiTime 1 -SET FPGA0 execcTime 1 -SET FPGA0 clockDivider 1 - -NODE LINK link_HWA0_to_Bus0 -SET link_HWA0_to_Bus0 node HWA0 -SET link_HWA0_to_Bus0 bus Bus0 -SET link_HWA0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_CPU1_to_Bus0 -SET link_CPU1_to_Bus0 node CPU1 -SET link_CPU1_to_Bus0 bus Bus0 -SET link_CPU1_to_Bus0 priority 0 -NODE LINK link_FPGA0_to_Bus0 -SET link_FPGA0_to_Bus0 node FPGA0 -SET link_FPGA0_to_Bus0 bus Bus0 -SET link_FPGA0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tmap b/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tmap deleted file mode 100644 index f2ee8efe80bf3c10d980a75842b04dbd8a1767c6..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tmap +++ /dev/null @@ -1,20 +0,0 @@ -TMLSPEC - #include "terminatedTest.tml" -ENDTMLSPEC - -TMLARCHI - #include "terminatedTest.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU1 AppC__InterfaceDevice - SET AppC__InterfaceDevice priority 0 - MAP HWA0 AppC__Timer - SET AppC__Timer priority 0 - MAP FPGA0 AppC__Application - SET AppC__Application priority 0 - MAP FPGA0 AppC__SmartCard - SET AppC__SmartCard priority 0 - MAP FPGA0 AppC__TCPIP - SET AppC__TCPIP priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tml b/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tml deleted file mode 100644 index 75a2ebceec2df098deb5e9bd39906d62856ba470..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.tml +++ /dev/null @@ -1,332 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.xml -// Generated: Mon Apr 19 18:22:23 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL AppC__fromAtoT BRNBW 4 OUT AppC__Application IN AppC__TCPIP -CHANNEL AppC__fromDtoSC BRNBW 40 OUT AppC__InterfaceDevice IN AppC__SmartCard -CHANNEL AppC__fromPtoT BRNBW 4 OUT AppC__SmartCard IN AppC__TCPIP -CHANNEL AppC__fromSCtoD BRNBW 40 OUT AppC__SmartCard IN AppC__InterfaceDevice -CHANNEL AppC__fromTtoA BRNBW 4 OUT AppC__TCPIP IN AppC__Application -CHANNEL AppC__fromTtoP BRNBW 4 OUT AppC__TCPIP IN AppC__SmartCard -CHANNEL AppC__temp NBRNBW 4 OUT AppC__TCPIP IN AppC__TCPIP - -// Events -EVENT AppC__abort__AppC__abort() NINB 1 AppC__Application AppC__TCPIP -EVENT AppC__answerToReset__AppC__answerToReset() NINB 1 AppC__SmartCard AppC__InterfaceDevice -EVENT AppC__close__AppC__close() NINB 1 AppC__Application AppC__TCPIP -EVENT AppC__connectionOpened__AppC__connectionOpened() NIB 8 AppC__Application AppC__SmartCard -EVENT AppC__data_Ready_SC__AppC__data_Ready_SC() INF AppC__SmartCard AppC__InterfaceDevice -EVENT AppC__data_Ready__AppC__data_Ready(int, bool) INF AppC__InterfaceDevice AppC__SmartCard -EVENT AppC__end__AppC__end() NINB 1 AppC__InterfaceDevice AppC__SmartCard -EVENT AppC__open__AppC__open() NINB 1 AppC__Application AppC__TCPIP -EVENT AppC__opened__AppC__opened() INF AppC__TCPIP AppC__Application -EVENT AppC__pTSConfirm__AppC__pTSConfirm() NINB 1 AppC__SmartCard AppC__InterfaceDevice -EVENT AppC__pTS__AppC__pTS() NINB 1 AppC__InterfaceDevice AppC__SmartCard -EVENT AppC__receive_Application__AppC__receive_Application() INF AppC__TCPIP AppC__Application -EVENT AppC__receive__AppC__receive() INF AppC__SmartCard AppC__TCPIP -EVENT AppC__reset__AppC__reset() NINB 1 AppC__InterfaceDevice AppC__SmartCard -EVENT AppC__send_TCP__AppC__send_TCP() INF AppC__Application AppC__TCPIP -EVENT AppC__send__AppC__send() INF AppC__TCPIP AppC__SmartCard -EVENT AppC__stop__AppC__stop() NINB 1 AppC__TCPIP AppC__Timer -EVENT AppC__timeOut__AppC__timeOut() NINB 1 AppC__Timer AppC__TCPIP - -// Requests -REQUEST AppC__activation() AppC__InterfaceDevice AppC__SmartCard -REQUEST AppC__req_Timer() AppC__TCPIP AppC__Timer -REQUEST AppC__start_Application() AppC__SmartCard AppC__Application -REQUEST AppC__start_TCP_IP() AppC__Application AppC__SmartCard AppC__TCPIP - -TASK AppC__Application - TASKOP - //Local variables - - //Behavior - NOTIFY AppC__open__AppC__open - WAIT AppC__opened__AppC__opened - NOTIFY AppC__connectionOpened__AppC__connectionOpened - EXECI 10 - WRITE AppC__fromAtoT 1 - NOTIFY AppC__send_TCP__AppC__send_TCP - RAND - CASERAND 50 - NOTIFY AppC__close__AppC__close - ENDCASERAND - CASERAND 50 - NOTIFY AppC__abort__AppC__abort - ENDCASERAND - ENDRAND -ENDTASK - -TASK AppC__InterfaceDevice - TASKOP - //Local variables - int resetType = 0 - int x = 0 - int i = 0 - int nbOfComputedPackets = 1 - bool b - - //Behavior - NOTIFYREQUEST AppC__activation - NOTIFY AppC__reset__AppC__reset - WAIT AppC__answerToReset__AppC__answerToReset - NOTIFY AppC__pTS__AppC__pTS - WAIT AppC__pTSConfirm__AppC__pTSConfirm - FOR(i=0; i<nbOfComputedPackets; i = i +1) - RAND - CASERAND 50 - WRITE AppC__fromDtoSC 1 - NOTIFY AppC__data_Ready__AppC__data_Ready x b - ENDCASERAND - CASERAND 50 - NOTIFIED AppC__data_Ready_SC__AppC__data_Ready_SC x - IF (x==0) - ORIF (x>0) - WAIT AppC__data_Ready_SC__AppC__data_Ready_SC - READ AppC__fromSCtoD 1 - ENDIF - ENDCASERAND - ENDRAND - ENDFOR - NOTIFY AppC__end__AppC__end -ENDTASK - -TASK AppC__SmartCard - TASKOP - //Local variables - int resetType = 0 - int a = 0 - bool b - int i = 0 - int j = 0 - int x = 0 - int tcpctrl__a - int tcpctrl__state - int t - - //Behavior - WAIT AppC__reset__AppC__reset - NOTIFY AppC__answerToReset__AppC__answerToReset - WAIT AppC__pTS__AppC__pTS - NOTIFY AppC__pTSConfirm__AppC__pTSConfirm - NOTIFYREQUEST AppC__start_TCP_IP - NOTIFYREQUEST AppC__start_Application - WAIT AppC__connectionOpened__AppC__connectionOpened - FOR(j=0; x==0; j = j) - SELECTEVT - CASE AppC__send__AppC__send - READ AppC__fromTtoP 1 - NOTIFY AppC__data_Ready_SC__AppC__data_Ready_SC - WRITE AppC__fromSCtoD 1 - ENDCASE - CASE AppC__data_Ready__AppC__data_Ready t b - READ AppC__fromDtoSC 1 - NOTIFY AppC__receive__AppC__receive - WRITE AppC__fromPtoT 1 - ENDCASE - CASE AppC__end__AppC__end - ENDCASE - ENDSELECTEVT - ENDFOR -ENDTASK - -TASK AppC__TCPIP - TASKOP - //Local variables - int wind = 64 - int seqNum = 0 - int i - int j - int a = 0 - int b = 0 - int tcpctrl__a - int tcpctrl__state - - //Behavior - FOR(i=0; (tcpctrl__a==0); i = i) - NOTIFIED AppC__abort__AppC__abort tcpctrl__a - IF (tcpctrl__a>0) - WAIT AppC__abort__AppC__abort - ORIF (tcpctrl__a==0) - SELECTEVT - CASE AppC__timeOut__AppC__timeOut - READ AppC__temp 1 - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - ENDCASE - CASE AppC__receive__AppC__receive - READ AppC__fromPtoT 1 - EXECI b b - RAND - CASERAND 33 - RAND - CASERAND 33 - NOTIFY AppC__stop__AppC__stop - READ AppC__temp 1 - RAND - CASERAND 50 - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - WRITE AppC__temp 1 - ENDCASERAND - CASERAND 50 - IF (tcpctrl__state==2) - tcpctrl__state=4 - ORIF (tcpctrl__state==4) - ELSE - IF (tcpctrl__state==5) - tcpctrl__state=6 - ORIF (tcpctrl__state==7) - tcpctrl__state=8 - tcpctrl__state=0 - ELSE - IF (tcpctrl__state==10) - tcpctrl__state=0 - ELSE - ENDIF - ENDIF - ENDIF - ENDCASERAND - ENDRAND - ENDCASERAND - CASERAND 33 - IF (tcpctrl__state==4) - EXECI b - WRITE AppC__fromTtoA 1 - NOTIFY AppC__receive_Application__AppC__receive_Application - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - ELSE - ENDIF - ENDCASERAND - CASERAND 33 - IF (tcpctrl__state==1) - EXECI b - seqNum=seqNum+wind - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - NOTIFYREQUEST AppC__req_Timer - WRITE AppC__temp 1 - tcpctrl__state=2 - ORIF (tcpctrl__state==3) - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=2 - ELSE - ENDIF - ENDCASERAND - ENDRAND - ENDCASERAND - CASERAND 33 - IF (tcpctrl__state==0) - tcpctrl__state=1 - ORIF (tcpctrl__state==0) - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=3 - ELSE - ENDIF - ENDCASERAND - CASERAND 33 - IF (tcpctrl__state==5) - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=7 - ORIF (tcpctrl__state==4) - EXECI b - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=9 - ELSE - IF (tcpctrl__state==6) - EXECI b - WRITE AppC__fromTtoP 1 - tcpctrl__state=8 - NOTIFY AppC__send__AppC__send - tcpctrl__state=0 - ELSE - ENDIF - ENDIF - ENDCASERAND - ENDRAND - ENDCASE - CASE AppC__close__AppC__close - IF ((tcpctrl__state==2)or(tcpctrl__state==4)) - EXECI b - seqNum=seqNum+wind - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=5 - NOTIFYREQUEST AppC__req_Timer - WRITE AppC__temp 1 - ORIF (tcpctrl__state==9) - EXECI b - seqNum=seqNum+wind - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=10 - NOTIFYREQUEST AppC__req_Timer - WRITE AppC__temp 1 - ELSE - IF (tcpctrl__state==1) - tcpctrl__state=0 - ELSE - ENDIF - ENDIF - ENDCASE - CASE AppC__send_TCP__AppC__send_TCP - IF (tcpctrl__state==4) - READ AppC__fromAtoT 1 - EXECI b - seqNum=seqNum+wind - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - NOTIFYREQUEST AppC__req_Timer - WRITE AppC__temp 1 - ORIF (tcpctrl__state==1) - EXECI b - seqNum=seqNum+wind - WRITE AppC__fromTtoP 1 - NOTIFY AppC__send__AppC__send - tcpctrl__state=3 - NOTIFYREQUEST AppC__req_Timer - WRITE AppC__temp 1 - ELSE - ENDIF - ENDCASE - CASE AppC__open__AppC__open - NOTIFY AppC__opened__AppC__opened - IF (tcpctrl__state==0) - tcpctrl__state=1 - ELSE - ENDIF - ENDCASE - ENDSELECTEVT - ENDIF - ENDFOR - tcpctrl__state=0 -ENDTASK - -TASK AppC__Timer - TASKOP - //Local variables - int x = 0 - - //Behavior - NOTIFIED AppC__stop__AppC__stop x - IF (x==0) - NOTIFY AppC__timeOut__AppC__timeOut - ORIF (x>0) - WAIT AppC__stop__AppC__stop - ENDIF -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.xml b/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.xml new file mode 100644 index 0000000000000000000000000000000000000000..a6ec6aa7d9433c3ae898b09b7d1d9bd33e4b2469 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/terminatedTest.xml @@ -0,0 +1,6923 @@ +<?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="AppC" tabs="TML Component Task Diagram$Application$TCPIP$Timer$InterfaceDevice$SmartCard" > +<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="2724" minY="0" maxY="916" channels="true" events="true" requests="true" zoom="1.0000000000000018" > +<CONNECTOR type="126" id="1" > +<cdparam x="535" y="347" /> +<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="556" y="347" id="113" /> +<P2 x="547" y="382" id="68" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="3" > +<cdparam x="820" y="398" /> +<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="1025" y="497" id="210" /> +<P2 x="761" y="574" id="98" /> +<Point x="887" y="577" /> +<AutomaticDrawing data="true" /> +</CONNECTOR><SUBCOMPONENT type="-1" id="2" > +<father id="3" num="0" /> +<cdparam x="887" y="577" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="1744" minY="0" maxY="587" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> + +<CONNECTOR type="126" id="4" > +<cdparam x="568" y="323" /> +<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="710" y="403" id="96" /> +<P2 x="693" y="347" id="135" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="5" > +<cdparam x="522" y="390" /> +<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="521" y="382" id="63" /> +<P2 x="466" y="335" id="33" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="6" > +<cdparam x="409" y="124" /> +<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="401" y="83" id="31" /> +<P2 x="593" y="84" id="111" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="7" > +<cdparam x="656" y="426" /> +<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="816" y="552" id="92" /> +<P2 x="969" y="495" id="196" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="8" > +<cdparam x="656" y="400" /> +<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="816" y="519" id="90" /> +<P2 x="921" y="476" id="198" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="9" > +<cdparam x="602" y="327" /> +<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="751" y="406" id="82" /> +<P2 x="829" y="375" id="162" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="10" > +<cdparam x="689" y="292" /> +<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="855" y="375" id="166" /> +<P2 x="921" y="362" id="188" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="11" > +<cdparam x="656" y="377" /> +<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="816" y="491" id="86" /> +<P2 x="921" y="453" id="190" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="12" > +<cdparam x="656" y="351" /> +<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="816" y="458" id="88" /> +<P2 x="921" y="426" id="192" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="13" > +<cdparam x="741" y="296" /> +<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="921" y="397" id="194" /> +<P2 x="816" y="429" id="84" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="14" > +<cdparam x="735" y="260" /> +<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="918" y="330" id="186" /> +<P2 x="747" y="282" id="123" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="15" > +<cdparam x="641" y="230" /> +<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="747" y="248" id="125" /> +<P2 x="918" y="291" id="184" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="16" > +<cdparam x="641" y="195" /> +<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="747" y="203" id="127" /> +<P2 x="918" y="248" id="182" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="17" > +<cdparam x="740" y="353" /> +<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="829" y="375" id="161" /> +<P2 x="747" y="314" id="129" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="18" > +<cdparam x="460" y="270" /> +<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="521" y="303" id="119" /> +<P2 x="466" y="303" id="39" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="19" > +<cdparam x="387" y="129" /> +<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="464" y="126" id="43" /> +<P2 x="524" y="126" id="131" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="20" > +<cdparam x="389" y="200" /> +<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="466" y="215" id="37" /> +<P2 x="521" y="215" id="117" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="21" > +<cdparam x="460" 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="521" y="260" id="115" /> +<P2 x="466" y="260" id="35" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="22" > +<cdparam x="389" y="163" /> +<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="466" y="169" id="41" /> +<P2 x="521" y="169" id="121" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="23" > +<cdparam x="967" y="190" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" /> +<P1 x="918" y="198" id="180" /> +<P2 x="747" y="124" id="109" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="24" > +<cdparam x="1028" y="535" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" /> +<P1 x="630" y="345" id="133" /> +<P2 x="669" y="406" id="94" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="25" > +<cdparam x="1308" y="303" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" /> +<P1 x="1222" y="378" id="146" /> +<P2 x="1178" y="380" id="200" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="26" > +<cdparam x="1172" y="437" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" /> +<P1 x="1178" y="415" id="202" /> +<P2 x="1222" y="413" id="148" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="29" > +<cdparam x="1041" y="162" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" /> +<P1 x="1178" y="208" id="204" /> +<P2 x="1178" y="276" id="206" /> +<Point x="1227" y="207" /> +<Point x="1227" y="247" /> +<AutomaticDrawing data="true" /> +</CONNECTOR><SUBCOMPONENT type="-1" id="27" > +<father id="29" num="0" /> +<cdparam x="1227" y="207" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="28" > +<father id="29" num="1" /> +<cdparam x="1227" y="247" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> + +<CONNECTOR type="126" id="30" > +<cdparam x="877" y="343" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" /> +<P1 x="1178" y="454" id="208" /> +<P2 x="1222" y="441" id="150" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="53" > +<cdparam x="163" y="96" /> +<sizeparam width="290" height="276" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="2723" minY="0" maxY="915" /> +<infoparam name="TGComponent" value="InterfaceDevice" /> +<TGConnectingPoint num="0" id="45" /> +<TGConnectingPoint num="1" id="46" /> +<TGConnectingPoint num="2" id="47" /> +<TGConnectingPoint num="3" id="48" /> +<TGConnectingPoint num="4" id="49" /> +<TGConnectingPoint num="5" id="50" /> +<TGConnectingPoint num="6" id="51" /> +<TGConnectingPoint num="7" id="52" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="resetType" value="0" type="0" typeOther="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +<Attribute access="2" id="i" value="0" type="0" typeOther="" /> +<Attribute access="2" id="nbOfComputedPackets" value="1" type="0" typeOther="" /> +<Attribute access="2" id="b" value="" type="4" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="32" > +<father id="53" num="0" /> +<cdparam x="388" y="83" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" /> +<infoparam name="TGComponent" value="Event reset, pTS, end" /> +<TGConnectingPoint num="0" id="31" /> +<extraparam> +<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="34" > +<father id="53" num="1" /> +<cdparam x="440" y="322" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" /> +<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" /> +<TGConnectingPoint num="0" id="33" /> +<extraparam> +<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="36" > +<father id="53" num="2" /> +<cdparam x="440" y="247" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" /> +<infoparam name="TGComponent" value="Channel fromSCtoD" /> +<TGConnectingPoint num="0" id="35" /> +<extraparam> +<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="38" > +<father id="53" num="3" /> +<cdparam x="440" y="202" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" /> +<infoparam name="TGComponent" value="Channel fromDtoSC" /> +<TGConnectingPoint num="0" id="37" /> +<extraparam> +<Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="40" > +<father id="53" num="4" /> +<cdparam x="440" y="290" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" /> +<infoparam name="TGComponent" value="Event data_Ready_SC" /> +<TGConnectingPoint num="0" id="39" /> +<extraparam> +<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="42" > +<father id="53" num="5" /> +<cdparam x="440" y="156" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" /> +<infoparam name="TGComponent" value="Event data_Ready" /> +<TGConnectingPoint num="0" id="41" /> +<extraparam> +<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<Type type="1" typeOther="" /> +<Type type="2" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="44" > +<father id="53" num="6" /> +<cdparam x="443" y="116" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" /> +<infoparam name="TGComponent" value="Request activation" /> +<TGConnectingPoint num="0" id="43" /> +<extraparam> +<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1205" id="62" > +<cdparam x="1155" y="486" /> +<sizeparam width="205" height="105" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="2723" minY="0" maxY="915" /> +<infoparam name="Record component" value="TCP_CTRL" /> +<TGConnectingPoint num="0" id="54" /> +<TGConnectingPoint num="1" id="55" /> +<TGConnectingPoint num="2" id="56" /> +<TGConnectingPoint num="3" id="57" /> +<TGConnectingPoint num="4" id="58" /> +<TGConnectingPoint num="5" id="59" /> +<TGConnectingPoint num="6" id="60" /> +<TGConnectingPoint num="7" id="61" /> +<extraparam> +<Attribute access="2" id="a" value="" type="0" typeOther="" /> +<Attribute access="2" id="state" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1200" id="238" > +<cdparam x="534" y="93" /> +<sizeparam width="935" height="530" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="2723" minY="0" maxY="915" /> +<infoparam name="TGComponent" value="SmartCard" /> +<TGConnectingPoint num="0" id="230" /> +<TGConnectingPoint num="1" id="231" /> +<TGConnectingPoint num="2" id="232" /> +<TGConnectingPoint num="3" id="233" /> +<TGConnectingPoint num="4" id="234" /> +<TGConnectingPoint num="5" id="235" /> +<TGConnectingPoint num="6" id="236" /> +<TGConnectingPoint num="7" id="237" /> +<extraparam> +<info hiddeni="false" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1201" id="81" > +<father id="238" num="0" /> +<cdparam x="521" y="369" /> +<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" /> +<infoparam name="Composite port" value="" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<TGConnectingPoint num="2" id="65" /> +<TGConnectingPoint num="3" id="66" /> +<TGConnectingPoint num="4" id="67" /> +<TGConnectingPoint num="5" id="68" /> +<TGConnectingPoint num="6" id="69" /> +<TGConnectingPoint num="7" id="70" /> +<TGConnectingPoint num="8" id="71" /> +<TGConnectingPoint num="9" id="72" /> +<TGConnectingPoint num="10" id="73" /> +<TGConnectingPoint num="11" id="74" /> +<TGConnectingPoint num="12" id="75" /> +<TGConnectingPoint num="13" id="76" /> +<TGConnectingPoint num="14" id="77" /> +<TGConnectingPoint num="15" id="78" /> +<TGConnectingPoint num="16" id="79" /> +<TGConnectingPoint num="17" id="80" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="1202" id="108" > +<father id="238" num="1" /> +<cdparam x="565" y="416" /> +<sizeparam width="240" height="145" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" /> +<infoparam name="TGComponent" value="Application" /> +<TGConnectingPoint num="0" id="100" /> +<TGConnectingPoint num="1" id="101" /> +<TGConnectingPoint num="2" id="102" /> +<TGConnectingPoint num="3" id="103" /> +<TGConnectingPoint num="4" id="104" /> +<TGConnectingPoint num="5" id="105" /> +<TGConnectingPoint num="6" id="106" /> +<TGConnectingPoint num="7" id="107" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="83" > +<father id="108" num="0" /> +<cdparam x="741" y="406" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Request start_TCP_IP" /> +<TGConnectingPoint num="0" id="82" /> +<extraparam> +<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="85" > +<father id="108" num="1" /> +<cdparam x="795" y="419" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Channel fromTtoA" /> +<TGConnectingPoint num="0" id="84" /> +<extraparam> +<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="87" > +<father id="108" num="2" /> +<cdparam x="795" y="481" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Event send_TCP" /> +<TGConnectingPoint num="0" id="86" /> +<extraparam> +<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="89" > +<father id="108" num="3" /> +<cdparam x="795" y="448" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Event open, abort, close" /> +<TGConnectingPoint num="0" id="88" /> +<extraparam> +<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="91" > +<father id="108" num="4" /> +<cdparam x="795" y="509" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Event receive_Application" /> +<TGConnectingPoint num="0" id="90" /> +<extraparam> +<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="93" > +<father id="108" num="5" /> +<cdparam x="795" y="542" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Channel fromAtoT" /> +<TGConnectingPoint num="0" id="92" /> +<extraparam> +<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="95" > +<father id="108" num="6" /> +<cdparam x="659" y="406" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" /> +<infoparam name="TGComponent" value="Request start_Application" /> +<TGConnectingPoint num="0" id="94" /> +<extraparam> +<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="97" > +<father id="108" num="7" /> +<cdparam x="697" y="403" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" /> +<infoparam name="Primitive port" value="Event connectionOpened" /> +<TGConnectingPoint num="0" id="96" /> +<extraparam> +<Prop commName="connectionOpened" commType="1" origin="true" 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="-1" /> +<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="99" > +<father id="108" num="8" /> +<cdparam x="748" y="548" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" /> +<infoparam name="Primitive port" value="Event opened" /> +<TGConnectingPoint num="0" id="98" /> +<extraparam> +<Prop commName="opened" commType="1" 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="-1" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1202" id="145" > +<father id="238" num="2" /> +<cdparam x="534" y="97" /> +<sizeparam width="200" height="237" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" /> +<infoparam name="TGComponent" value="SmartCard" /> +<TGConnectingPoint num="0" id="137" /> +<TGConnectingPoint num="1" id="138" /> +<TGConnectingPoint num="2" id="139" /> +<TGConnectingPoint num="3" id="140" /> +<TGConnectingPoint num="4" id="141" /> +<TGConnectingPoint num="5" id="142" /> +<TGConnectingPoint num="6" id="143" /> +<TGConnectingPoint num="7" id="144" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="resetType" value="0" type="0" typeOther="" /> +<Attribute access="2" id="a" value="0" type="0" typeOther="" /> +<Attribute access="2" id="b" value="" type="4" typeOther="" /> +<Attribute access="2" id="i" value="0" type="0" typeOther="" /> +<Attribute access="2" id="j" value="0" type="0" typeOther="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" /> +<Attribute access="2" id="t" value="" type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="110" > +<father id="145" num="0" /> +<cdparam x="721" y="111" /> +<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="224" /> +<infoparam name="TGComponent" value="Event send" /> +<TGConnectingPoint num="0" id="109" /> +<extraparam> +<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="112" > +<father id="145" num="1" /> +<cdparam x="580" y="84" /> +<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="224" /> +<infoparam name="TGComponent" value="Event reset, pTS, end" /> +<TGConnectingPoint num="0" id="111" /> +<extraparam> +<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="114" > +<father id="145" num="2" /> +<cdparam x="543" y="321" /> +<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="224" /> +<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" /> +<TGConnectingPoint num="0" id="113" /> +<extraparam> +<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="116" > +<father id="145" num="3" /> +<cdparam x="521" y="247" /> +<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="224" /> +<infoparam name="TGComponent" value="Channel fromSCtoD" /> +<TGConnectingPoint num="0" id="115" /> +<extraparam> +<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="118" > +<father id="145" num="4" /> +<cdparam x="521" y="202" /> +<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="224" /> +<infoparam name="TGComponent" value="Channel fromDtoSC" /> +<TGConnectingPoint num="0" id="117" /> +<extraparam> +<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="120" > +<father id="145" num="5" /> +<cdparam x="521" y="290" /> +<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="224" /> +<infoparam name="TGComponent" value="Event data_Ready_SC" /> +<TGConnectingPoint num="0" id="119" /> +<extraparam> +<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="122" > +<father id="145" num="6" /> +<cdparam x="521" y="156" /> +<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="224" /> +<infoparam name="TGComponent" value="Event data_Ready" /> +<TGConnectingPoint num="0" id="121" /> +<extraparam> +<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<Type type="1" typeOther="" /> +<Type type="2" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="124" > +<father id="145" num="7" /> +<cdparam x="721" y="269" /> +<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="224" /> +<infoparam name="TGComponent" value="Channel fromTtoP" /> +<TGConnectingPoint num="0" id="123" /> +<extraparam> +<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="126" > +<father id="145" num="8" /> +<cdparam x="721" y="235" /> +<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="224" /> +<infoparam name="TGComponent" value="Channel fromPtoT" /> +<TGConnectingPoint num="0" id="125" /> +<extraparam> +<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="128" > +<father id="145" num="9" /> +<cdparam x="721" y="190" /> +<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="224" /> +<infoparam name="TGComponent" value="Event receive" /> +<TGConnectingPoint num="0" id="127" /> +<extraparam> +<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="130" > +<father id="145" num="10" /> +<cdparam x="721" y="301" /> +<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="224" /> +<infoparam name="TGComponent" value="Request start_TCP_IP" /> +<TGConnectingPoint num="0" id="129" /> +<extraparam> +<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="132" > +<father id="145" num="11" /> +<cdparam x="524" y="116" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" /> +<infoparam name="TGComponent" value="Request activation" /> +<TGConnectingPoint num="0" id="131" /> +<extraparam> +<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="134" > +<father id="145" num="12" /> +<cdparam x="620" y="324" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" /> +<infoparam name="TGComponent" value="Request start_Application" /> +<TGConnectingPoint num="0" id="133" /> +<extraparam> +<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="136" > +<father id="145" num="13" /> +<cdparam x="680" y="321" /> +<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="224" /> +<infoparam name="Primitive port" value="Event connectionOpened" /> +<TGConnectingPoint num="0" id="135" /> +<extraparam> +<Prop commName="connectionOpened" commType="1" 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="-1" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1200" id="229" > +<father id="238" num="3" /> +<cdparam x="842" y="133" /> +<sizeparam width="570" height="485" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" /> +<infoparam name="TGComponent" value="TCPIP Entities" /> +<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" /> +<extraparam> +<info hiddeni="false" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1202" id="160" > +<father id="229" num="0" /> +<cdparam x="1232" y="328" /> +<sizeparam width="140" height="141" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" /> +<infoparam name="TGComponent" value="Timer" /> +<TGConnectingPoint num="0" id="152" /> +<TGConnectingPoint num="1" id="153" /> +<TGConnectingPoint num="2" id="154" /> +<TGConnectingPoint num="3" id="155" /> +<TGConnectingPoint num="4" id="156" /> +<TGConnectingPoint num="5" id="157" /> +<TGConnectingPoint num="6" id="158" /> +<TGConnectingPoint num="7" id="159" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="x" value="0" type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="147" > +<father id="160" num="0" /> +<cdparam x="1222" y="368" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" /> +<infoparam name="TGComponent" value="Event timeOut" /> +<TGConnectingPoint num="0" id="146" /> +<extraparam> +<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="149" > +<father id="160" num="1" /> +<cdparam x="1222" y="403" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" /> +<infoparam name="TGComponent" value="Request req_Timer" /> +<TGConnectingPoint num="0" id="148" /> +<extraparam> +<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="151" > +<father id="160" num="2" /> +<cdparam x="1222" y="431" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" /> +<infoparam name="TGComponent" value="Event stop" /> +<TGConnectingPoint num="0" id="150" /> +<extraparam> +<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1201" id="179" > +<father id="229" num="1" /> +<cdparam x="829" y="362" /> +<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" /> +<infoparam name="Composite port" value="" /> +<TGConnectingPoint num="0" id="161" /> +<TGConnectingPoint num="1" id="162" /> +<TGConnectingPoint num="2" id="163" /> +<TGConnectingPoint num="3" id="164" /> +<TGConnectingPoint num="4" id="165" /> +<TGConnectingPoint num="5" id="166" /> +<TGConnectingPoint num="6" id="167" /> +<TGConnectingPoint num="7" id="168" /> +<TGConnectingPoint num="8" id="169" /> +<TGConnectingPoint num="9" id="170" /> +<TGConnectingPoint num="10" id="171" /> +<TGConnectingPoint num="11" id="172" /> +<TGConnectingPoint num="12" id="173" /> +<TGConnectingPoint num="13" id="174" /> +<TGConnectingPoint num="14" id="175" /> +<TGConnectingPoint num="15" id="176" /> +<TGConnectingPoint num="16" id="177" /> +<TGConnectingPoint num="17" id="178" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="1202" id="220" > +<father id="229" num="2" /> +<cdparam x="931" y="167" /> +<sizeparam width="236" height="317" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" /> +<infoparam name="TGComponent" value="TCPIP" /> +<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> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="" Operation="" /> +<Attribute access="2" id="wind" value="64" type="0" typeOther="" /> +<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" /> +<Attribute access="2" id="i" value="" type="0" typeOther="" /> +<Attribute access="2" id="j" value="" type="0" typeOther="" /> +<Attribute access="2" id="a" value="0" type="0" typeOther="" /> +<Attribute access="2" id="b" value="0" type="0" typeOther="" /> +<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1203" id="181" > +<father id="220" num="0" /> +<cdparam x="918" y="185" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" /> +<infoparam name="TGComponent" value="Event send" /> +<TGConnectingPoint num="0" id="180" /> +<extraparam> +<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="183" > +<father id="220" num="1" /> +<cdparam x="918" y="235" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" /> +<infoparam name="TGComponent" value="Event receive" /> +<TGConnectingPoint num="0" id="182" /> +<extraparam> +<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="185" > +<father id="220" num="2" /> +<cdparam x="918" y="278" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" /> +<infoparam name="TGComponent" value="Channel fromPtoT" /> +<TGConnectingPoint num="0" id="184" /> +<extraparam> +<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="187" > +<father id="220" num="3" /> +<cdparam x="918" y="317" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" /> +<infoparam name="TGComponent" value="Channel fromTtoP" /> +<TGConnectingPoint num="0" id="186" /> +<extraparam> +<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="189" > +<father id="220" num="4" /> +<cdparam x="921" y="352" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Request start_TCP_IP" /> +<TGConnectingPoint num="0" id="188" /> +<extraparam> +<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="191" > +<father id="220" num="5" /> +<cdparam x="921" y="443" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Event send_TCP" /> +<TGConnectingPoint num="0" id="190" /> +<extraparam> +<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="193" > +<father id="220" num="6" /> +<cdparam x="921" y="416" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Event open, abort, close" /> +<TGConnectingPoint num="0" id="192" /> +<extraparam> +<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="195" > +<father id="220" num="7" /> +<cdparam x="921" y="387" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Channel fromTtoA" /> +<TGConnectingPoint num="0" id="194" /> +<extraparam> +<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="197" > +<father id="220" num="8" /> +<cdparam x="959" y="474" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Channel fromAtoT" /> +<TGConnectingPoint num="0" id="196" /> +<extraparam> +<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="199" > +<father id="220" num="9" /> +<cdparam x="921" y="466" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Event receive_Application" /> +<TGConnectingPoint num="0" id="198" /> +<extraparam> +<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="201" > +<father id="220" num="10" /> +<cdparam x="1157" y="370" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Event timeOut" /> +<TGConnectingPoint num="0" id="200" /> +<extraparam> +<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="203" > +<father id="220" num="11" /> +<cdparam x="1157" y="405" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Request req_Timer" /> +<TGConnectingPoint num="0" id="202" /> +<extraparam> +<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="205" > +<father id="220" num="12" /> +<cdparam x="1157" y="198" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Channel temp" /> +<TGConnectingPoint num="0" id="204" /> +<extraparam> +<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="207" > +<father id="220" num="13" /> +<cdparam x="1157" y="266" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Channel temp" /> +<TGConnectingPoint num="0" id="206" /> +<extraparam> +<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="209" > +<father id="220" num="14" /> +<cdparam x="1157" y="444" /> +<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" /> +<infoparam name="TGComponent" value="Event stop" /> +<TGConnectingPoint num="0" id="208" /> +<extraparam> +<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" vc="-1" /> +<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="211" > +<father id="220" num="15" /> +<cdparam x="1012" y="471" /> +<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" /> +<infoparam name="Primitive port" value="Event opened" /> +<TGConnectingPoint num="0" id="210" /> +<extraparam> +<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" 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="-1" /> +<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="Application" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" > +<COMPONENT type="1013" id="242" > +<cdparam x="505" y="259" /> +<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="1400" minY="10" maxY="900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="240" /> +<TGConnectingPoint num="1" id="241" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="239" > +<father id="242" num="0" /> +<cdparam x="520" y="279" /> +<sizeparam width="16" 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="10" /> +</SUBCOMPONENT> + +<COMPONENT type="1010" id="245" > +<cdparam x="469" y="129" /> +<sizeparam width="86" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="opened() " /> +<TGConnectingPoint num="0" id="243" /> +<TGConnectingPoint num="1" id="244" /> +<extraparam> +<Data eventName="opened" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="248" > +<cdparam x="439" y="192" /> +<sizeparam width="145" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="connectionOpened()" /> +<TGConnectingPoint num="0" id="246" /> +<TGConnectingPoint num="1" id="247" /> +<extraparam> +<Data eventName="connectionOpened" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1012" id="256" > +<cdparam x="495" y="514" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="252" /> +<TGConnectingPoint num="1" id="253" /> +<TGConnectingPoint num="2" id="254" /> +<TGConnectingPoint num="3" id="255" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="249" > +<father id="256" num="0" /> +<cdparam x="470" y="524" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="250" > +<father id="256" num="1" /> +<cdparam x="530" y="524" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="251" > +<father id="256" num="2" /> +<cdparam x="515" y="559" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="258" > +<cdparam x="498" y="33" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="257" /> +</COMPONENT> + +<COMPONENT type="1008" id="261" > +<cdparam x="472" y="71" /> +<sizeparam width="67" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="open()" /> +<TGConnectingPoint num="0" id="259" /> +<TGConnectingPoint num="1" id="260" /> +<extraparam> +<Data eventName="open" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="264" > +<cdparam x="459" y="353" /> +<sizeparam width="100" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="write channel" value="fromAtoT(1)" /> +<TGConnectingPoint num="0" id="262" /> +<TGConnectingPoint num="1" id="263" /> +<extraparam> +<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="267" > +<cdparam x="461" y="399" /> +<sizeparam width="95" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="send_TCP()" /> +<TGConnectingPoint num="0" id="265" /> +<TGConnectingPoint num="1" id="266" /> +<accessibility /> +<extraparam> +<Data eventName="send_TCP" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="269" > +<cdparam x="577" y="648" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="268" /> +</COMPONENT> + +<COMPONENT type="1008" id="272" > +<cdparam x="553" y="589" /> +<sizeparam width="69" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="abort()" /> +<TGConnectingPoint num="0" id="270" /> +<TGConnectingPoint num="1" id="271" /> +<extraparam> +<Data eventName="abort" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="275" > +<cdparam x="400" y="597" /> +<sizeparam width="67" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="close()" /> +<TGConnectingPoint num="0" id="273" /> +<TGConnectingPoint num="1" id="274" /> +<extraparam> +<Data eventName="close" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="277" > +<cdparam x="423" y="646" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="276" /> +</COMPONENT> + +<CONNECTOR type="115" id="278" > +<cdparam x="510" y="294" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="510" y="294" id="241" /> +<P2 x="509" y="348" id="262" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="279" > +<cdparam x="508" y="424" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="508" y="424" id="266" /> +<P2 x="510" y="509" id="252" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="280" > +<cdparam x="512" y="154" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="512" y="154" id="244" /> +<P2 x="511" y="187" id="246" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="281" > +<cdparam x="594" y="221" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="511" y="217" id="247" /> +<P2 x="510" y="254" id="240" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="282" > +<cdparam x="506" y="36" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from start state to send event" value="null" /> +<P1 x="505" y="53" id="257" /> +<P2 x="505" y="66" id="259" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="283" > +<cdparam x="508" y="154" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to write channel" value="null" /> +<P1 x="505" y="96" id="260" /> +<P2 x="512" y="124" id="243" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="284" > +<cdparam x="509" y="397" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="509" y="378" id="263" /> +<P2 x="508" y="394" id="265" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="285" > +<cdparam x="587" y="614" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to stop state" value="null" /> +<P1 x="587" y="614" id="271" /> +<P2 x="587" y="643" id="268" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="286" > +<cdparam x="471" y="608" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to send event" value="null" /> +<P1 x="470" y="529" id="253" /> +<P2 x="433" y="592" id="273" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="287" > +<cdparam x="433" y="622" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to stop state" value="null" /> +<P1 x="433" y="622" id="274" /> +<P2 x="433" y="641" id="276" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="288" > +<cdparam x="551" y="608" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to send event" value="null" /> +<P1 x="550" y="529" id="254" /> +<P2 x="587" y="584" id="270" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" zoom="1.0" > +<COMPONENT type="1015" id="292" > +<cdparam x="1006" y="643" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="290" /> +<TGConnectingPoint num="1" id="291" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="289" > +<father id="292" num="0" /> +<cdparam x="1021" y="663" /> +<sizeparam width="35" 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 time interval" value="[b, b]" /> +<extraparam> +<Interval minDelay="b" maxDelay="b" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1008" id="295" > +<cdparam x="156" y="424" /> +<sizeparam width="68" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="opened()" /> +<TGConnectingPoint num="0" id="293" /> +<TGConnectingPoint num="1" id="294" /> +<extraparam> +<Data eventName="opened" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1012" id="303" > +<cdparam x="2086" y="1378" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="299" /> +<TGConnectingPoint num="1" id="300" /> +<TGConnectingPoint num="2" id="301" /> +<TGConnectingPoint num="3" id="302" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="296" > +<father id="303" num="0" /> +<cdparam x="2061" y="1388" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="297" > +<father id="303" num="1" /> +<cdparam x="2121" y="1388" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="298" > +<father id="303" num="2" /> +<cdparam x="2106" y="1426" /> +<sizeparam width="135" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="311" > +<cdparam x="2262" y="951" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="307" /> +<TGConnectingPoint num="1" id="308" /> +<TGConnectingPoint num="2" id="309" /> +<TGConnectingPoint num="3" id="310" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="304" > +<father id="311" num="0" /> +<cdparam x="2212" y="961" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="305" > +<father id="311" num="1" /> +<cdparam x="2301" y="975" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="306" > +<father id="311" num="2" /> +<cdparam x="2282" y="996" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ else ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="319" > +<cdparam x="1981" y="1346" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="315" /> +<TGConnectingPoint num="1" id="316" /> +<TGConnectingPoint num="2" id="317" /> +<TGConnectingPoint num="3" id="318" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="312" > +<father id="319" num="0" /> +<cdparam x="1934" y="1356" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="313" > +<father id="319" num="1" /> +<cdparam x="2016" y="1356" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="314" > +<father id="319" num="2" /> +<cdparam x="2001" y="1391" /> +<sizeparam width="131" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="327" > +<cdparam x="1811" y="1269" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="323" /> +<TGConnectingPoint num="1" id="324" /> +<TGConnectingPoint num="2" id="325" /> +<TGConnectingPoint num="3" id="326" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="320" > +<father id="327" num="0" /> +<cdparam x="1762" y="1279" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="321" > +<father id="327" num="1" /> +<cdparam x="1846" y="1279" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="322" > +<father id="327" num="2" /> +<cdparam x="1831" y="1314" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="335" > +<cdparam x="1713" y="1141" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="331" /> +<TGConnectingPoint num="1" id="332" /> +<TGConnectingPoint num="2" id="333" /> +<TGConnectingPoint num="3" id="334" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="328" > +<father id="335" num="0" /> +<cdparam x="1688" y="1151" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="329" > +<father id="335" num="1" /> +<cdparam x="1748" y="1151" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="330" > +<father id="335" num="2" /> +<cdparam x="1733" y="1186" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="339" > +<cdparam x="1524" y="1254" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="337" /> +<TGConnectingPoint num="1" id="338" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="336" > +<father id="339" num="0" /> +<cdparam x="1539" y="1274" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="343" > +<cdparam x="1524" y="1064" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="341" /> +<TGConnectingPoint num="1" id="342" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="340" > +<father id="343" num="0" /> +<cdparam x="1538" y="1088" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="351" > +<cdparam x="1592" y="1006" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="347" /> +<TGConnectingPoint num="1" id="348" /> +<TGConnectingPoint num="2" id="349" /> +<TGConnectingPoint num="3" id="350" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="344" > +<father id="351" num="0" /> +<cdparam x="1542" y="1016" /> +<sizeparam width="135" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state == 4 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="345" > +<father id="351" num="1" /> +<cdparam x="1627" y="1016" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="346" > +<father id="351" num="2" /> +<cdparam x="1612" y="1051" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="359" > +<cdparam x="1713" y="875" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="355" /> +<TGConnectingPoint num="1" id="356" /> +<TGConnectingPoint num="2" id="357" /> +<TGConnectingPoint num="3" id="358" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="352" > +<father id="359" num="0" /> +<cdparam x="1688" y="885" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="353" > +<father id="359" num="1" /> +<cdparam x="1748" y="885" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="354" > +<father id="359" num="2" /> +<cdparam x="1733" y="920" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="363" > +<cdparam x="1636" y="1235" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="361" /> +<TGConnectingPoint num="1" id="362" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="360" > +<father id="363" num="0" /> +<cdparam x="1655" y="1254" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="367" > +<cdparam x="2232" y="1059" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="365" /> +<TGConnectingPoint num="1" id="366" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="364" > +<father id="367" num="0" /> +<cdparam x="2219" y="1083" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="371" > +<cdparam x="2312" y="1024" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="369" /> +<TGConnectingPoint num="1" id="370" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="368" > +<father id="371" num="0" /> +<cdparam x="2288" y="1044" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="379" > +<cdparam x="1193" y="1020" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="375" /> +<TGConnectingPoint num="1" id="376" /> +<TGConnectingPoint num="2" id="377" /> +<TGConnectingPoint num="3" id="378" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="372" > +<father id="379" num="0" /> +<cdparam x="1168" y="1030" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="373" > +<father id="379" num="1" /> +<cdparam x="1228" y="1030" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="374" > +<father id="379" num="2" /> +<cdparam x="1213" y="1065" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="383" > +<cdparam x="1203" y="1107" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="381" /> +<TGConnectingPoint num="1" id="382" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="380" > +<father id="383" num="0" /> +<cdparam x="1218" y="1127" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="391" > +<cdparam x="557" y="712" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="387" /> +<TGConnectingPoint num="1" id="388" /> +<TGConnectingPoint num="2" id="389" /> +<TGConnectingPoint num="3" id="390" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="384" > +<father id="391" num="0" /> +<cdparam x="482" y="747" /> +<sizeparam width="131" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="385" > +<father id="391" num="1" /> +<cdparam x="592" y="722" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="386" > +<father id="391" num="2" /> +<cdparam x="577" y="757" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="395" > +<cdparam x="717" y="694" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="393" /> +<TGConnectingPoint num="1" id="394" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="392" > +<father id="395" num="0" /> +<cdparam x="732" y="714" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="399" > +<cdparam x="938" y="1025" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="397" /> +<TGConnectingPoint num="1" id="398" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="396" > +<father id="399" num="0" /> +<cdparam x="953" y="1045" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="407" > +<cdparam x="1034" y="939" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="403" /> +<TGConnectingPoint num="1" id="404" /> +<TGConnectingPoint num="2" id="405" /> +<TGConnectingPoint num="3" id="406" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="400" > +<father id="407" num="0" /> +<cdparam x="959" y="974" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="401" > +<father id="407" num="1" /> +<cdparam x="1070" y="949" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="402" > +<father id="407" num="2" /> +<cdparam x="1054" y="984" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state == 5]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="411" > +<cdparam x="795" y="1009" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="409" /> +<TGConnectingPoint num="1" id="410" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="408" > +<father id="411" num="0" /> +<cdparam x="818" y="1031" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="419" > +<cdparam x="828" y="869" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="415" /> +<TGConnectingPoint num="1" id="416" /> +<TGConnectingPoint num="2" id="417" /> +<TGConnectingPoint num="3" id="418" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="412" > +<father id="419" num="0" /> +<cdparam x="753" y="885" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="413" > +<father id="419" num="1" /> +<cdparam x="863" y="879" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="414" > +<father id="419" num="2" /> +<cdparam x="848" y="914" /> +<sizeparam width="123" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="423" > +<cdparam x="341" y="764" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="421" /> +<TGConnectingPoint num="1" id="422" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="420" > +<father id="423" num="0" /> +<cdparam x="354" y="785" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="427" > +<cdparam x="127" y="794" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="425" /> +<TGConnectingPoint num="1" id="426" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="424" > +<father id="427" num="0" /> +<cdparam x="146" y="818" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="435" > +<cdparam x="993" y="780" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="431" /> +<TGConnectingPoint num="1" id="432" /> +<TGConnectingPoint num="2" id="433" /> +<TGConnectingPoint num="3" id="434" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="428" > +<father id="435" num="0" /> +<cdparam x="949" y="793" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="429" > +<father id="435" num="1" /> +<cdparam x="1028" y="790" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="430" > +<father id="435" num="2" /> +<cdparam x="1013" y="825" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="439" > +<cdparam x="459" y="783" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="437" /> +<TGConnectingPoint num="1" id="438" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="436" > +<father id="439" num="0" /> +<cdparam x="474" y="802" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="443" > +<cdparam x="225" y="863" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="441" /> +<TGConnectingPoint num="1" id="442" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="440" > +<father id="443" num="0" /> +<cdparam x="245" y="885" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1013" id="447" > +<cdparam x="1044" y="1057" /> +<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="2900" minY="10" maxY="1900" /> +<infoparam name="execI" value="null" /> +<TGConnectingPoint num="0" id="445" /> +<TGConnectingPoint num="1" id="446" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="444" > +<father id="447" num="0" /> +<cdparam x="1059" y="1077" /> +<sizeparam width="10" 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="b" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="455" > +<cdparam x="173" y="486" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="451" /> +<TGConnectingPoint num="1" id="452" /> +<TGConnectingPoint num="2" id="453" /> +<TGConnectingPoint num="3" id="454" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="448" > +<father id="455" num="0" /> +<cdparam x="98" y="521" /> +<sizeparam width="123" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="449" > +<father id="455" num="1" /> +<cdparam x="208" y="496" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="450" > +<father id="455" num="2" /> +<cdparam x="193" y="531" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="463" > +<cdparam x="359" y="192" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="459" /> +<TGConnectingPoint num="1" id="460" /> +<TGConnectingPoint num="2" id="461" /> +<TGConnectingPoint num="3" id="462" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="456" > +<father id="463" num="0" /> +<cdparam x="317" y="202" /> +<sizeparam width="88" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.a>0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="457" > +<father id="463" num="1" /> +<cdparam x="394" y="202" /> +<sizeparam width="98" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="458" > +<father id="463" num="2" /> +<cdparam x="379" y="237" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="471" > +<cdparam x="449" y="582" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="467" /> +<TGConnectingPoint num="1" id="468" /> +<TGConnectingPoint num="2" id="469" /> +<TGConnectingPoint num="3" id="470" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="464" > +<father id="471" num="0" /> +<cdparam x="404" y="592" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="465" > +<father id="471" num="1" /> +<cdparam x="500" y="599" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="466" > +<father id="471" num="2" /> +<cdparam x="469" y="627" /> +<sizeparam width="277" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="479" > +<cdparam x="274" y="564" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="475" /> +<TGConnectingPoint num="1" id="476" /> +<TGConnectingPoint num="2" id="477" /> +<TGConnectingPoint num="3" id="478" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="472" > +<father id="479" num="0" /> +<cdparam x="228" y="574" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ tcpctrl.state == 1]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="473" > +<father id="479" num="1" /> +<cdparam x="317" y="584" /> +<sizeparam width="44" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ else ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="474" > +<father id="479" num="2" /> +<cdparam x="306" y="616" /> +<sizeparam width="127" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="481" > +<cdparam x="227" y="27" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="480" /> +</COMPONENT> + +<COMPONENT type="301" id="498" > +<cdparam x="10" y="30" /> +<sizeparam width="98" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="0: closed +1: Listen +2: SYN rcvd +3: SYN sent +4: Estab +5: Fin wait1 +6: Fin wait2 +7: closing +8: Time wait +9: close wait +10:last ack +" /> +<TGConnectingPoint num="0" id="482" /> +<TGConnectingPoint num="1" id="483" /> +<TGConnectingPoint num="2" id="484" /> +<TGConnectingPoint num="3" id="485" /> +<TGConnectingPoint num="4" id="486" /> +<TGConnectingPoint num="5" id="487" /> +<TGConnectingPoint num="6" id="488" /> +<TGConnectingPoint num="7" id="489" /> +<TGConnectingPoint num="8" id="490" /> +<TGConnectingPoint num="9" id="491" /> +<TGConnectingPoint num="10" id="492" /> +<TGConnectingPoint num="11" id="493" /> +<TGConnectingPoint num="12" id="494" /> +<TGConnectingPoint num="13" id="495" /> +<TGConnectingPoint num="14" id="496" /> +<TGConnectingPoint num="15" id="497" /> +<extraparam> +<Line value="0: closed" /> +<Line value="1: Listen" /> +<Line value="2: SYN rcvd" /> +<Line value="3: SYN sent" /> +<Line value="4: Estab" /> +<Line value="5: Fin wait1" /> +<Line value="6: Fin wait2" /> +<Line value="7: closing" /> +<Line value="8: Time wait" /> +<Line value="9: close wait" /> +<Line value="10:last ack" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="501" > +<cdparam x="94" y="549" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =1" /> +<TGConnectingPoint num="0" id="499" /> +<TGConnectingPoint num="1" id="500" /> +</COMPONENT> + +<COMPONENT type="1001" id="503" > +<cdparam x="138" y="615" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="502" /> +</COMPONENT> + +<COMPONENT type="1009" id="506" > +<cdparam x="964" y="585" /> +<sizeparam width="88" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="read channel" value="fromPtoT(1) " /> +<TGConnectingPoint num="0" id="504" /> +<TGConnectingPoint num="1" id="505" /> +<extraparam> +<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1014" id="510" > +<cdparam x="145" y="85" /> +<sizeparam width="180" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" /> +<TGConnectingPoint num="0" id="507" /> +<TGConnectingPoint num="1" id="508" /> +<TGConnectingPoint num="2" id="509" /> +<extraparam> +<Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="512" > +<cdparam x="225" y="207" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="511" /> +</COMPONENT> + +<COMPONENT type="1011" id="515" > +<cdparam x="183" y="144" /> +<sizeparam width="105" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state=0" /> +<TGConnectingPoint num="0" id="513" /> +<TGConnectingPoint num="1" id="514" /> +</COMPONENT> + +<COMPONENT type="1017" id="518" > +<cdparam x="311" y="133" /> +<sizeparam width="127" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="notified event" value="tcpctrl.a=?abort()" /> +<TGConnectingPoint num="0" id="516" /> +<TGConnectingPoint num="1" id="517" /> +<extraparam> +<Data eventName="abort" variable="tcpctrl.a" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1009" id="521" > +<cdparam x="690" y="589" /> +<sizeparam width="64" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="read channel" value="temp(1) " /> +<TGConnectingPoint num="0" id="519" /> +<TGConnectingPoint num="1" id="520" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="524" > +<cdparam x="686" y="534" /> +<sizeparam width="73" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="wait event" value="timeOut() " /> +<TGConnectingPoint num="0" id="522" /> +<TGConnectingPoint num="1" id="523" /> +<extraparam> +<Data eventName="timeOut" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="527" > +<cdparam x="974" y="528" /> +<sizeparam width="69" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="wait event" value="receive() " /> +<TGConnectingPoint num="0" id="525" /> +<TGConnectingPoint num="1" id="526" /> +<extraparam> +<Data eventName="receive" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="530" > +<cdparam x="436" y="492" /> +<sizeparam width="57" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="wait event" value="close() " /> +<TGConnectingPoint num="0" id="528" /> +<TGConnectingPoint num="1" id="529" /> +<extraparam> +<Data eventName="close" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="533" > +<cdparam x="247" y="468" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="wait event" value="send_TCP() " /> +<TGConnectingPoint num="0" id="531" /> +<TGConnectingPoint num="1" id="532" /> +<extraparam> +<Data eventName="send_TCP" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="536" > +<cdparam x="160" y="383" /> +<sizeparam width="56" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="wait event" value="open() " /> +<TGConnectingPoint num="0" id="534" /> +<TGConnectingPoint num="1" id="535" /> +<extraparam> +<Data eventName="open" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1018" id="547" > +<cdparam x="449" y="267" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="select" value="null" /> +<TGConnectingPoint num="0" id="537" /> +<TGConnectingPoint num="1" id="538" /> +<TGConnectingPoint num="2" id="539" /> +<TGConnectingPoint num="3" id="540" /> +<TGConnectingPoint num="4" id="541" /> +<TGConnectingPoint num="5" id="542" /> +<TGConnectingPoint num="6" id="543" /> +<TGConnectingPoint num="7" id="544" /> +<TGConnectingPoint num="8" id="545" /> +<TGConnectingPoint num="9" id="546" /> +</COMPONENT> + +<COMPONENT type="1001" id="549" > +<cdparam x="218" y="529" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="548" /> +</COMPONENT> + +<COMPONENT type="1001" id="551" > +<cdparam x="319" y="614" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="550" /> +</COMPONENT> + +<COMPONENT type="1010" id="554" > +<cdparam x="272" y="228" /> +<sizeparam width="58" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="wait event" value="abort() " /> +<TGConnectingPoint num="0" id="552" /> +<TGConnectingPoint num="1" id="553" /> +<extraparam> +<Data eventName="abort" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="556" > +<cdparam x="291" y="290" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="555" /> +</COMPONENT> + +<COMPONENT type="301" id="573" > +<cdparam x="602" y="86" /> +<sizeparam width="393" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="b est le nombre d'instructions necessaires pour paquetiser +ou depaquitiser un paquet TCP + +On prend b=1 comme exemple +" /> +<TGConnectingPoint num="0" id="557" /> +<TGConnectingPoint num="1" id="558" /> +<TGConnectingPoint num="2" id="559" /> +<TGConnectingPoint num="3" id="560" /> +<TGConnectingPoint num="4" id="561" /> +<TGConnectingPoint num="5" id="562" /> +<TGConnectingPoint num="6" id="563" /> +<TGConnectingPoint num="7" id="564" /> +<TGConnectingPoint num="8" id="565" /> +<TGConnectingPoint num="9" id="566" /> +<TGConnectingPoint num="10" id="567" /> +<TGConnectingPoint num="11" id="568" /> +<TGConnectingPoint num="12" id="569" /> +<TGConnectingPoint num="13" id="570" /> +<TGConnectingPoint num="14" id="571" /> +<TGConnectingPoint num="15" id="572" /> +<extraparam> +<Line value="b est le nombre d'instructions necessaires pour paquetiser" /> +<Line value="ou depaquitiser un paquet TCP" /> +<Line value="" /> +<Line value="On prend b=1 comme exemple" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1009" id="576" > +<cdparam x="186" y="808" /> +<sizeparam width="88" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="read channel" value="fromAtoT(1) " /> +<TGConnectingPoint num="0" id="574" /> +<TGConnectingPoint num="1" id="575" /> +<extraparam> +<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="579" > +<cdparam x="188" y="1002" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="577" /> +<TGConnectingPoint num="1" id="578" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="581" > +<cdparam x="220" y="1237" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="580" /> +</COMPONENT> + +<COMPONENT type="1011" id="584" > +<cdparam x="410" y="1032" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =5" /> +<TGConnectingPoint num="0" id="582" /> +<TGConnectingPoint num="1" id="583" /> +</COMPONENT> + +<COMPONENT type="1001" id="586" > +<cdparam x="454" y="1213" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="585" /> +</COMPONENT> + +<COMPONENT type="1011" id="589" > +<cdparam x="80" y="1041" /> +<sizeparam width="105" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state=3" /> +<TGConnectingPoint num="0" id="587" /> +<TGConnectingPoint num="1" id="588" /> +</COMPONENT> + +<COMPONENT type="1006" id="592" > +<cdparam x="90" y="938" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="590" /> +<TGConnectingPoint num="1" id="591" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="595" > +<cdparam x="288" y="1026" /> +<sizeparam width="117" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =10" /> +<TGConnectingPoint num="0" id="593" /> +<TGConnectingPoint num="1" id="594" /> +</COMPONENT> + +<COMPONENT type="1001" id="597" > +<cdparam x="336" y="1229" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="596" /> +</COMPONENT> + +<COMPONENT type="1006" id="600" > +<cdparam x="422" y="941" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="598" /> +<TGConnectingPoint num="1" id="599" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="603" > +<cdparam x="304" y="900" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="601" /> +<TGConnectingPoint num="1" id="602" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="605" > +<cdparam x="790" y="1270" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="604" /> +</COMPONENT> + +<COMPONENT type="301" id="622" > +<cdparam x="998" y="850" /> +<sizeparam width="50" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="Final +" /> +<TGConnectingPoint num="0" id="606" /> +<TGConnectingPoint num="1" id="607" /> +<TGConnectingPoint num="2" id="608" /> +<TGConnectingPoint num="3" id="609" /> +<TGConnectingPoint num="4" id="610" /> +<TGConnectingPoint num="5" id="611" /> +<TGConnectingPoint num="6" id="612" /> +<TGConnectingPoint num="7" id="613" /> +<TGConnectingPoint num="8" id="614" /> +<TGConnectingPoint num="9" id="615" /> +<TGConnectingPoint num="10" id="616" /> +<TGConnectingPoint num="11" id="617" /> +<TGConnectingPoint num="12" id="618" /> +<TGConnectingPoint num="13" id="619" /> +<TGConnectingPoint num="14" id="620" /> +<TGConnectingPoint num="15" id="621" /> +<extraparam> +<Line value="Final" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="625" > +<cdparam x="674" y="965" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =1" /> +<TGConnectingPoint num="0" id="623" /> +<TGConnectingPoint num="1" id="624" /> +</COMPONENT> + +<COMPONENT type="1001" id="627" > +<cdparam x="718" y="1032" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="626" /> +</COMPONENT> + +<COMPONENT type="1006" id="630" > +<cdparam x="758" y="1086" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="628" /> +<TGConnectingPoint num="1" id="629" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="647" > +<cdparam x="781" y="950" /> +<sizeparam width="94" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="Active Open +" /> +<TGConnectingPoint num="0" id="631" /> +<TGConnectingPoint num="1" id="632" /> +<TGConnectingPoint num="2" id="633" /> +<TGConnectingPoint num="3" id="634" /> +<TGConnectingPoint num="4" id="635" /> +<TGConnectingPoint num="5" id="636" /> +<TGConnectingPoint num="6" id="637" /> +<TGConnectingPoint num="7" id="638" /> +<TGConnectingPoint num="8" id="639" /> +<TGConnectingPoint num="9" id="640" /> +<TGConnectingPoint num="10" id="641" /> +<TGConnectingPoint num="11" id="642" /> +<TGConnectingPoint num="12" id="643" /> +<TGConnectingPoint num="13" id="644" /> +<TGConnectingPoint num="14" id="645" /> +<TGConnectingPoint num="15" id="646" /> +<extraparam> +<Line value="Active Open" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="664" > +<cdparam x="715" y="907" /> +<sizeparam width="104" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="Passive Open +" /> +<TGConnectingPoint num="0" id="648" /> +<TGConnectingPoint num="1" id="649" /> +<TGConnectingPoint num="2" id="650" /> +<TGConnectingPoint num="3" id="651" /> +<TGConnectingPoint num="4" id="652" /> +<TGConnectingPoint num="5" id="653" /> +<TGConnectingPoint num="6" id="654" /> +<TGConnectingPoint num="7" id="655" /> +<TGConnectingPoint num="8" id="656" /> +<TGConnectingPoint num="9" id="657" /> +<TGConnectingPoint num="10" id="658" /> +<TGConnectingPoint num="11" id="659" /> +<TGConnectingPoint num="12" id="660" /> +<TGConnectingPoint num="13" id="661" /> +<TGConnectingPoint num="14" id="662" /> +<TGConnectingPoint num="15" id="663" /> +<extraparam> +<Line value="Passive Open" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="667" > +<cdparam x="746" y="1193" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =3" /> +<TGConnectingPoint num="0" id="665" /> +<TGConnectingPoint num="1" id="666" /> +</COMPONENT> + +<COMPONENT type="1011" id="670" > +<cdparam x="442" y="768" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =0" /> +<TGConnectingPoint num="0" id="668" /> +<TGConnectingPoint num="1" id="669" /> +</COMPONENT> + +<COMPONENT type="1001" id="672" > +<cdparam x="486" y="830" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="671" /> +</COMPONENT> + +<COMPONENT type="1006" id="675" > +<cdparam x="901" y="1123" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="673" /> +<TGConnectingPoint num="1" id="674" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="692" > +<cdparam x="884" y="1068" /> +<sizeparam width="115" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="send Ack of Fin +" /> +<TGConnectingPoint num="0" id="676" /> +<TGConnectingPoint num="1" id="677" /> +<TGConnectingPoint num="2" id="678" /> +<TGConnectingPoint num="3" id="679" /> +<TGConnectingPoint num="4" id="680" /> +<TGConnectingPoint num="5" id="681" /> +<TGConnectingPoint num="6" id="682" /> +<TGConnectingPoint num="7" id="683" /> +<TGConnectingPoint num="8" id="684" /> +<TGConnectingPoint num="9" id="685" /> +<TGConnectingPoint num="10" id="686" /> +<TGConnectingPoint num="11" id="687" /> +<TGConnectingPoint num="12" id="688" /> +<TGConnectingPoint num="13" id="689" /> +<TGConnectingPoint num="14" id="690" /> +<TGConnectingPoint num="15" id="691" /> +<extraparam> +<Line value="send Ack of Fin" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="695" > +<cdparam x="889" y="1234" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =9" /> +<TGConnectingPoint num="0" id="693" /> +<TGConnectingPoint num="1" id="694" /> +</COMPONENT> + +<COMPONENT type="1001" id="697" > +<cdparam x="933" y="1311" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="696" /> +</COMPONENT> + +<COMPONENT type="1006" id="700" > +<cdparam x="1007" y="1155" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="698" /> +<TGConnectingPoint num="1" id="699" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="717" > +<cdparam x="1000" y="1094" /> +<sizeparam width="115" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="send Ack of Fin +" /> +<TGConnectingPoint num="0" id="701" /> +<TGConnectingPoint num="1" id="702" /> +<TGConnectingPoint num="2" id="703" /> +<TGConnectingPoint num="3" id="704" /> +<TGConnectingPoint num="4" id="705" /> +<TGConnectingPoint num="5" id="706" /> +<TGConnectingPoint num="6" id="707" /> +<TGConnectingPoint num="7" id="708" /> +<TGConnectingPoint num="8" id="709" /> +<TGConnectingPoint num="9" id="710" /> +<TGConnectingPoint num="10" id="711" /> +<TGConnectingPoint num="11" id="712" /> +<TGConnectingPoint num="12" id="713" /> +<TGConnectingPoint num="13" id="714" /> +<TGConnectingPoint num="14" id="715" /> +<TGConnectingPoint num="15" id="716" /> +<extraparam> +<Line value="send Ack of Fin" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="720" > +<cdparam x="995" y="1266" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =7" /> +<TGConnectingPoint num="0" id="718" /> +<TGConnectingPoint num="1" id="719" /> +</COMPONENT> + +<COMPONENT type="1001" id="722" > +<cdparam x="1039" y="1341" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="721" /> +</COMPONENT> + +<COMPONENT type="1006" id="725" > +<cdparam x="680" y="758" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="723" /> +<TGConnectingPoint num="1" id="724" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="727" > +<cdparam x="712" y="865" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="726" /> +</COMPONENT> + +<COMPONENT type="1007" id="730" > +<cdparam x="92" y="1100" /> +<sizeparam width="81" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send request" value="req_Timer()" /> +<TGConnectingPoint num="0" id="728" /> +<TGConnectingPoint num="1" id="729" /> +<extraparam> +<Data requestName="req_Timer" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="733" > +<cdparam x="102" y="1167" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="temp(1)" /> +<TGConnectingPoint num="0" id="731" /> +<TGConnectingPoint num="1" id="732" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="735" > +<cdparam x="122" y="1236" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="734" /> +</COMPONENT> + +<COMPONENT type="1007" id="738" > +<cdparam x="190" y="1102" /> +<sizeparam width="81" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send request" value="req_Timer()" /> +<TGConnectingPoint num="0" id="736" /> +<TGConnectingPoint num="1" id="737" /> +<extraparam> +<Data requestName="req_Timer" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="741" > +<cdparam x="200" y="1169" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="temp(1)" /> +<TGConnectingPoint num="0" id="739" /> +<TGConnectingPoint num="1" id="740" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1007" id="744" > +<cdparam x="306" y="1106" /> +<sizeparam width="81" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send request" value="req_Timer()" /> +<TGConnectingPoint num="0" id="742" /> +<TGConnectingPoint num="1" id="743" /> +<extraparam> +<Data requestName="req_Timer" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="747" > +<cdparam x="316" y="1173" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="temp(1)" /> +<TGConnectingPoint num="0" id="745" /> +<TGConnectingPoint num="1" id="746" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1007" id="750" > +<cdparam x="424" y="1090" /> +<sizeparam width="81" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send request" value="req_Timer()" /> +<TGConnectingPoint num="0" id="748" /> +<TGConnectingPoint num="1" id="749" /> +<extraparam> +<Data requestName="req_Timer" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="753" > +<cdparam x="434" y="1159" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="temp(1)" /> +<TGConnectingPoint num="0" id="751" /> +<TGConnectingPoint num="1" id="752" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="756" > +<cdparam x="52" y="861" /> +<sizeparam width="160" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="seqNum=seqNum+wind" /> +<TGConnectingPoint num="0" id="754" /> +<TGConnectingPoint num="1" id="755" /> +</COMPONENT> + +<COMPONENT type="1011" id="759" > +<cdparam x="150" y="940" /> +<sizeparam width="160" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="seqNum=seqNum+wind" /> +<TGConnectingPoint num="0" id="757" /> +<TGConnectingPoint num="1" id="758" /> +</COMPONENT> + +<COMPONENT type="1011" id="762" > +<cdparam x="384" y="865" /> +<sizeparam width="160" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="seqNum=seqNum+wind" /> +<TGConnectingPoint num="0" id="760" /> +<TGConnectingPoint num="1" id="761" /> +</COMPONENT> + +<COMPONENT type="1011" id="765" > +<cdparam x="266" y="831" /> +<sizeparam width="160" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="seqNum=seqNum+wind" /> +<TGConnectingPoint num="0" id="763" /> +<TGConnectingPoint num="1" id="764" /> +</COMPONENT> + +<COMPONENT type="1008" id="768" > +<cdparam x="205" y="1052" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="766" /> +<TGConnectingPoint num="1" id="767" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="771" > +<cdparam x="321" y="962" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="769" /> +<TGConnectingPoint num="1" id="770" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="774" > +<cdparam x="439" y="983" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="772" /> +<TGConnectingPoint num="1" id="773" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="777" > +<cdparam x="107" y="986" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="775" /> +<TGConnectingPoint num="1" id="776" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="780" > +<cdparam x="697" y="813" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="778" /> +<TGConnectingPoint num="1" id="779" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="783" > +<cdparam x="775" y="1141" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="781" /> +<TGConnectingPoint num="1" id="782" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="786" > +<cdparam x="918" y="1178" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="784" /> +<TGConnectingPoint num="1" id="785" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="789" > +<cdparam x="1024" y="1211" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="787" /> +<TGConnectingPoint num="1" id="788" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="791" > +<cdparam x="602" y="762" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="790" /> +</COMPONENT> + +<COMPONENT type="1001" id="793" > +<cdparam x="873" y="922" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="792" /> +</COMPONENT> + +<COMPONENT type="1006" id="796" > +<cdparam x="1166" y="1214" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="794" /> +<TGConnectingPoint num="1" id="795" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="813" > +<cdparam x="1159" y="1153" /> +<sizeparam width="115" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="send Ack of Fin +" /> +<TGConnectingPoint num="0" id="797" /> +<TGConnectingPoint num="1" id="798" /> +<TGConnectingPoint num="2" id="799" /> +<TGConnectingPoint num="3" id="800" /> +<TGConnectingPoint num="4" id="801" /> +<TGConnectingPoint num="5" id="802" /> +<TGConnectingPoint num="6" id="803" /> +<TGConnectingPoint num="7" id="804" /> +<TGConnectingPoint num="8" id="805" /> +<TGConnectingPoint num="9" id="806" /> +<TGConnectingPoint num="10" id="807" /> +<TGConnectingPoint num="11" id="808" /> +<TGConnectingPoint num="12" id="809" /> +<TGConnectingPoint num="13" id="810" /> +<TGConnectingPoint num="14" id="811" /> +<TGConnectingPoint num="15" id="812" /> +<extraparam> +<Line value="send Ack of Fin" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="816" > +<cdparam x="1154" y="1295" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =8" /> +<TGConnectingPoint num="0" id="814" /> +<TGConnectingPoint num="1" id="815" /> +</COMPONENT> + +<COMPONENT type="1001" id="818" > +<cdparam x="1198" y="1471" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="817" /> +</COMPONENT> + +<COMPONENT type="1011" id="821" > +<cdparam x="1154" y="1402" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =0" /> +<TGConnectingPoint num="0" id="819" /> +<TGConnectingPoint num="1" id="820" /> +</COMPONENT> + +<COMPONENT type="1008" id="824" > +<cdparam x="1183" y="1351" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="822" /> +<TGConnectingPoint num="1" id="823" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="826" > +<cdparam x="1277" y="1070" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="825" /> +</COMPONENT> + +<COMPONENT type="1001" id="828" > +<cdparam x="1519" y="1457" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="827" /> +</COMPONENT> + +<COMPONENT type="1006" id="831" > +<cdparam x="1487" y="1132" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoA(1)" /> +<TGConnectingPoint num="0" id="829" /> +<TGConnectingPoint num="1" id="830" /> +<extraparam> +<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="834" > +<cdparam x="1487" y="1348" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="832" /> +<TGConnectingPoint num="1" id="833" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="837" > +<cdparam x="1704" y="1026" /> +<sizeparam width="48" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="stop()" /> +<TGConnectingPoint num="0" id="835" /> +<TGConnectingPoint num="1" id="836" /> +<extraparam> +<Data eventName="stop" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="854" > +<cdparam x="1759" y="1192" /> +<sizeparam width="92" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="Correct ack +" /> +<TGConnectingPoint num="0" id="838" /> +<TGConnectingPoint num="1" id="839" /> +<TGConnectingPoint num="2" id="840" /> +<TGConnectingPoint num="3" id="841" /> +<TGConnectingPoint num="4" id="842" /> +<TGConnectingPoint num="5" id="843" /> +<TGConnectingPoint num="6" id="844" /> +<TGConnectingPoint num="7" id="845" /> +<TGConnectingPoint num="8" id="846" /> +<TGConnectingPoint num="9" id="847" /> +<TGConnectingPoint num="10" id="848" /> +<TGConnectingPoint num="11" id="849" /> +<TGConnectingPoint num="12" id="850" /> +<TGConnectingPoint num="13" id="851" /> +<TGConnectingPoint num="14" id="852" /> +<TGConnectingPoint num="15" id="853" /> +<extraparam> +<Line value="Correct ack" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="871" > +<cdparam x="1635" y="1168" /> +<sizeparam width="76" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="false ack +" /> +<TGConnectingPoint num="0" id="855" /> +<TGConnectingPoint num="1" id="856" /> +<TGConnectingPoint num="2" id="857" /> +<TGConnectingPoint num="3" id="858" /> +<TGConnectingPoint num="4" id="859" /> +<TGConnectingPoint num="5" id="860" /> +<TGConnectingPoint num="6" id="861" /> +<TGConnectingPoint num="7" id="862" /> +<TGConnectingPoint num="8" id="863" /> +<TGConnectingPoint num="9" id="864" /> +<TGConnectingPoint num="10" id="865" /> +<TGConnectingPoint num="11" id="866" /> +<TGConnectingPoint num="12" id="867" /> +<TGConnectingPoint num="13" id="868" /> +<TGConnectingPoint num="14" id="869" /> +<TGConnectingPoint num="15" id="870" /> +<extraparam> +<Line value="false ack" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="874" > +<cdparam x="1599" y="1299" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="872" /> +<TGConnectingPoint num="1" id="873" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="876" > +<cdparam x="1631" y="1468" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="875" /> +</COMPONENT> + +<COMPONENT type="301" id="893" > +<cdparam x="1469" y="1295" /> +<sizeparam width="137" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="return acknowldge +" /> +<TGConnectingPoint num="0" id="877" /> +<TGConnectingPoint num="1" id="878" /> +<TGConnectingPoint num="2" id="879" /> +<TGConnectingPoint num="3" id="880" /> +<TGConnectingPoint num="4" id="881" /> +<TGConnectingPoint num="5" id="882" /> +<TGConnectingPoint num="6" id="883" /> +<TGConnectingPoint num="7" id="884" /> +<TGConnectingPoint num="8" id="885" /> +<TGConnectingPoint num="9" id="886" /> +<TGConnectingPoint num="10" id="887" /> +<TGConnectingPoint num="11" id="888" /> +<TGConnectingPoint num="12" id="889" /> +<TGConnectingPoint num="13" id="890" /> +<TGConnectingPoint num="14" id="891" /> +<TGConnectingPoint num="15" id="892" /> +<extraparam> +<Line value="return acknowldge" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="910" > +<cdparam x="1620" y="927" /> +<sizeparam width="50" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="data +" /> +<TGConnectingPoint num="0" id="894" /> +<TGConnectingPoint num="1" id="895" /> +<TGConnectingPoint num="2" id="896" /> +<TGConnectingPoint num="3" id="897" /> +<TGConnectingPoint num="4" id="898" /> +<TGConnectingPoint num="5" id="899" /> +<TGConnectingPoint num="6" id="900" /> +<TGConnectingPoint num="7" id="901" /> +<TGConnectingPoint num="8" id="902" /> +<TGConnectingPoint num="9" id="903" /> +<TGConnectingPoint num="10" id="904" /> +<TGConnectingPoint num="11" id="905" /> +<TGConnectingPoint num="12" id="906" /> +<TGConnectingPoint num="13" id="907" /> +<TGConnectingPoint num="14" id="908" /> +<TGConnectingPoint num="15" id="909" /> +<extraparam> +<Line value="data" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="913" > +<cdparam x="1504" y="1405" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="911" /> +<TGConnectingPoint num="1" id="912" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="916" > +<cdparam x="1616" y="1348" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="914" /> +<TGConnectingPoint num="1" id="915" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="919" > +<cdparam x="1611" y="1404" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="temp(1)" /> +<TGConnectingPoint num="0" id="917" /> +<TGConnectingPoint num="1" id="918" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="921" > +<cdparam x="1730" y="1335" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="920" /> +</COMPONENT> + +<COMPONENT type="1011" id="924" > +<cdparam x="1772" y="1349" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =4" /> +<TGConnectingPoint num="0" id="922" /> +<TGConnectingPoint num="1" id="923" /> +</COMPONENT> + +<COMPONENT type="1001" id="926" > +<cdparam x="1816" y="1457" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="925" /> +</COMPONENT> + +<COMPONENT type="1011" id="929" > +<cdparam x="1866" y="1411" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =6" /> +<TGConnectingPoint num="0" id="927" /> +<TGConnectingPoint num="1" id="928" /> +</COMPONENT> + +<COMPONENT type="1001" id="931" > +<cdparam x="1910" y="1481" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="930" /> +</COMPONENT> + +<COMPONENT type="1001" id="933" > +<cdparam x="1986" y="1543" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="932" /> +</COMPONENT> + +<COMPONENT type="1011" id="936" > +<cdparam x="2047" y="1466" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =0" /> +<TGConnectingPoint num="0" id="934" /> +<TGConnectingPoint num="1" id="935" /> +</COMPONENT> + +<COMPONENT type="1001" id="938" > +<cdparam x="2091" y="1537" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="937" /> +</COMPONENT> + +<COMPONENT type="1011" id="941" > +<cdparam x="1942" y="1493" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =0" /> +<TGConnectingPoint num="0" id="939" /> +<TGConnectingPoint num="1" id="940" /> +</COMPONENT> + +<COMPONENT type="1011" id="944" > +<cdparam x="1942" y="1434" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =8" /> +<TGConnectingPoint num="0" id="942" /> +<TGConnectingPoint num="1" id="943" /> +</COMPONENT> + +<COMPONENT type="301" id="961" > +<cdparam x="1825" y="889" /> +<sizeparam width="50" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="Syn +" /> +<TGConnectingPoint num="0" id="945" /> +<TGConnectingPoint num="1" id="946" /> +<TGConnectingPoint num="2" id="947" /> +<TGConnectingPoint num="3" id="948" /> +<TGConnectingPoint num="4" id="949" /> +<TGConnectingPoint num="5" id="950" /> +<TGConnectingPoint num="6" id="951" /> +<TGConnectingPoint num="7" id="952" /> +<TGConnectingPoint num="8" id="953" /> +<TGConnectingPoint num="9" id="954" /> +<TGConnectingPoint num="10" id="955" /> +<TGConnectingPoint num="11" id="956" /> +<TGConnectingPoint num="12" id="957" /> +<TGConnectingPoint num="13" id="958" /> +<TGConnectingPoint num="14" id="959" /> +<TGConnectingPoint num="15" id="960" /> +<extraparam> +<Line value="Syn" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="978" > +<cdparam x="1707" y="945" /> +<sizeparam width="50" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="ack +" /> +<TGConnectingPoint num="0" id="962" /> +<TGConnectingPoint num="1" id="963" /> +<TGConnectingPoint num="2" id="964" /> +<TGConnectingPoint num="3" id="965" /> +<TGConnectingPoint num="4" id="966" /> +<TGConnectingPoint num="5" id="967" /> +<TGConnectingPoint num="6" id="968" /> +<TGConnectingPoint num="7" id="969" /> +<TGConnectingPoint num="8" id="970" /> +<TGConnectingPoint num="9" id="971" /> +<TGConnectingPoint num="10" id="972" /> +<TGConnectingPoint num="11" id="973" /> +<TGConnectingPoint num="12" id="974" /> +<TGConnectingPoint num="13" id="975" /> +<TGConnectingPoint num="14" id="976" /> +<TGConnectingPoint num="15" id="977" /> +<extraparam> +<Line value="ack" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="981" > +<cdparam x="2195" y="1198" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="979" /> +<TGConnectingPoint num="1" id="980" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="983" > +<cdparam x="2227" y="1483" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="982" /> +</COMPONENT> + +<COMPONENT type="1007" id="986" > +<cdparam x="2197" y="1298" /> +<sizeparam width="81" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send request" value="req_Timer()" /> +<TGConnectingPoint num="0" id="984" /> +<TGConnectingPoint num="1" id="985" /> +<extraparam> +<Data requestName="req_Timer" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="989" > +<cdparam x="2207" y="1365" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="temp(1)" /> +<TGConnectingPoint num="0" id="987" /> +<TGConnectingPoint num="1" id="988" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="992" > +<cdparam x="2157" y="1136" /> +<sizeparam width="160" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="seqNum=seqNum+wind" /> +<TGConnectingPoint num="0" id="990" /> +<TGConnectingPoint num="1" id="991" /> +</COMPONENT> + +<COMPONENT type="1008" id="995" > +<cdparam x="2212" y="1248" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="993" /> +<TGConnectingPoint num="1" id="994" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="998" > +<cdparam x="2183" y="1424" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =2" /> +<TGConnectingPoint num="0" id="996" /> +<TGConnectingPoint num="1" id="997" /> +</COMPONENT> + +<COMPONENT type="1006" id="1001" > +<cdparam x="2275" y="1122" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="write channel" value="fromTtoP(1)" /> +<TGConnectingPoint num="0" id="999" /> +<TGConnectingPoint num="1" id="1000" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="1018" > +<cdparam x="2283" y="1065" /> +<sizeparam width="121" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="UML Note" value="send Ack of SYN +" /> +<TGConnectingPoint num="0" id="1002" /> +<TGConnectingPoint num="1" id="1003" /> +<TGConnectingPoint num="2" id="1004" /> +<TGConnectingPoint num="3" id="1005" /> +<TGConnectingPoint num="4" id="1006" /> +<TGConnectingPoint num="5" id="1007" /> +<TGConnectingPoint num="6" id="1008" /> +<TGConnectingPoint num="7" id="1009" /> +<TGConnectingPoint num="8" id="1010" /> +<TGConnectingPoint num="9" id="1011" /> +<TGConnectingPoint num="10" id="1012" /> +<TGConnectingPoint num="11" id="1013" /> +<TGConnectingPoint num="12" id="1014" /> +<TGConnectingPoint num="13" id="1015" /> +<TGConnectingPoint num="14" id="1016" /> +<TGConnectingPoint num="15" id="1017" /> +<extraparam> +<Line value="send Ack of SYN" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1011" id="1021" > +<cdparam x="2263" y="1267" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="action state" value="tcpctrl.state =2" /> +<TGConnectingPoint num="0" id="1019" /> +<TGConnectingPoint num="1" id="1020" /> +</COMPONENT> + +<COMPONENT type="1001" id="1023" > +<cdparam x="2307" y="1324" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1022" /> +</COMPONENT> + +<COMPONENT type="1008" id="1026" > +<cdparam x="2292" y="1199" /> +<sizeparam width="51" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="send()" /> +<TGConnectingPoint num="0" id="1024" /> +<TGConnectingPoint num="1" id="1025" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1028" > +<cdparam x="1637" y="1057" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1027" /> +</COMPONENT> + +<COMPONENT type="1001" id="1030" > +<cdparam x="2168" y="1421" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1029" /> +</COMPONENT> + +<COMPONENT type="1001" id="1032" > +<cdparam x="2267" y="1039" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1031" /> +</COMPONENT> + +<COMPONENT type="1008" id="1035" > +<cdparam x="1459" y="1192" /> +<sizeparam width="140" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="send event" value="receive_Application()" /> +<TGConnectingPoint num="0" id="1033" /> +<TGConnectingPoint num="1" id="1034" /> +<extraparam> +<Data eventName="receive_Application" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1009" id="1038" > +<cdparam x="1696" y="1086" /> +<sizeparam width="64" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" /> +<infoparam name="read channel" value="temp(1) " /> +<TGConnectingPoint num="0" id="1036" /> +<TGConnectingPoint num="1" id="1037" /> +<extraparam> +<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="115" id="1039" > +<cdparam x="192" y="445" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="190" y="449" id="294" /> +<P2 x="188" y="481" id="451" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1040" > +<cdparam x="1048" y="795" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1048" y="795" id="433" /> +<P2 x="1728" y="870" id="355" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1041" > +<cdparam x="1048" y="795" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1089" y="954" id="405" /> +<P2 x="1208" y="1015" id="375" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1042" > +<cdparam x="722" y="614" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from read channel to execI" value="null" /> +<P1 x="722" y="614" id="520" /> +<P2 x="722" y="689" id="393" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1043" > +<cdparam x="504" y="597" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="504" y="597" id="469" /> +<P2 x="572" y="707" id="387" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1044" > +<cdparam x="464" y="637" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="464" y="637" id="470" /> +<P2 x="464" y="778" id="437" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1045" > +<cdparam x="424" y="597" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="424" y="597" id="468" /> +<P2 x="346" y="759" id="421" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1046" > +<cdparam x="289" y="619" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to read channel" value="null" /> +<P1 x="289" y="619" id="478" /> +<P2 x="230" y="803" id="574" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1047" > +<cdparam x="249" y="579" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="249" y="579" id="476" /> +<P2 x="132" y="789" id="425" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1048" > +<cdparam x="371" y="93" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from for loop to notified event" value="null" /> +<P1 x="325" y="99" id="508" /> +<P2 x="374" y="128" id="516" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1049" > +<cdparam x="234" y="169" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="235" y="169" id="514" /> +<P2 x="235" y="202" id="511" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1050" > +<cdparam x="234" y="104" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from for loop to action state" value="null" /> +<P1 x="235" y="110" id="509" /> +<P2 x="235" y="139" id="513" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1051" > +<cdparam x="234" y="47" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from start state to for loop" value="null" /> +<P1 x="234" y="47" id="480" /> +<P2 x="235" y="80" id="507" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1052" > +<cdparam x="425" y="162" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from notified event to choice" value="null" /> +<P1 x="374" y="158" id="517" /> +<P2 x="374" y="187" id="459" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1053" > +<cdparam x="564" y="482" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="464" y="322" id="543" /> +<P2 x="722" y="529" id="522" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1054" > +<cdparam x="722" y="559" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to read channel" value="null" /> +<P1 x="722" y="559" id="523" /> +<P2 x="722" y="584" id="519" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1055" > +<cdparam x="604" y="442" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="504" y="282" id="539" /> +<P2 x="1008" y="523" id="525" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1056" > +<cdparam x="1007" y="553" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to read channel" value="null" /> +<P1 x="1008" y="553" id="526" /> +<P2 x="1008" y="580" id="504" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1057" > +<cdparam x="524" y="442" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="464" y="322" id="540" /> +<P2 x="464" y="487" id="528" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1058" > +<cdparam x="330" y="428" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="424" y="282" id="541" /> +<P2 x="289" y="463" id="531" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1059" > +<cdparam x="318" y="520" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to choice" value="null" /> +<P1 x="289" y="493" id="532" /> +<P2 x="289" y="559" id="475" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1060" > +<cdparam x="160" y="481" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="148" y="501" id="452" /> +<P2 x="148" y="544" id="499" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1061" > +<cdparam x="290" y="388" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="424" y="282" id="538" /> +<P2 x="188" y="378" id="534" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1062" > +<cdparam x="229" y="467" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to choice" value="null" /> +<P1 x="188" y="408" id="535" /> +<P2 x="190" y="419" id="293" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1063" > +<cdparam x="228" y="501" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="228" y="501" id="453" /> +<P2 x="228" y="524" id="548" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1064" > +<cdparam x="334" y="207" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="334" y="207" id="460" /> +<P2 x="301" y="223" id="552" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1065" > +<cdparam x="301" y="253" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to stop state" value="null" /> +<P1 x="301" y="253" id="553" /> +<P2 x="301" y="285" id="555" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1066" > +<cdparam x="464" y="517" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to choice" value="null" /> +<P1 x="464" y="517" id="529" /> +<P2 x="464" y="577" id="467" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1067" > +<cdparam x="329" y="579" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="329" y="579" id="477" /> +<P2 x="329" y="609" id="550" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1068" > +<cdparam x="126" y="574" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="148" y="574" id="500" /> +<P2 x="148" y="610" id="502" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1069" > +<cdparam x="414" y="207" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to select" value="null" /> +<P1 x="414" y="207" id="461" /> +<P2 x="464" y="262" id="537" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1070" > +<cdparam x="230" y="833" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from read channel to execI" value="null" /> +<P1 x="230" y="833" id="575" /> +<P2 x="230" y="858" id="441" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1071" > +<cdparam x="716" y="749" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="968" y="795" id="432" /> +<P2 x="843" y="864" id="415" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1072" > +<cdparam x="720" y="1074" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="728" y="990" id="624" /> +<P2 x="728" y="1027" id="626" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1073" > +<cdparam x="733" y="899" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="803" y="884" id="416" /> +<P2 x="728" y="960" id="623" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1074" > +<cdparam x="800" y="938" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="843" y="924" id="418" /> +<P2 x="800" y="1004" id="409" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1075" > +<cdparam x="800" y="1057" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="800" y="1044" id="410" /> +<P2 x="800" y="1081" id="628" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1076" > +<cdparam x="132" y="886" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to write channel" value="null" /> +<P1 x="132" y="886" id="755" /> +<P2 x="132" y="933" id="590" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1077" > +<cdparam x="943" y="1061" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="943" y="1060" id="398" /> +<P2 x="943" y="1118" id="673" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1078" > +<cdparam x="1049" y="1093" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="1049" y="1092" id="446" /> +<P2 x="1049" y="1150" id="698" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1079" > +<cdparam x="1049" y="994" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="1049" y="994" id="406" /> +<P2 x="1049" y="1052" id="445" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1080" > +<cdparam x="696" y="742" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="722" y="729" id="394" /> +<P2 x="722" y="753" id="723" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1081" > +<cdparam x="132" y="1125" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to write channel" value="null" /> +<P1 x="132" y="1125" id="729" /> +<P2 x="132" y="1162" id="731" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1082" > +<cdparam x="132" y="1192" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="132" y="1192" id="732" /> +<P2 x="132" y="1231" id="734" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1083" > +<cdparam x="132" y="1066" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to send request" value="null" /> +<P1 x="132" y="1066" id="588" /> +<P2 x="132" y="1095" id="728" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1084" > +<cdparam x="229" y="1127" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to write channel" value="null" /> +<P1 x="230" y="1127" id="737" /> +<P2 x="230" y="1164" id="739" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1085" > +<cdparam x="346" y="1131" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to write channel" value="null" /> +<P1 x="346" y="1131" id="743" /> +<P2 x="346" y="1168" id="745" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1086" > +<cdparam x="346" y="1051" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to send request" value="null" /> +<P1 x="346" y="1051" id="594" /> +<P2 x="346" y="1101" id="742" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1087" > +<cdparam x="437" y="1118" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to write channel" value="null" /> +<P1 x="464" y="1115" id="749" /> +<P2 x="464" y="1154" id="751" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1088" > +<cdparam x="438" y="1057" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to send request" value="null" /> +<P1 x="464" y="1057" id="583" /> +<P2 x="464" y="1085" id="748" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1089" > +<cdparam x="132" y="808" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to action state" value="null" /> +<P1 x="132" y="829" id="426" /> +<P2 x="132" y="856" id="754" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1090" > +<cdparam x="230" y="898" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to action state" value="null" /> +<P1 x="230" y="898" id="442" /> +<P2 x="230" y="935" id="757" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1091" > +<cdparam x="230" y="965" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to write channel" value="null" /> +<P1 x="230" y="965" id="758" /> +<P2 x="230" y="997" id="577" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1092" > +<cdparam x="346" y="799" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to action state" value="null" /> +<P1 x="346" y="799" id="422" /> +<P2 x="346" y="826" id="763" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1093" > +<cdparam x="346" y="856" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to write channel" value="null" /> +<P1 x="346" y="856" id="764" /> +<P2 x="346" y="895" id="601" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1094" > +<cdparam x="439" y="818" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to action state" value="null" /> +<P1 x="464" y="818" id="438" /> +<P2 x="464" y="860" id="760" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1095" > +<cdparam x="439" y="890" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to write channel" value="null" /> +<P1 x="464" y="890" id="761" /> +<P2 x="464" y="936" id="598" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1096" > +<cdparam x="132" y="963" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="132" y="963" id="591" /> +<P2 x="132" y="981" id="775" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1097" > +<cdparam x="132" y="1011" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="132" y="1011" id="776" /> +<P2 x="132" y="1036" id="587" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1098" > +<cdparam x="230" y="1027" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="230" y="1027" id="578" /> +<P2 x="230" y="1047" id="766" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1099" > +<cdparam x="228" y="1088" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to send request" value="null" /> +<P1 x="230" y="1077" id="767" /> +<P2 x="230" y="1097" id="736" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1100" > +<cdparam x="346" y="925" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="346" y="925" id="602" /> +<P2 x="346" y="957" id="769" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1101" > +<cdparam x="348" y="987" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="346" y="987" id="770" /> +<P2 x="346" y="1021" id="593" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1102" > +<cdparam x="439" y="966" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="464" y="966" id="599" /> +<P2 x="464" y="978" id="772" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1103" > +<cdparam x="438" y="1008" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="464" y="1008" id="773" /> +<P2 x="464" y="1027" id="582" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1104" > +<cdparam x="722" y="783" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="722" y="783" id="724" /> +<P2 x="722" y="808" id="778" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1105" > +<cdparam x="722" y="838" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to stop state" value="null" /> +<P1 x="722" y="838" id="779" /> +<P2 x="722" y="860" id="726" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1106" > +<cdparam x="800" y="1111" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="800" y="1111" id="629" /> +<P2 x="800" y="1136" id="781" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1107" > +<cdparam x="798" y="1166" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="800" y="1166" id="782" /> +<P2 x="800" y="1188" id="665" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1108" > +<cdparam x="943" y="1148" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="943" y="1148" id="674" /> +<P2 x="943" y="1173" id="784" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1109" > +<cdparam x="950" y="1201" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="943" y="1203" id="785" /> +<P2 x="943" y="1229" id="693" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1110" > +<cdparam x="1049" y="1180" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="1049" y="1180" id="699" /> +<P2 x="1049" y="1206" id="787" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1111" > +<cdparam x="1049" y="1223" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="1049" y="1236" id="788" /> +<P2 x="1049" y="1261" id="718" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1112" > +<cdparam x="883" y="884" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="883" y="884" id="417" /> +<P2 x="883" y="917" id="792" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1113" > +<cdparam x="612" y="727" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="612" y="727" id="389" /> +<P2 x="612" y="757" id="790" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1114" > +<cdparam x="532" y="727" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="532" y="727" id="388" /> +<P2 x="496" y="763" id="668" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1115" > +<cdparam x="799" y="1218" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="800" y="1218" id="666" /> +<P2 x="800" y="1265" id="604" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1116" > +<cdparam x="1009" y="954" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="1009" y="954" id="404" /> +<P2 x="943" y="1020" id="397" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1117" > +<cdparam x="229" y="1194" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="230" y="1194" id="740" /> +<P2 x="230" y="1232" id="580" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1118" > +<cdparam x="346" y="1198" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="346" y="1198" id="746" /> +<P2 x="346" y="1224" id="596" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1119" > +<cdparam x="438" y="1184" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="464" y="1184" id="752" /> +<P2 x="464" y="1208" id="585" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1120" > +<cdparam x="496" y="793" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="496" y="793" id="669" /> +<P2 x="496" y="825" id="671" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1121" > +<cdparam x="943" y="1259" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="943" y="1259" id="694" /> +<P2 x="943" y="1306" id="696" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1122" > +<cdparam x="1008" y="835" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1008" y="835" id="434" /> +<P2 x="1049" y="934" id="403" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1123" > +<cdparam x="1049" y="1291" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="1049" y="1291" id="719" /> +<P2 x="1049" y="1336" id="721" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1124" > +<cdparam x="1208" y="1152" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="1208" y="1142" id="382" /> +<P2 x="1208" y="1209" id="794" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1125" > +<cdparam x="1208" y="1239" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to action state" value="null" /> +<P1 x="1208" y="1239" id="795" /> +<P2 x="1208" y="1290" id="814" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1126" > +<cdparam x="1208" y="1320" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to send event" value="null" /> +<P1 x="1208" y="1320" id="815" /> +<P2 x="1208" y="1346" id="822" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1127" > +<cdparam x="1206" y="1385" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to action state" value="null" /> +<P1 x="1208" y="1376" id="823" /> +<P2 x="1208" y="1397" id="819" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1128" > +<cdparam x="1206" y="1088" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="1208" y="1075" id="378" /> +<P2 x="1208" y="1102" id="381" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1129" > +<cdparam x="1248" y="1035" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="1248" y="1035" id="377" /> +<P2 x="1287" y="1065" id="825" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1130" > +<cdparam x="1207" y="1427" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="1208" y="1427" id="820" /> +<P2 x="1208" y="1466" id="817" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1131" > +<cdparam x="1553" y="1019" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="1567" y="1021" id="348" /> +<P2 x="1529" y="1059" id="341" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1132" > +<cdparam x="1529" y="1324" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="1529" y="1289" id="338" /> +<P2 x="1529" y="1343" id="832" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1133" > +<cdparam x="1684" y="929" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to send event" value="null" /> +<P1 x="1728" y="930" id="358" /> +<P2 x="1728" y="1021" id="835" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1134" > +<cdparam x="1615" y="1283" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="1641" y="1270" id="362" /> +<P2 x="1641" y="1294" id="872" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1135" > +<cdparam x="1641" y="1324" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="1641" y="1324" id="873" /> +<P2 x="1641" y="1343" id="914" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1136" > +<cdparam x="1529" y="1373" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="1529" y="1373" id="833" /> +<P2 x="1529" y="1400" id="911" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1137" > +<cdparam x="1529" y="1422" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to stop state" value="null" /> +<P1 x="1529" y="1430" id="912" /> +<P2 x="1529" y="1452" id="827" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1138" > +<cdparam x="1642" y="1373" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to write channel" value="null" /> +<P1 x="1641" y="1373" id="915" /> +<P2 x="1641" y="1399" id="917" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1139" > +<cdparam x="1956" y="1361" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="1956" y="1361" id="316" /> +<P2 x="1920" y="1406" id="927" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1140" > +<cdparam x="2100" y="1490" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="2101" y="1491" id="935" /> +<P2 x="2101" y="1532" id="937" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1141" > +<cdparam x="1996" y="1401" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="1996" y="1401" id="318" /> +<P2 x="1996" y="1429" id="942" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1142" > +<cdparam x="1996" y="1459" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to action state" value="null" /> +<P1 x="1996" y="1459" id="943" /> +<P2 x="1996" y="1488" id="939" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1143" > +<cdparam x="2021" y="1038" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="2237" y="966" id="308" /> +<P2 x="2237" y="1054" id="365" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1144" > +<cdparam x="2217" y="1323" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to write channel" value="null" /> +<P1 x="2237" y="1323" id="985" /> +<P2 x="2237" y="1360" id="987" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1145" > +<cdparam x="2218" y="1094" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to action state" value="null" /> +<P1 x="2237" y="1094" id="366" /> +<P2 x="2237" y="1131" id="990" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1146" > +<cdparam x="2218" y="1161" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to write channel" value="null" /> +<P1 x="2237" y="1161" id="991" /> +<P2 x="2237" y="1193" id="979" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1147" > +<cdparam x="2218" y="1223" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="2237" y="1223" id="980" /> +<P2 x="2237" y="1243" id="993" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1148" > +<cdparam x="2216" y="1284" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to send request" value="null" /> +<P1 x="2237" y="1273" id="994" /> +<P2 x="2237" y="1293" id="984" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1149" > +<cdparam x="2217" y="1390" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to action state" value="null" /> +<P1 x="2237" y="1390" id="988" /> +<P2 x="2237" y="1419" id="996" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1150" > +<cdparam x="2341" y="1060" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="2317" y="1059" id="370" /> +<P2 x="2317" y="1117" id="999" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1151" > +<cdparam x="1529" y="1099" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from execI to write channel" value="null" /> +<P1 x="1529" y="1099" id="342" /> +<P2 x="1529" y="1127" id="829" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1152" > +<cdparam x="2101" y="1433" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="2101" y="1433" id="302" /> +<P2 x="2101" y="1461" id="934" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1153" > +<cdparam x="2158" y="1460" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="2141" y="1393" id="301" /> +<P2 x="2178" y="1416" id="1029" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1154" > +<cdparam x="1688" y="890" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1688" y="890" id="356" /> +<P2 x="1607" y="1001" id="347" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1155" > +<cdparam x="1768" y="890" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1768" y="890" id="357" /> +<P2 x="2277" y="946" id="307" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1156" > +<cdparam x="2317" y="966" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="2317" y="966" id="309" /> +<P2 x="2317" y="1019" id="369" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1157" > +<cdparam x="2341" y="1147" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="2317" y="1147" id="1000" /> +<P2 x="2317" y="1194" id="1024" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1158" > +<cdparam x="2341" y="1224" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to send event" value="null" /> +<P1 x="2317" y="1224" id="1025" /> +<P2 x="2317" y="1262" id="1019" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1159" > +<cdparam x="1731" y="1051" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to choice" value="null" /> +<P1 x="1728" y="1051" id="836" /> +<P2 x="1728" y="1081" id="1036" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1160" > +<cdparam x="1647" y="1021" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="1647" y="1021" id="349" /> +<P2 x="1647" y="1052" id="1027" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1161" > +<cdparam x="1826" y="1324" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to action state" value="null" /> +<P1 x="1826" y="1324" id="326" /> +<P2 x="1826" y="1344" id="922" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1162" > +<cdparam x="1826" y="1374" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="1826" y="1374" id="923" /> +<P2 x="1826" y="1452" id="925" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1163" > +<cdparam x="1786" y="1284" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="1786" y="1284" id="324" /> +<P2 x="1740" y="1330" id="920" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1164" > +<cdparam x="1920" y="1436" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="1920" y="1436" id="928" /> +<P2 x="1920" y="1476" id="930" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1165" > +<cdparam x="1996" y="1518" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="1996" y="1518" id="940" /> +<P2 x="1996" y="1538" id="932" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1166" > +<cdparam x="2036" y="1361" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="2036" y="1361" id="317" /> +<P2 x="2101" y="1373" id="299" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1167" > +<cdparam x="1866" y="1284" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1866" y="1284" id="325" /> +<P2 x="1996" y="1341" id="315" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1168" > +<cdparam x="2341" y="1292" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="2317" y="1292" id="1020" /> +<P2 x="2317" y="1319" id="1022" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1169" > +<cdparam x="2217" y="1449" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from action state to stop state" value="null" /> +<P1 x="2237" y="1449" id="997" /> +<P2 x="2237" y="1478" id="982" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1170" > +<cdparam x="2277" y="1006" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="2277" y="1006" id="310" /> +<P2 x="2277" y="1034" id="1031" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1171" > +<cdparam x="1642" y="1429" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="1641" y="1429" id="918" /> +<P2 x="1641" y="1463" id="875" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1172" > +<cdparam x="1529" y="1157" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="1529" y="1157" id="830" /> +<P2 x="1529" y="1187" id="1033" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1173" > +<cdparam x="1529" y="1217" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to execI" value="null" /> +<P1 x="1529" y="1217" id="1034" /> +<P2 x="1529" y="1249" id="337" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1174" > +<cdparam x="1691" y="1156" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to execI" value="null" /> +<P1 x="1688" y="1156" id="332" /> +<P2 x="1641" y="1230" id="361" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1175" > +<cdparam x="1771" y="1156" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to choice" value="null" /> +<P1 x="1768" y="1156" id="333" /> +<P2 x="1826" y="1264" id="323" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1176" > +<cdparam x="1731" y="1111" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from read channel to choice" value="null" /> +<P1 x="1728" y="1111" id="1037" /> +<P2 x="1728" y="1136" id="331" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1177" > +<cdparam x="1008" y="610" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="1008" y="610" id="505" /> +<P2 x="1011" y="638" id="290" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1178" > +<cdparam x="1011" y="678" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="1011" y="678" id="291" /> +<P2 x="1008" y="775" id="431" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" > +<COMPONENT type="1012" id="1186" > +<cdparam x="509" y="222" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="1182" /> +<TGConnectingPoint num="1" id="1183" /> +<TGConnectingPoint num="2" id="1184" /> +<TGConnectingPoint num="3" id="1185" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="1179" > +<father id="1186" num="0" /> +<cdparam x="464" y="232" /> +<sizeparam width="52" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ x==0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1180" > +<father id="1186" num="1" /> +<cdparam x="544" y="234" /> +<sizeparam width="42" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ x>0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1181" > +<father id="1186" num="2" /> +<cdparam x="529" y="267" /> +<sizeparam width="14" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="1188" > +<cdparam x="489" 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="1400" minY="10" maxY="900" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="1187" /> +</COMPONENT> + +<COMPONENT type="1001" id="1190" > +<cdparam x="417" y="407" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1189" /> +</COMPONENT> + +<COMPONENT type="1008" id="1193" > +<cdparam x="393" y="339" /> +<sizeparam width="69" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="timeOut()" /> +<TGConnectingPoint num="0" id="1191" /> +<TGConnectingPoint num="1" id="1192" /> +<extraparam> +<Data eventName="timeOut" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1196" > +<cdparam x="596" y="300" /> +<sizeparam width="52" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="stop() " /> +<TGConnectingPoint num="0" id="1194" /> +<TGConnectingPoint num="1" id="1195" /> +<extraparam> +<Data eventName="stop" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1198" > +<cdparam x="612" y="365" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1197" /> +</COMPONENT> + +<COMPONENT type="1017" id="1201" > +<cdparam x="489" y="157" /> +<sizeparam width="75" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="notified event" value="x=?stop()" /> +<TGConnectingPoint num="0" id="1199" /> +<TGConnectingPoint num="1" id="1200" /> +<extraparam> +<Data eventName="stop" variable="x" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="115" id="1202" > +<cdparam x="496" 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="496" y="46" id="1187" /> +<P2 x="526" y="152" id="1199" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1203" > +<cdparam x="484" y="237" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="484" y="237" id="1183" /> +<P2 x="427" y="334" id="1191" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1204" > +<cdparam x="427" y="364" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to stop state" value="null" /> +<P1 x="427" y="364" id="1192" /> +<P2 x="427" y="402" id="1189" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1205" > +<cdparam x="622" y="325" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to stop state" value="null" /> +<P1 x="622" y="325" id="1195" /> +<P2 x="622" y="360" id="1197" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1206" > +<cdparam x="524" y="175" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from notified event to choice" value="null" /> +<P1 x="526" y="182" id="1200" /> +<P2 x="524" y="217" id="1182" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1207" > +<cdparam x="564" y="237" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="564" y="237" id="1184" /> +<P2 x="622" y="295" id="1194" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" > +<COMPONENT type="1008" id="1210" > +<cdparam x="310" y="433" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="end()" /> +<TGConnectingPoint num="0" id="1208" /> +<TGConnectingPoint num="1" id="1209" /> +<latencyCheck /> +<extraparam> +<Data eventName="end" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1012" id="1218" > +<cdparam x="546" y="376" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="1214" /> +<TGConnectingPoint num="1" id="1215" /> +<TGConnectingPoint num="2" id="1216" /> +<TGConnectingPoint num="3" id="1217" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="1211" > +<father id="1218" num="0" /> +<cdparam x="521" y="386" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1212" > +<father id="1218" num="1" /> +<cdparam x="581" y="386" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1213" > +<father id="1218" num="2" /> +<cdparam x="566" y="421" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1012" id="1226" > +<cdparam x="644" y="517" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="choice" value="null" /> +<TGConnectingPoint num="0" id="1222" /> +<TGConnectingPoint num="1" id="1223" /> +<TGConnectingPoint num="2" id="1224" /> +<TGConnectingPoint num="3" id="1225" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="1219" > +<father id="1226" num="0" /> +<cdparam x="599" y="527" /> +<sizeparam width="51" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" /> +<infoparam name="guard 1" value="[ x==0 ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1220" > +<father id="1226" num="1" /> +<cdparam x="679" y="527" /> +<sizeparam width="12" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" /> +<infoparam name="guard 2" value="[ ]" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1221" > +<father id="1226" num="2" /> +<cdparam x="664" y="562" /> +<sizeparam width="41" height="15" minWidth="10" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" /> +<infoparam name="guard 3" value="[ x>0 ]" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="1228" > +<cdparam x="222" y="58" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="1227" /> +</COMPONENT> + +<COMPONENT type="1007" id="1231" > +<cdparam x="183" y="137" /> +<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="1400" minY="10" maxY="900" /> +<infoparam name="send request" value="activation()" /> +<TGConnectingPoint num="0" id="1229" /> +<TGConnectingPoint num="1" id="1230" /> +<extraparam> +<Data requestName="activation" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="1234" > +<cdparam x="195" y="237" /> +<sizeparam width="67" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="reset()" /> +<TGConnectingPoint num="0" id="1232" /> +<TGConnectingPoint num="1" id="1233" /> +<latencyCheck /> +<extraparam> +<Data eventName="reset" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1237" > +<cdparam x="163" y="288" /> +<sizeparam width="130" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="answerToReset() " /> +<TGConnectingPoint num="0" id="1235" /> +<TGConnectingPoint num="1" id="1236" /> +<extraparam> +<Data eventName="answerToReset" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="1240" > +<cdparam x="199" y="337" /> +<sizeparam width="60" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="pTS()" /> +<TGConnectingPoint num="0" id="1238" /> +<TGConnectingPoint num="1" id="1239" /> +<extraparam> +<Data eventName="pTS" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1243" > +<cdparam x="380" y="152" /> +<sizeparam width="109" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="pTSConfirm() " /> +<TGConnectingPoint num="0" id="1241" /> +<TGConnectingPoint num="1" id="1242" /> +<extraparam> +<Data eventName="pTSConfirm" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="1260" > +<cdparam x="453" y="214" /> +<sizeparam width="105" height="20" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="UML Note" value="data exchange +" /> +<TGConnectingPoint num="0" id="1244" /> +<TGConnectingPoint num="1" id="1245" /> +<TGConnectingPoint num="2" id="1246" /> +<TGConnectingPoint num="3" id="1247" /> +<TGConnectingPoint num="4" id="1248" /> +<TGConnectingPoint num="5" id="1249" /> +<TGConnectingPoint num="6" id="1250" /> +<TGConnectingPoint num="7" id="1251" /> +<TGConnectingPoint num="8" id="1252" /> +<TGConnectingPoint num="9" id="1253" /> +<TGConnectingPoint num="10" id="1254" /> +<TGConnectingPoint num="11" id="1255" /> +<TGConnectingPoint num="12" id="1256" /> +<TGConnectingPoint num="13" id="1257" /> +<TGConnectingPoint num="14" id="1258" /> +<TGConnectingPoint num="15" id="1259" /> +<extraparam> +<Line value="data exchange" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="1263" > +<cdparam x="423" y="448" /> +<sizeparam width="107" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="write channel" value="fromDtoSC(1)" /> +<TGConnectingPoint num="0" id="1261" /> +<TGConnectingPoint num="1" id="1262" /> +<extraparam> +<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="1266" > +<cdparam x="412" y="507" /> +<sizeparam width="129" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="data_Ready(x, b)" /> +<TGConnectingPoint num="0" id="1264" /> +<TGConnectingPoint num="1" id="1265" /> +<latencyCheck /> +<extraparam> +<Data eventName="data_Ready" nbOfParams="5" /> +<Param index="0" value="x" /> +<Param index="1" value="b" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1268" > +<cdparam x="466" y="570" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1267" /> +</COMPONENT> + +<COMPONENT type="1017" id="1271" > +<cdparam x="585" y="447" /> +<sizeparam width="148" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="notified event" value="x=?data_Ready_SC()" /> +<TGConnectingPoint num="0" id="1269" /> +<TGConnectingPoint num="1" id="1270" /> +<extraparam> +<Data eventName="data_Ready_SC" variable="x" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1273" > +<cdparam x="569" y="577" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1272" /> +</COMPONENT> + +<COMPONENT type="1009" id="1276" > +<cdparam x="604" y="700" /> +<sizeparam width="111" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="read channel" value="fromSCtoD(1) " /> +<TGConnectingPoint num="0" id="1274" /> +<TGConnectingPoint num="1" id="1275" /> +<extraparam> +<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1279" > +<cdparam x="595" y="619" /> +<sizeparam width="130" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="data_Ready_SC() " /> +<TGConnectingPoint num="0" id="1277" /> +<TGConnectingPoint num="1" id="1278" /> +<accessibility /> +<extraparam> +<Data eventName="data_Ready_SC" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1281" > +<cdparam x="649" y="774" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1280" /> +</COMPONENT> + +<COMPONENT type="1014" id="1285" > +<cdparam x="300" y="287" /> +<sizeparam width="268" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="for loop" value="for(i=0;i<nbOfComputedPackets;i = i +1)" /> +<TGConnectingPoint num="0" id="1282" /> +<TGConnectingPoint num="1" id="1283" /> +<TGConnectingPoint num="2" id="1284" /> +<extraparam> +<Data init="i=0" condition="i<nbOfComputedPackets" increment="i = i +1" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1287" > +<cdparam x="330" y="477" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1286" /> +</COMPONENT> + +<CONNECTOR type="115" id="1288" > +<cdparam x="434" y="177" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="434" y="177" id="1242" /> +<P2 x="434" y="282" id="1282" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1289" > +<cdparam x="340" y="458" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="340" y="458" id="1209" /> +<P2 x="340" y="472" id="1286" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1290" > +<cdparam x="434" y="312" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="434" y="312" id="1284" /> +<P2 x="340" y="428" id="1208" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1291" > +<cdparam x="561" y="301" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="568" y="301" id="1283" /> +<P2 x="561" y="371" id="1214" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1296" > +<cdparam x="78" y="363" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to wait event" value="null" /> +<P1 x="229" y="362" id="1239" /> +<P2 x="434" y="147" id="1241" /> +<Point x="228" y="382" /> +<Point x="228" y="382" /> +<Point x="286" y="376" /> +<Point x="285" y="127" /> +<AutomaticDrawing data="true" /> +</CONNECTOR><SUBCOMPONENT type="-1" id="1292" > +<father id="1296" num="0" /> +<cdparam x="228" y="382" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1293" > +<father id="1296" num="1" /> +<cdparam x="228" y="382" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1294" > +<father id="1296" num="2" /> +<cdparam x="286" y="376" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1295" > +<father id="1296" num="3" /> +<cdparam x="285" y="127" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> + +<CONNECTOR type="115" id="1297" > +<cdparam x="228" y="57" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from start state to send request" value="null" /> +<P1 x="229" y="78" id="1227" /> +<P2 x="229" y="132" id="1229" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1298" > +<cdparam x="228" y="162" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to send event" value="null" /> +<P1 x="229" y="162" id="1230" /> +<P2 x="228" y="232" id="1232" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1299" > +<cdparam x="228" y="284" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to send event" value="null" /> +<P1 x="228" y="313" id="1236" /> +<P2 x="229" y="332" id="1238" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1300" > +<cdparam x="528" y="391" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to write channel" value="null" /> +<P1 x="521" y="391" id="1215" /> +<P2 x="476" y="443" id="1261" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1301" > +<cdparam x="476" y="473" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to send event" value="null" /> +<P1 x="476" y="473" id="1262" /> +<P2 x="476" y="502" id="1264" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1302" > +<cdparam x="471" y="529" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to stop state" value="null" /> +<P1 x="476" y="532" id="1265" /> +<P2 x="476" y="565" id="1267" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1303" > +<cdparam x="619" y="532" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to stop state" value="null" /> +<P1 x="619" y="532" id="1223" /> +<P2 x="579" y="572" id="1272" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1304" > +<cdparam x="580" y="405" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to notified event" value="null" /> +<P1 x="601" y="391" id="1216" /> +<P2 x="659" y="442" id="1269" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1305" > +<cdparam x="659" y="472" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from notified event to choice" value="null" /> +<P1 x="659" y="472" id="1270" /> +<P2 x="659" y="512" id="1222" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1306" > +<cdparam x="659" y="572" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from choice to wait event" value="null" /> +<P1 x="659" y="572" id="1225" /> +<P2 x="660" y="614" id="1277" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1307" > +<cdparam x="670" y="644" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to read channel" value="null" /> +<P1 x="660" y="644" id="1278" /> +<P2 x="659" y="695" id="1274" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1308" > +<cdparam x="659" y="725" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from read channel to stop state" value="null" /> +<P1 x="659" y="725" id="1275" /> +<P2 x="659" y="769" id="1280" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1309" > +<cdparam x="228" y="262" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to wait event" value="null" /> +<P1 x="228" y="262" id="1233" /> +<P2 x="228" y="283" id="1235" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" > +<COMPONENT type="1001" id="1311" > +<cdparam x="430" y="408" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1310" /> +</COMPONENT> + +<COMPONENT type="1010" id="1314" > +<cdparam x="416" y="364" /> +<sizeparam width="48" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="end() " /> +<TGConnectingPoint num="0" id="1312" /> +<TGConnectingPoint num="1" id="1313" /> +<extraparam> +<Data eventName="end" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1317" > +<cdparam x="231" y="201" /> +<sizeparam width="143" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="connectionOpened() " /> +<TGConnectingPoint num="0" id="1315" /> +<TGConnectingPoint num="1" id="1316" /> +<latencyCheck /> +<extraparam> +<Data eventName="connectionOpened" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="1319" > +<cdparam x="159" y="66" /> +<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="start state" value="null" /> +<TGConnectingPoint num="0" id="1318" /> +</COMPONENT> + +<COMPONENT type="1010" id="1322" > +<cdparam x="138" y="129" /> +<sizeparam width="57" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="reset() " /> +<TGConnectingPoint num="0" id="1320" /> +<TGConnectingPoint num="1" id="1321" /> +<latencyCheck /> +<extraparam> +<Data eventName="reset" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="1325" > +<cdparam x="108" y="182" /> +<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="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="answerToReset()" /> +<TGConnectingPoint num="0" id="1323" /> +<TGConnectingPoint num="1" id="1324" /> +<extraparam> +<Data eventName="answerToReset" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1328" > +<cdparam x="143" y="237" /> +<sizeparam width="47" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="pTS() " /> +<TGConnectingPoint num="0" id="1326" /> +<TGConnectingPoint num="1" id="1327" /> +<latencyCheck /> +<extraparam> +<Data eventName="pTS" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="1331" > +<cdparam x="121" y="308" /> +<sizeparam width="90" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="pTSConfirm()" /> +<TGConnectingPoint num="0" id="1329" /> +<TGConnectingPoint num="1" id="1330" /> +<extraparam> +<Data eventName="pTSConfirm" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="301" id="1348" > +<cdparam x="376" y="98" /> +<sizeparam width="249" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="UML Note" value="The first two layers of the OSI model +are used to communicate between +the smart card and the terminal +" /> +<TGConnectingPoint num="0" id="1332" /> +<TGConnectingPoint num="1" id="1333" /> +<TGConnectingPoint num="2" id="1334" /> +<TGConnectingPoint num="3" id="1335" /> +<TGConnectingPoint num="4" id="1336" /> +<TGConnectingPoint num="5" id="1337" /> +<TGConnectingPoint num="6" id="1338" /> +<TGConnectingPoint num="7" id="1339" /> +<TGConnectingPoint num="8" id="1340" /> +<TGConnectingPoint num="9" id="1341" /> +<TGConnectingPoint num="10" id="1342" /> +<TGConnectingPoint num="11" id="1343" /> +<TGConnectingPoint num="12" id="1344" /> +<TGConnectingPoint num="13" id="1345" /> +<TGConnectingPoint num="14" id="1346" /> +<TGConnectingPoint num="15" id="1347" /> +<extraparam> +<Line value="The first two layers of the OSI model " /> +<Line value="are used to communicate between " /> +<Line value="the smart card and the terminal" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1007" id="1351" > +<cdparam x="250" y="97" /> +<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="1400" minY="10" maxY="900" /> +<infoparam name="send request" value="start_TCP_IP()" /> +<TGConnectingPoint num="0" id="1349" /> +<TGConnectingPoint num="1" id="1350" /> +<extraparam> +<Data requestName="start_TCP_IP" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1007" id="1354" > +<cdparam x="236" y="148" /> +<sizeparam width="125" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send request" value="start_Application()" /> +<TGConnectingPoint num="0" id="1352" /> +<TGConnectingPoint num="1" id="1353" /> +<extraparam> +<Data requestName="start_Application" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1356" > +<cdparam x="581" y="550" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1355" /> +</COMPONENT> + +<COMPONENT type="1008" id="1359" > +<cdparam x="236" y="471" /> +<sizeparam width="115" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="data_Ready_SC()" /> +<TGConnectingPoint num="0" id="1357" /> +<TGConnectingPoint num="1" id="1358" /> +<extraparam> +<Data eventName="data_Ready_SC" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1361" > +<cdparam x="283" y="547" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1360" /> +</COMPONENT> + +<COMPONENT type="1009" id="1364" > +<cdparam x="249" y="429" /> +<sizeparam width="88" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="read channel" value="fromTtoP(1) " /> +<TGConnectingPoint num="0" id="1362" /> +<TGConnectingPoint num="1" id="1363" /> +<extraparam> +<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1367" > +<cdparam x="266" y="385" /> +<sizeparam width="55" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="send() " /> +<TGConnectingPoint num="0" id="1365" /> +<TGConnectingPoint num="1" id="1366" /> +<extraparam> +<Data eventName="send" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="1370" > +<cdparam x="246" y="513" /> +<sizeparam width="94" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="write channel" value="fromSCtoD(1)" /> +<TGConnectingPoint num="0" id="1368" /> +<TGConnectingPoint num="1" id="1369" /> +<extraparam> +<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="1373" > +<cdparam x="559" y="472" /> +<sizeparam width="65" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="send event" value="receive()" /> +<TGConnectingPoint num="0" id="1371" /> +<TGConnectingPoint num="1" id="1372" /> +<extraparam> +<Data eventName="receive" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1009" id="1376" > +<cdparam x="542" y="433" /> +<sizeparam width="98" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="read channel" value="fromDtoSC(1) " /> +<TGConnectingPoint num="0" id="1374" /> +<TGConnectingPoint num="1" id="1375" /> +<extraparam> +<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1006" id="1379" > +<cdparam x="549" y="509" /> +<sizeparam width="84" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="write channel" value="fromPtoT(1)" /> +<TGConnectingPoint num="0" id="1377" /> +<TGConnectingPoint num="1" id="1378" /> +<extraparam> +<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="1382" > +<cdparam x="532" y="390" /> +<sizeparam width="118" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="wait event" value="data_Ready(t, b) " /> +<TGConnectingPoint num="0" id="1380" /> +<TGConnectingPoint num="1" id="1381" /> +<extraparam> +<Data eventName="data_Ready" nbOfParams="5" /> +<Param index="0" value="t" /> +<Param index="1" value="b" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1014" id="1386" > +<cdparam x="236" y="261" /> +<sizeparam width="124" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<enabled value="true" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="for loop" value="for(j=0;x==0;j = j)" /> +<TGConnectingPoint num="0" id="1383" /> +<TGConnectingPoint num="1" id="1384" /> +<TGConnectingPoint num="2" id="1385" /> +<extraparam> +<Data init="j=0" condition="x==0" increment="j = j" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="1388" > +<cdparam x="275" y="309" /> +<sizeparam width="20" height="20" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="stop state" value="null" /> +<TGConnectingPoint num="0" id="1387" /> +</COMPONENT> + +<COMPONENT type="1018" id="1399" > +<cdparam x="424" y="285" /> +<sizeparam width="30" height="30" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="select" value="null" /> +<TGConnectingPoint num="0" id="1389" /> +<TGConnectingPoint num="1" id="1390" /> +<TGConnectingPoint num="2" id="1391" /> +<TGConnectingPoint num="3" id="1392" /> +<TGConnectingPoint num="4" id="1393" /> +<TGConnectingPoint num="5" id="1394" /> +<TGConnectingPoint num="6" id="1395" /> +<TGConnectingPoint num="7" id="1396" /> +<TGConnectingPoint num="8" id="1397" /> +<TGConnectingPoint num="9" id="1398" /> +</COMPONENT> + +<CONNECTOR type="115" id="1400" > +<cdparam x="302" y="227" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="302" y="226" id="1316" /> +<P2 x="298" y="256" id="1383" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1405" > +<cdparam x="111" y="331" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to send request" value="null" /> +<P1 x="166" y="333" id="1330" /> +<P2 x="298" y="92" id="1349" /> +<Point x="166" y="353" /> +<Point x="225" y="353" /> +<Point x="225" y="72" /> +<Point x="278" y="72" /> +<AutomaticDrawing data="true" /> +</CONNECTOR><SUBCOMPONENT type="-1" id="1401" > +<father id="1405" num="0" /> +<cdparam x="166" y="353" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1402" > +<father id="1405" num="1" /> +<cdparam x="225" y="353" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1403" > +<father id="1405" num="2" /> +<cdparam x="225" y="72" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> +<SUBCOMPONENT type="-1" id="1404" > +<father id="1405" num="3" /> +<cdparam x="278" y="72" /> +<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" /> +<infoparam name="point " value="null" /> +</SUBCOMPONENT> + +<CONNECTOR type="115" id="1406" > +<cdparam x="166" y="64" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from start state to wait event" value="null" /> +<P1 x="166" y="86" id="1318" /> +<P2 x="166" y="124" id="1320" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1407" > +<cdparam x="166" y="154" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to send event" value="null" /> +<P1 x="166" y="154" id="1321" /> +<P2 x="166" y="177" id="1323" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1408" > +<cdparam x="312" y="133" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to send request" value="null" /> +<P1 x="298" y="122" id="1350" /> +<P2 x="298" y="143" id="1352" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1409" > +<cdparam x="286" y="421" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to read channel" value="null" /> +<P1 x="293" y="410" id="1366" /> +<P2 x="293" y="424" id="1362" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1410" > +<cdparam x="286" y="486" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from read channel to send event" value="null" /> +<P1 x="293" y="454" id="1363" /> +<P2 x="293" y="466" id="1357" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1411" > +<cdparam x="286" y="538" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to write channel" value="null" /> +<P1 x="293" y="496" id="1358" /> +<P2 x="293" y="508" id="1368" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1412" > +<cdparam x="286" y="594" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="293" y="538" id="1369" /> +<P2 x="293" y="542" id="1360" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1413" > +<cdparam x="607" y="480" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from read channel to send event" value="null" /> +<P1 x="591" y="458" id="1375" /> +<P2 x="591" y="467" id="1371" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1414" > +<cdparam x="606" y="524" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to write channel" value="null" /> +<P1 x="591" y="497" id="1372" /> +<P2 x="591" y="504" id="1377" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1415" > +<cdparam x="609" y="427" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to read channel" value="null" /> +<P1 x="591" y="415" id="1381" /> +<P2 x="591" y="428" id="1374" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1416" > +<cdparam x="606" y="586" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from write channel to stop state" value="null" /> +<P1 x="591" y="534" id="1378" /> +<P2 x="591" y="545" id="1355" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1417" > +<cdparam x="298" y="173" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send request to for loop" value="null" /> +<P1 x="298" y="173" id="1353" /> +<P2 x="302" y="196" id="1315" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1418" > +<cdparam x="328" y="291" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from for loop to stop state" value="null" /> +<P1 x="298" y="286" id="1385" /> +<P2 x="285" y="304" id="1387" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1419" > +<cdparam x="385" y="404" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from select to wait event" value="null" /> +<P1 x="399" y="300" id="1390" /> +<P2 x="293" y="380" id="1365" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1420" > +<cdparam x="533" y="462" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from select to wait event" value="null" /> +<P1 x="479" y="300" id="1391" /> +<P2 x="591" y="385" id="1380" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1421" > +<cdparam x="391" y="341" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from for loop to select" value="null" /> +<P1 x="360" y="275" id="1384" /> +<P2 x="439" y="280" id="1389" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1422" > +<cdparam x="164" y="262" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from wait event to send event" value="null" /> +<P1 x="166" y="262" id="1327" /> +<P2 x="166" y="303" id="1329" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1423" > +<cdparam x="166" y="207" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from send event to wait event" value="null" /> +<P1 x="166" y="207" id="1324" /> +<P2 x="166" y="232" id="1326" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1424" > +<cdparam x="439" y="340" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="439" y="340" id="1392" /> +<P2 x="440" y="359" id="1312" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="1425" > +<cdparam x="440" y="389" /> +<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="389" id="1313" /> +<P2 x="440" y="403" id="1310" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Mapping3" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1105" id="1746" > +<cdparam x="309" y="358" /> +<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="Memory0" value="name" /> +<TGConnectingPoint num="0" id="1722" /> +<TGConnectingPoint num="1" id="1723" /> +<TGConnectingPoint num="2" id="1724" /> +<TGConnectingPoint num="3" id="1725" /> +<TGConnectingPoint num="4" id="1726" /> +<TGConnectingPoint num="5" id="1727" /> +<TGConnectingPoint num="6" id="1728" /> +<TGConnectingPoint num="7" id="1729" /> +<TGConnectingPoint num="8" id="1730" /> +<TGConnectingPoint num="9" id="1731" /> +<TGConnectingPoint num="10" id="1732" /> +<TGConnectingPoint num="11" id="1733" /> +<TGConnectingPoint num="12" id="1734" /> +<TGConnectingPoint num="13" id="1735" /> +<TGConnectingPoint num="14" id="1736" /> +<TGConnectingPoint num="15" id="1737" /> +<TGConnectingPoint num="16" id="1738" /> +<TGConnectingPoint num="17" id="1739" /> +<TGConnectingPoint num="18" id="1740" /> +<TGConnectingPoint num="19" id="1741" /> +<TGConnectingPoint num="20" id="1742" /> +<TGConnectingPoint num="21" id="1743" /> +<TGConnectingPoint num="22" id="1744" /> +<TGConnectingPoint num="23" id="1745" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="1771" > +<cdparam x="278" y="269" /> +<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="Bus0" value="name" /> +<TGConnectingPoint num="0" id="1747" /> +<TGConnectingPoint num="1" id="1748" /> +<TGConnectingPoint num="2" id="1749" /> +<TGConnectingPoint num="3" id="1750" /> +<TGConnectingPoint num="4" id="1751" /> +<TGConnectingPoint num="5" id="1752" /> +<TGConnectingPoint num="6" id="1753" /> +<TGConnectingPoint num="7" id="1754" /> +<TGConnectingPoint num="8" id="1755" /> +<TGConnectingPoint num="9" id="1756" /> +<TGConnectingPoint num="10" id="1757" /> +<TGConnectingPoint num="11" id="1758" /> +<TGConnectingPoint num="12" id="1759" /> +<TGConnectingPoint num="13" id="1760" /> +<TGConnectingPoint num="14" id="1761" /> +<TGConnectingPoint num="15" id="1762" /> +<TGConnectingPoint num="16" id="1763" /> +<TGConnectingPoint num="17" id="1764" /> +<TGConnectingPoint num="18" id="1765" /> +<TGConnectingPoint num="19" id="1766" /> +<TGConnectingPoint num="20" id="1767" /> +<TGConnectingPoint num="21" id="1768" /> +<TGConnectingPoint num="22" id="1769" /> +<TGConnectingPoint num="23" id="1770" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="5" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="1805" > +<cdparam x="56" y="231" /> +<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="CPU1" value="name" /> +<TGConnectingPoint num="0" id="1781" /> +<TGConnectingPoint num="1" id="1782" /> +<TGConnectingPoint num="2" id="1783" /> +<TGConnectingPoint num="3" id="1784" /> +<TGConnectingPoint num="4" id="1785" /> +<TGConnectingPoint num="5" id="1786" /> +<TGConnectingPoint num="6" id="1787" /> +<TGConnectingPoint num="7" id="1788" /> +<TGConnectingPoint num="8" id="1789" /> +<TGConnectingPoint num="9" id="1790" /> +<TGConnectingPoint num="10" id="1791" /> +<TGConnectingPoint num="11" id="1792" /> +<TGConnectingPoint num="12" id="1793" /> +<TGConnectingPoint num="13" id="1794" /> +<TGConnectingPoint num="14" id="1795" /> +<TGConnectingPoint num="15" id="1796" /> +<TGConnectingPoint num="16" id="1797" /> +<TGConnectingPoint num="17" id="1798" /> +<TGConnectingPoint num="18" id="1799" /> +<TGConnectingPoint num="19" id="1800" /> +<TGConnectingPoint num="20" id="1801" /> +<TGConnectingPoint num="21" id="1802" /> +<TGConnectingPoint num="22" id="1803" /> +<TGConnectingPoint num="23" id="1804" /> +<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="2" operation="" MECType="0" encryption="0"/> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="1780" > +<father id="1805" num="0" /> +<cdparam x="49" y="281" /> +<sizeparam width="172" height="40" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="-7" minY="0" maxY="86" /> +<infoparam name="TGComponent" value="AppC::InterfaceDevice" /> +<TGConnectingPoint num="0" id="1772" /> +<TGConnectingPoint num="1" id="1773" /> +<TGConnectingPoint num="2" id="1774" /> +<TGConnectingPoint num="3" id="1775" /> +<TGConnectingPoint num="4" id="1776" /> +<TGConnectingPoint num="5" id="1777" /> +<TGConnectingPoint num="6" id="1778" /> +<TGConnectingPoint num="7" id="1779" /> +<extraparam> +<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1104" id="1839" > +<cdparam x="628" y="193" /> +<sizeparam width="200" height="200" minWidth="100" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="HWA0" value="name" /> +<TGConnectingPoint num="0" id="1815" /> +<TGConnectingPoint num="1" id="1816" /> +<TGConnectingPoint num="2" id="1817" /> +<TGConnectingPoint num="3" id="1818" /> +<TGConnectingPoint num="4" id="1819" /> +<TGConnectingPoint num="5" id="1820" /> +<TGConnectingPoint num="6" id="1821" /> +<TGConnectingPoint num="7" id="1822" /> +<TGConnectingPoint num="8" id="1823" /> +<TGConnectingPoint num="9" id="1824" /> +<TGConnectingPoint num="10" id="1825" /> +<TGConnectingPoint num="11" id="1826" /> +<TGConnectingPoint num="12" id="1827" /> +<TGConnectingPoint num="13" id="1828" /> +<TGConnectingPoint num="14" id="1829" /> +<TGConnectingPoint num="15" id="1830" /> +<TGConnectingPoint num="16" id="1831" /> +<TGConnectingPoint num="17" id="1832" /> +<TGConnectingPoint num="18" id="1833" /> +<TGConnectingPoint num="19" id="1834" /> +<TGConnectingPoint num="20" id="1835" /> +<TGConnectingPoint num="21" id="1836" /> +<TGConnectingPoint num="22" id="1837" /> +<TGConnectingPoint num="23" id="1838" /> +<extraparam> +<info stereotype="HWA" nodeName="HWA0" /> +<attributes byteDataSize="4" execiTime="1" clockRatio="1" operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="1814" > +<father id="1839" num="0" /> +<cdparam x="664" y="251" /> +<sizeparam width="109" height="40" minWidth="75" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="91" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="AppC::Timer" /> +<TGConnectingPoint num="0" id="1806" /> +<TGConnectingPoint num="1" id="1807" /> +<TGConnectingPoint num="2" id="1808" /> +<TGConnectingPoint num="3" id="1809" /> +<TGConnectingPoint num="4" id="1810" /> +<TGConnectingPoint num="5" id="1811" /> +<TGConnectingPoint num="6" id="1812" /> +<TGConnectingPoint num="7" id="1813" /> +<extraparam> +<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operationMEC="" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1116" id="1891" > +<cdparam x="247" y="30" /> +<sizeparam width="313" height="201" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" /> +<infoparam name="FPGA0" value="name" /> +<TGConnectingPoint num="0" id="1867" /> +<TGConnectingPoint num="1" id="1868" /> +<TGConnectingPoint num="2" id="1869" /> +<TGConnectingPoint num="3" id="1870" /> +<TGConnectingPoint num="4" id="1871" /> +<TGConnectingPoint num="5" id="1872" /> +<TGConnectingPoint num="6" id="1873" /> +<TGConnectingPoint num="7" id="1874" /> +<TGConnectingPoint num="8" id="1875" /> +<TGConnectingPoint num="9" id="1876" /> +<TGConnectingPoint num="10" id="1877" /> +<TGConnectingPoint num="11" id="1878" /> +<TGConnectingPoint num="12" id="1879" /> +<TGConnectingPoint num="13" id="1880" /> +<TGConnectingPoint num="14" id="1881" /> +<TGConnectingPoint num="15" id="1882" /> +<TGConnectingPoint num="16" id="1883" /> +<TGConnectingPoint num="17" id="1884" /> +<TGConnectingPoint num="18" id="1885" /> +<TGConnectingPoint num="19" id="1886" /> +<TGConnectingPoint num="20" id="1887" /> +<TGConnectingPoint num="21" id="1888" /> +<TGConnectingPoint num="22" id="1889" /> +<TGConnectingPoint num="23" id="1890" /> +<extraparam> +<info stereotype="FPGA" nodeName="FPGA0" /> +<attributes capacity="100" byteDataSize="4" mappingPenalty="0" reconfigurationTime="50" goIdleTime="10" maxConsecutiveIdleCycles="10" execiTime="1" execcTime="1" clockRatio="1" operation ="" scheduling ="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1101" id="1848" > +<father id="1891" num="0" /> +<cdparam x="340" y="180" /> +<sizeparam width="109" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="204" minY="0" maxY="161" /> +<infoparam name="TGComponent" value="AppC::TCPIP" /> +<TGConnectingPoint num="0" id="1840" /> +<TGConnectingPoint num="1" id="1841" /> +<TGConnectingPoint num="2" id="1842" /> +<TGConnectingPoint num="3" id="1843" /> +<TGConnectingPoint num="4" id="1844" /> +<TGConnectingPoint num="5" id="1845" /> +<TGConnectingPoint num="6" id="1846" /> +<TGConnectingPoint num="7" id="1847" /> +<extraparam> +<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operationMEC="Application" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="1857" > +<father id="1891" num="1" /> +<cdparam x="277" y="125" /> +<sizeparam width="141" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="172" minY="0" maxY="161" /> +<infoparam name="TGComponent" value="AppC::SmartCard" /> +<TGConnectingPoint num="0" id="1849" /> +<TGConnectingPoint num="1" id="1850" /> +<TGConnectingPoint num="2" id="1851" /> +<TGConnectingPoint num="3" id="1852" /> +<TGConnectingPoint num="4" id="1853" /> +<TGConnectingPoint num="5" id="1854" /> +<TGConnectingPoint num="6" id="1855" /> +<TGConnectingPoint num="7" id="1856" /> +<extraparam> +<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operationMEC="Application" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="1866" > +<father id="1891" num="2" /> +<cdparam x="270" y="75" /> +<sizeparam width="144" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="169" minY="0" maxY="161" /> +<infoparam name="TGComponent" value="AppC::Application" /> +<TGConnectingPoint num="0" id="1858" /> +<TGConnectingPoint num="1" id="1859" /> +<TGConnectingPoint num="2" id="1860" /> +<TGConnectingPoint num="3" id="1861" /> +<TGConnectingPoint num="4" id="1862" /> +<TGConnectingPoint num="5" id="1863" /> +<TGConnectingPoint num="6" id="1864" /> +<TGConnectingPoint num="7" id="1865" /> +<extraparam> +<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operationMEC="Application" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="1892" > +<cdparam x="612" y="289" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="628" y="293" id="1818" /> +<P2 x="528" y="294" id="1751" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="1893" > +<cdparam x="402" y="367" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from Memory0 to Bus0" value="{info}" /> +<P1 x="403" y="358" id="1723" /> +<P2 x="403" y="319" id="1753" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="1894" > +<cdparam x="190" y="300" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector from CPU1 to Bus0" value="{info}" /> +<P1 x="221" y="294" id="1785" /> +<P2 x="278" y="294" id="1750" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="1895" > +<cdparam x="413" y="222" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="403" y="231" id="1873" /> +<P2 x="403" y="269" id="1748" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tarchi b/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tarchi deleted file mode 100644 index 80fbef6763bdbc9bf59e5dbde6aee48920518534..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE CPU CPU0 -SET CPU0 nbOfCores 1 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE LINK link_CPU0_to_Bus0 -SET link_CPU0_to_Bus0 node CPU0 -SET link_CPU0_to_Bus0 bus Bus0 -SET link_CPU0_to_Bus0 priority 0 -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tmap b/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tmap deleted file mode 100644 index b49cf418d7811415dc95c0004372e69da99ccf23..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "testDaemon.tml" -ENDTMLSPEC - -TMLARCHI - #include "testDaemon.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 FVWithRequest__Sender - SET FVWithRequest__Sender priority 0 - MAP CPU0 FVWithRequest__Periodic - SET FVWithRequest__Periodic priority 0 - MAP CPU0 FVWithRequest__AnotherTask - SET FVWithRequest__AnotherTask priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tml b/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tml deleted file mode 100644 index e548fc26bc9aec17e4f8427b3bcde0ad38522119..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.tml +++ /dev/null @@ -1,52 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/testDaemon.xml -// Generated: Mon Apr 19 18:54:54 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL FVWithRequest__comm1__FVWithRequest__comm BRNBW 32 OUT FVWithRequest__Sender IN FVWithRequest__AnotherTask -VCCHANNEL FVWithRequest__comm1__FVWithRequest__comm 0 - -// Events -EVENT FVWithRequest__go__FVWithRequest__go() INF FVWithRequest__Periodic FVWithRequest__Sender - -// Requests - -TASK FVWithRequest__AnotherTask - TASKOP - //Local variables - int loop__0 = 0 - - //Behavior - FOR(loop__0 = 0; loop__0<5; loop__0 = loop__0 + 1) - READ FVWithRequest__comm1__FVWithRequest__comm 5 - ENDFOR -ENDTASK - -TASK FVWithRequest__Periodic - DAEMON - TASKOP - //Local variables - - //Behavior - FOR( ; ; ) - NOTIFY FVWithRequest__go__FVWithRequest__go - DELAY 10 ns isActiveDelay false - ENDFOR -ENDTASK - -TASK FVWithRequest__Sender - DAEMON - TASKOP - //Local variables - int x - int y - - //Behavior - FOR( ; ; ) - WAIT FVWithRequest__go__FVWithRequest__go - WRITE FVWithRequest__comm1__FVWithRequest__comm 5 - ENDFOR -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/testDaemon.xml b/ttool/src/test/resources/tmltranslator/simulator/testDaemon.xml new file mode 100644 index 0000000000000000000000000000000000000000..a98180bc8556e6bddbbb58c1f6c0aec96be70edf --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/testDaemon.xml @@ -0,0 +1,641 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="false" UPDATE_INFORMATION_DIPLO_SIM="true" 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="FVWithRequest" tabs="TML Component Task Diagram$AnotherTask$Sender$Periodic" > +<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="10" maxX="2500" minY="10" maxY="1500" channels="true" events="true" requests="true" zoom="1.0000000000000007" > +<CONNECTOR type="126" id="1" > +<cdparam x="609" y="299" /> +<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="633" y="308" id="14" /> +<P2 x="785" y="308" id="27" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="2" > +<cdparam x="966" y="410" /> +<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="910" y="383" id="25" /> +<P2 x="978" y="608" id="3" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="13" > +<cdparam x="890" y="621" /> +<sizeparam width="200" height="150" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="9" maxX="2499" minY="9" maxY="1499" /> +<infoparam name="Primitive component" value="AnotherTask" /> +<TGConnectingPoint num="0" id="5" /> +<TGConnectingPoint num="1" id="6" /> +<TGConnectingPoint num="2" id="7" /> +<TGConnectingPoint num="3" id="8" /> +<TGConnectingPoint num="4" id="9" /> +<TGConnectingPoint num="5" id="10" /> +<TGConnectingPoint num="6" id="11" /> +<TGConnectingPoint num="7" id="12" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ns" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="4" > +<father id="13" num="0" /> +<cdparam x="965" y="608" /> +<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 comm" /> +<TGConnectingPoint num="0" id="3" /> +<extraparam> +<Prop commName="comm" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="32" 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="24" > +<cdparam x="420" y="219" /> +<sizeparam width="200" height="150" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="9" maxX="2499" minY="9" maxY="1499" /> +<infoparam name="Primitive component" value="Periodic" /> +<TGConnectingPoint num="0" id="16" /> +<TGConnectingPoint num="1" id="17" /> +<TGConnectingPoint num="2" id="18" /> +<TGConnectingPoint num="3" id="19" /> +<TGConnectingPoint num="4" id="20" /> +<TGConnectingPoint num="5" id="21" /> +<TGConnectingPoint num="6" id="22" /> +<TGConnectingPoint num="7" id="23" /> +<extraparam> +<Data isAttacker="No" daemon="true" periodic="false" periodValue="10" unit="us" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="15" > +<father id="24" num="0" /> +<cdparam x="607" y="295" /> +<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 go" /> +<TGConnectingPoint num="0" id="14" /> +<extraparam> +<Prop commName="go" commType="1" origin="true" finite="false" blocking="false" maxSamples="200" widthSamples="1" 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="37" > +<cdparam x="798" y="220" /> +<sizeparam width="200" height="150" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="9" maxX="2499" minY="9" maxY="1499" /> +<infoparam name="Primitive component" value="Sender" /> +<TGConnectingPoint num="0" id="29" /> +<TGConnectingPoint num="1" id="30" /> +<TGConnectingPoint num="2" id="31" /> +<TGConnectingPoint num="3" id="32" /> +<TGConnectingPoint num="4" id="33" /> +<TGConnectingPoint num="5" id="34" /> +<TGConnectingPoint num="6" id="35" /> +<TGConnectingPoint num="7" id="36" /> +<extraparam> +<Data isAttacker="No" daemon="true" periodic="false" periodValue="10" unit="us" Operation="" /> +<Attribute access="2" id="x" value="" type="0" typeOther="" /> +<Attribute access="2" id="y" value="" type="0" typeOther="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="26" > +<father id="37" num="0" /> +<cdparam x="897" y="357" /> +<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 comm1" /> +<TGConnectingPoint num="0" id="25" /> +<extraparam> +<Prop commName="comm1" commType="0" origin="true" finite="false" blocking="false" maxSamples="200" widthSamples="32" 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="28" > +<father id="37" num="1" /> +<cdparam x="785" y="295" /> +<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 go" /> +<TGConnectingPoint num="0" id="27" /> +<extraparam> +<Prop commName="go" 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="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="AnotherTask" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="39" > +<cdparam x="568" y="193" /> +<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="38" /> +</COMPONENT> + +<COMPONENT type="1020" id="43" > +<cdparam x="542" y="156" /> +<sizeparam width="98" 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="for loop" value="5" /> +<TGConnectingPoint num="0" id="40" /> +<TGConnectingPoint num="1" id="41" /> +<TGConnectingPoint num="2" id="42" /> +</COMPONENT> + +<COMPONENT type="1000" id="45" > +<cdparam x="597" y="107" /> +<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="44" /> +</COMPONENT> + +<COMPONENT type="1001" id="47" > +<cdparam x="669" y="278" /> +<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="46" /> +</COMPONENT> + +<COMPONENT type="1009" id="50" > +<cdparam x="622" y="215" /> +<sizeparam width="105" 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="comm(5) " /> +<TGConnectingPoint num="0" id="48" /> +<TGConnectingPoint num="1" id="49" /> +<extraparam> +<Data channelName="comm" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="115" id="51" > +<cdparam x="674" y="240" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="674" y="240" id="49" /> +<P2 x="679" y="273" id="46" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="52" > +<cdparam x="604" y="127" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="604" y="127" id="44" /> +<P2 x="591" y="151" id="40" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="53" > +<cdparam x="647" y="164" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="640" y="170" id="41" /> +<P2 x="674" y="210" id="48" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="54" > +<cdparam x="591" y="181" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="591" y="181" id="42" /> +<P2 x="578" y="188" id="38" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Sender" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1010" id="57" > +<cdparam x="575" y="173" /> +<sizeparam width="63" 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="go() " /> +<TGConnectingPoint num="0" id="55" /> +<TGConnectingPoint num="1" id="56" /> +<extraparam> +<Data eventName="go" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1030" id="60" > +<cdparam x="483" y="122" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="58" /> +<TGConnectingPoint num="1" id="59" /> +</COMPONENT> + +<COMPONENT type="1000" id="62" > +<cdparam x="510" 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="61" /> +</COMPONENT> + +<COMPONENT type="1001" id="64" > +<cdparam x="602" y="321" /> +<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="63" /> +</COMPONENT> + +<COMPONENT type="1006" id="67" > +<cdparam x="558" y="244" /> +<sizeparam width="109" 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="comm1(5)" /> +<TGConnectingPoint num="0" id="65" /> +<TGConnectingPoint num="1" id="66" /> +<breakpoint /> +<extraparam> +<Data channelName="comm1" nbOfSamples="5" secPattern="" isAttacker="No" isEncForm="No" /> +</extraparam> +</COMPONENT> + +<CONNECTOR type="115" id="68" > +<cdparam x="614" y="188" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="517" y="96" id="61" /> +<P2 x="529" y="117" id="58" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="69" > +<cdparam x="640" y="269" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="612" y="269" id="66" /> +<P2 x="612" y="316" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="70" > +<cdparam x="575" y="136" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="575" y="136" id="59" /> +<P2 x="606" y="168" id="55" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="71" > +<cdparam x="584" y="187" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="606" y="198" id="56" /> +<P2 x="612" y="239" id="65" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="Periodic" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="73" > +<cdparam x="575" y="355" /> +<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="72" /> +</COMPONENT> + +<COMPONENT type="1026" id="77" > +<cdparam x="570" y="291" /> +<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="75" /> +<TGConnectingPoint num="1" id="76" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="74" > +<father id="77" num="0" /> +<cdparam x="585" y="311" /> +<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="1008" id="80" > +<cdparam x="530" y="224" /> +<sizeparam width="59" 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="go()" /> +<TGConnectingPoint num="0" id="78" /> +<TGConnectingPoint num="1" id="79" /> +<extraparam> +<Data eventName="go" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="82" > +<cdparam x="494" y="129" /> +<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="81" /> +</COMPONENT> + +<COMPONENT type="1030" id="85" > +<cdparam x="457" y="169" /> +<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="for ever loop" value="Loop for ever" /> +<TGConnectingPoint num="0" id="83" /> +<TGConnectingPoint num="1" id="84" /> +</COMPONENT> + +<CONNECTOR type="115" id="86" > +<cdparam x="501" y="149" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="501" y="149" id="81" /> +<P2 x="503" y="164" id="83" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="87" > +<cdparam x="549" y="183" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="549" y="183" id="84" /> +<P2 x="559" y="219" id="78" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="88" > +<cdparam x="580" y="249" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="559" y="249" id="79" /> +<P2 x="575" y="286" id="75" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="89" > +<cdparam x="583" y="318" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="575" y="326" id="76" /> +<P2 x="585" y="350" id="72" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="0" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1105" id="114" > +<cdparam x="543" y="50" /> +<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="90" /> +<TGConnectingPoint num="1" id="91" /> +<TGConnectingPoint num="2" id="92" /> +<TGConnectingPoint num="3" id="93" /> +<TGConnectingPoint num="4" id="94" /> +<TGConnectingPoint num="5" id="95" /> +<TGConnectingPoint num="6" id="96" /> +<TGConnectingPoint num="7" id="97" /> +<TGConnectingPoint num="8" id="98" /> +<TGConnectingPoint num="9" id="99" /> +<TGConnectingPoint num="10" id="100" /> +<TGConnectingPoint num="11" id="101" /> +<TGConnectingPoint num="12" id="102" /> +<TGConnectingPoint num="13" id="103" /> +<TGConnectingPoint num="14" id="104" /> +<TGConnectingPoint num="15" id="105" /> +<TGConnectingPoint num="16" id="106" /> +<TGConnectingPoint num="17" id="107" /> +<TGConnectingPoint num="18" id="108" /> +<TGConnectingPoint num="19" id="109" /> +<TGConnectingPoint num="20" id="110" /> +<TGConnectingPoint num="21" id="111" /> +<TGConnectingPoint num="22" id="112" /> +<TGConnectingPoint num="23" id="113" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="139" > +<cdparam x="354" y="306" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="115" /> +<TGConnectingPoint num="1" id="116" /> +<TGConnectingPoint num="2" id="117" /> +<TGConnectingPoint num="3" id="118" /> +<TGConnectingPoint num="4" id="119" /> +<TGConnectingPoint num="5" id="120" /> +<TGConnectingPoint num="6" id="121" /> +<TGConnectingPoint num="7" id="122" /> +<TGConnectingPoint num="8" id="123" /> +<TGConnectingPoint num="9" id="124" /> +<TGConnectingPoint num="10" id="125" /> +<TGConnectingPoint num="11" id="126" /> +<TGConnectingPoint num="12" id="127" /> +<TGConnectingPoint num="13" id="128" /> +<TGConnectingPoint num="14" id="129" /> +<TGConnectingPoint num="15" id="130" /> +<TGConnectingPoint num="16" id="131" /> +<TGConnectingPoint num="17" id="132" /> +<TGConnectingPoint num="18" id="133" /> +<TGConnectingPoint num="19" id="134" /> +<TGConnectingPoint num="20" id="135" /> +<TGConnectingPoint num="21" id="136" /> +<TGConnectingPoint num="22" id="137" /> +<TGConnectingPoint num="23" id="138" /> +<extraparam> +<info stereotype="Bus" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="191" > +<cdparam x="57" y="57" /> +<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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="167" /> +<TGConnectingPoint num="1" id="168" /> +<TGConnectingPoint num="2" id="169" /> +<TGConnectingPoint num="3" id="170" /> +<TGConnectingPoint num="4" id="171" /> +<TGConnectingPoint num="5" id="172" /> +<TGConnectingPoint num="6" id="173" /> +<TGConnectingPoint num="7" id="174" /> +<TGConnectingPoint num="8" id="175" /> +<TGConnectingPoint num="9" id="176" /> +<TGConnectingPoint num="10" id="177" /> +<TGConnectingPoint num="11" id="178" /> +<TGConnectingPoint num="12" id="179" /> +<TGConnectingPoint num="13" id="180" /> +<TGConnectingPoint num="14" id="181" /> +<TGConnectingPoint num="15" id="182" /> +<TGConnectingPoint num="16" id="183" /> +<TGConnectingPoint num="17" id="184" /> +<TGConnectingPoint num="18" id="185" /> +<TGConnectingPoint num="19" id="186" /> +<TGConnectingPoint num="20" id="187" /> +<TGConnectingPoint num="21" id="188" /> +<TGConnectingPoint num="22" id="189" /> +<TGConnectingPoint num="23" id="190" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<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="148" > +<father id="191" num="0" /> +<cdparam x="91" y="104" /> +<sizeparam width="216" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="34" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="FVWithRequest::AnotherTask" /> +<TGConnectingPoint num="0" id="140" /> +<TGConnectingPoint num="1" id="141" /> +<TGConnectingPoint num="2" id="142" /> +<TGConnectingPoint num="3" id="143" /> +<TGConnectingPoint num="4" id="144" /> +<TGConnectingPoint num="5" id="145" /> +<TGConnectingPoint num="6" id="146" /> +<TGConnectingPoint num="7" id="147" /> +<extraparam> +<info value="FVWithRequest::AnotherTask" taskName="AnotherTask" referenceTaskName="FVWithRequest" priority="0" operationMEC="AnotherTask" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="157" > +<father id="191" num="1" /> +<cdparam x="96" y="157" /> +<sizeparam width="187" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="63" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="FVWithRequest::Periodic" /> +<TGConnectingPoint num="0" id="149" /> +<TGConnectingPoint num="1" id="150" /> +<TGConnectingPoint num="2" id="151" /> +<TGConnectingPoint num="3" id="152" /> +<TGConnectingPoint num="4" id="153" /> +<TGConnectingPoint num="5" id="154" /> +<TGConnectingPoint num="6" id="155" /> +<TGConnectingPoint num="7" id="156" /> +<extraparam> +<info value="FVWithRequest::Periodic" taskName="Periodic" referenceTaskName="FVWithRequest" priority="0" operationMEC="Periodic" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="166" > +<father id="191" num="2" /> +<cdparam x="111" y="206" /> +<sizeparam width="182" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="68" minY="0" maxY="160" /> +<infoparam name="TGComponent" value="FVWithRequest::Sender" /> +<TGConnectingPoint num="0" id="158" /> +<TGConnectingPoint num="1" id="159" /> +<TGConnectingPoint num="2" id="160" /> +<TGConnectingPoint num="3" id="161" /> +<TGConnectingPoint num="4" id="162" /> +<TGConnectingPoint num="5" id="163" /> +<TGConnectingPoint num="6" id="164" /> +<TGConnectingPoint num="7" id="165" /> +<extraparam> +<info value="FVWithRequest::Sender" taskName="Sender" referenceTaskName="FVWithRequest" priority="0" operationMEC="Sender" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="192" > +<cdparam x="244" y="257" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="244" y="257" id="182" /> +<P2 x="416" y="306" id="123" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="193" > +<cdparam x="593" y="250" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="{info}" /> +<P1 x="593" y="250" id="104" /> +<P2 x="541" y="306" id="124" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tarchi b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tarchi deleted file mode 100644 index 6037da0f873c0bcb19d364e589f8ab27bbf67a62..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 2 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 0 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE BUS defaultBus -SET defaultBus byteDataSize 4 -SET defaultBus pipelineSize 1 -SET defaultBus arbitration 0 -SET defaultBus clockDivider 1 - -NODE MEMORY defaultMemory -SET defaultMemory byteDataSize 4 -SET defaultMemory clockDivider 1 - -NODE LINK link_CPU0_to_defaultBus -SET link_CPU0_to_defaultBus node CPU0 -SET link_CPU0_to_defaultBus bus defaultBus -SET link_CPU0_to_defaultBus priority 0 -NODE LINK link_defaultMemory_to_defaultBus -SET link_defaultMemory_to_defaultBus node defaultMemory -SET link_defaultMemory_to_defaultBus bus defaultBus -SET link_defaultMemory_to_defaultBus priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tmap b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tmap deleted file mode 100644 index df80a7d1f61174042143df7971cbfb80b3522ed1..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tmap +++ /dev/null @@ -1,18 +0,0 @@ -TMLSPEC - #include "testMultiCoreRR.tml" -ENDTMLSPEC - -TMLARCHI - #include "testMultiCoreRR.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 Application__C3 - SET Application__C3 priority 5 - MAP CPU0 Application__C0 - SET Application__C0 priority 1 - MAP CPU0 Application__C1 - SET Application__C1 priority 0 - MAP CPU0 Application__S - SET Application__S priority 1 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tml b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tml deleted file mode 100644 index a8e8f02d135c49ea21741c493cfe6d7f4a69c851..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.tml +++ /dev/null @@ -1,48 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.xml -// Generated: Thu Apr 22 13:38:40 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT Application__evt__Application__evt() NIB 8 Application__S Application__C0 - -// Requests - -TASK Application__C0 - TASKOP - //Local variables - - //Behavior - EXECI 10 - WAIT Application__evt__Application__evt - EXECI 15 15 -ENDTASK - -TASK Application__C1 - TASKOP - //Local variables - - //Behavior - EXECI 15 15 -ENDTASK - -TASK Application__C3 - TASKOP - //Local variables - - //Behavior - EXECI 40 40 -ENDTASK - -TASK Application__S - TASKOP - //Local variables - - //Behavior - EXECI 16 16 - NOTIFY Application__evt__Application__evt -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.xml b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.xml new file mode 100644 index 0000000000000000000000000000000000000000..10dabf491223ebafe8490507ebe5090b4ce36d5b --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRR.xml @@ -0,0 +1,570 @@ +<?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="Application" tabs="TML Component Task Diagram$C0$S$C1$C3" > +<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="750" y="200" /> +<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="759" y="208" id="2" /> +<P2 x="406" y="214" id="13" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="759" y="154" /> +<sizeparam width="200" height="150" 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="Primitive component" value="S" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="746" y="208" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" 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="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="206" y="140" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C0" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="393" y="214" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" 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="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="32" > +<cdparam x="504" y="411" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C3" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="41" > +<cdparam x="203" y="407" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C1" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="43" > +<cdparam x="399" y="281" /> +<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="42" /> +</COMPONENT> + +<COMPONENT type="1015" id="47" > +<cdparam x="401" y="220" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="45" /> +<TGConnectingPoint num="1" id="46" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="44" > +<father id="47" num="0" /> +<cdparam x="416" y="240" /> +<sizeparam width="51" 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 time interval" value="[15, 15]" /> +<extraparam> +<Interval minDelay="15" maxDelay="15" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1010" id="50" > +<cdparam x="374" y="168" /> +<sizeparam width="63" 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="evt() " /> +<TGConnectingPoint num="0" id="48" /> +<TGConnectingPoint num="1" id="49" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="54" > +<cdparam x="401" y="105" /> +<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="52" /> +<TGConnectingPoint num="1" id="53" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="51" > +<father id="54" num="0" /> +<cdparam x="416" y="125" /> +<sizeparam width="16" 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="10" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="55" /> +<P2 x="406" y="100" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="406" y="140" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="140" id="53" /> +<P2 x="405" y="163" id="48" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="405" y="193" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="405" y="193" id="49" /> +<P2 x="406" y="215" id="45" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="406" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="255" id="46" /> +<P2 x="409" y="276" id="42" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="S" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="62" > +<cdparam x="461" y="239" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1008" id="65" > +<cdparam x="437" y="186" /> +<sizeparam width="59" 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="evt()" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1015" id="69" > +<cdparam x="448" y="121" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="67" /> +<TGConnectingPoint num="1" id="68" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="66" > +<father id="69" num="0" /> +<cdparam x="464" y="141" /> +<sizeparam width="51" 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 time interval" value="[16, 16]" /> +<extraparam> +<Interval minDelay="16" maxDelay="16" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="71" > +<cdparam x="440" y="64" /> +<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="70" /> +</COMPONENT> + +<CONNECTOR type="115" id="72" > +<cdparam x="447" y="84" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="447" y="84" id="70" /> +<P2 x="453" y="116" id="67" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="73" > +<cdparam x="453" y="156" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="453" y="156" id="68" /> +<P2 x="466" y="181" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="74" > +<cdparam x="466" y="211" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="466" y="211" id="64" /> +<P2 x="471" y="234" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="76" > +<cdparam x="399" y="281" /> +<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="75" /> +</COMPONENT> + +<COMPONENT type="1015" id="80" > +<cdparam x="401" y="220" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="78" /> +<TGConnectingPoint num="1" id="79" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="77" > +<father id="80" num="0" /> +<cdparam x="416" y="240" /> +<sizeparam width="51" 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 time interval" value="[15, 15]" /> +<extraparam> +<Interval minDelay="15" maxDelay="15" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="82" > +<cdparam x="400" y="50" /> +<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="81" /> +</COMPONENT> + +<CONNECTOR type="115" id="83" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="81" /> +<P2 x="406" y="215" id="78" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="84" > +<cdparam x="406" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="255" id="79" /> +<P2 x="409" y="276" id="75" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C3" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="86" > +<cdparam x="399" y="281" /> +<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="85" /> +</COMPONENT> + +<COMPONENT type="1015" id="90" > +<cdparam x="401" y="220" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="88" /> +<TGConnectingPoint num="1" id="89" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="87" > +<father id="90" num="0" /> +<cdparam x="416" y="240" /> +<sizeparam width="51" 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 time interval" value="[40, 40]" /> +<extraparam> +<Interval minDelay="40" maxDelay="40" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="92" > +<cdparam x="400" y="50" /> +<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="91" /> +</COMPONENT> + +<CONNECTOR type="115" id="93" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="91" /> +<P2 x="406" y="215" id="88" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="94" > +<cdparam x="406" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="255" id="89" /> +<P2 x="409" y="276" id="85" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="1" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1100" id="155" > +<cdparam x="173" y="174" /> +<sizeparam width="372" height="311" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURR" nodeName="CPU0" /> +<attributes nbOfCores="2" 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="103" > +<father id="155" num="0" /> +<cdparam x="254" y="252" /> +<sizeparam width="120" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="252" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::S" /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<TGConnectingPoint num="2" id="97" /> +<TGConnectingPoint num="3" id="98" /> +<TGConnectingPoint num="4" id="99" /> +<TGConnectingPoint num="5" id="100" /> +<TGConnectingPoint num="6" id="101" /> +<TGConnectingPoint num="7" id="102" /> +<extraparam> +<info value="Application::S" taskName="S" referenceTaskName="Application" priority="1" operationMEC="S" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="112" > +<father id="155" num="1" /> +<cdparam x="281" y="322" /> +<sizeparam width="128" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="244" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::C1" /> +<TGConnectingPoint num="0" id="104" /> +<TGConnectingPoint num="1" id="105" /> +<TGConnectingPoint num="2" id="106" /> +<TGConnectingPoint num="3" id="107" /> +<TGConnectingPoint num="4" id="108" /> +<TGConnectingPoint num="5" id="109" /> +<TGConnectingPoint num="6" id="110" /> +<TGConnectingPoint num="7" id="111" /> +<extraparam> +<info value="Application::C1" taskName="C1" referenceTaskName="Application" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="121" > +<father id="155" num="2" /> +<cdparam x="326" y="396" /> +<sizeparam width="128" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="244" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::C0" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="Application::C0" taskName="C0" referenceTaskName="Application" priority="1" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="3" /> +<cdparam x="410" y="259" /> +<sizeparam width="128" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="244" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::C3" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="Application::C3" taskName="C3" referenceTaskName="Application" priority="5" operationMEC="C3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tarchi b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tarchi deleted file mode 100644 index 669fdebaa4829af1df537a554dd860e80155ac04..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tarchi +++ /dev/null @@ -1,36 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE CPU CPU0 -SET CPU0 nbOfCores 2 -SET CPU0 byteDataSize 4 -SET CPU0 pipelineSize 5 -SET CPU0 goIdleTime 10 -SET CPU0 maxConsecutiveIdleCycles 10 -SET CPU0 taskSwitchingTime 20 -SET CPU0 branchingPredictionPenalty 2 -SET CPU0 cacheMiss 5 -SET CPU0 schedulingPolicy 1 -SET CPU0 sliceTime 10000 -SET CPU0 execiTime 1 -SET CPU0 execcTime 1 -SET CPU0 clockDivider 1 - -NODE BUS defaultBus -SET defaultBus byteDataSize 4 -SET defaultBus pipelineSize 1 -SET defaultBus arbitration 0 -SET defaultBus clockDivider 1 - -NODE MEMORY defaultMemory -SET defaultMemory byteDataSize 4 -SET defaultMemory clockDivider 1 - -NODE LINK link_CPU0_to_defaultBus -SET link_CPU0_to_defaultBus node CPU0 -SET link_CPU0_to_defaultBus bus defaultBus -SET link_CPU0_to_defaultBus priority 0 -NODE LINK link_defaultMemory_to_defaultBus -SET link_defaultMemory_to_defaultBus node defaultMemory -SET link_defaultMemory_to_defaultBus bus defaultBus -SET link_defaultMemory_to_defaultBus priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tmap b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tmap deleted file mode 100644 index 8f63db54eee6bdc8bb05252c9c42b56381e8a270..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tmap +++ /dev/null @@ -1,18 +0,0 @@ -TMLSPEC - #include "testMultiCoreRRPB.tml" -ENDTMLSPEC - -TMLARCHI - #include "testMultiCoreRRPB.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP CPU0 Application__S - SET Application__S priority 1 - MAP CPU0 Application__C1 - SET Application__C1 priority 0 - MAP CPU0 Application__C0 - SET Application__C0 priority 1 - MAP CPU0 Application__C3 - SET Application__C3 priority 5 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tml b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tml deleted file mode 100644 index 9535d533e9d8e97b7616fee1a962870041fe066a..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.tml +++ /dev/null @@ -1,48 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.xml -// Generated: Thu Apr 22 13:37:28 CEST 2021 - -// PRAGMAS - -// Channels - -// Events -EVENT Application__evt__Application__evt() NIB 8 Application__S Application__C0 - -// Requests - -TASK Application__C0 - TASKOP - //Local variables - - //Behavior - EXECI 10 - WAIT Application__evt__Application__evt - EXECI 15 15 -ENDTASK - -TASK Application__C1 - TASKOP - //Local variables - - //Behavior - EXECI 15 15 -ENDTASK - -TASK Application__C3 - TASKOP - //Local variables - - //Behavior - EXECI 40 40 -ENDTASK - -TASK Application__S - TASKOP - //Local variables - - //Behavior - EXECI 16 16 - NOTIFY Application__evt__Application__evt -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.xml b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.xml new file mode 100644 index 0000000000000000000000000000000000000000..a1c680928cd9feeef1d3ac6595c7cad7b0c55e28 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/testMultiCoreRRPB.xml @@ -0,0 +1,570 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<TURTLEGMODELING version="1.0beta" ANIMATE_INTERACTIVE_SIMULATION="false" 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="Application" tabs="TML Component Task Diagram$C0$S$C1$C3" > +<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="750" y="200" /> +<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="746" y="221" id="2" /> +<P2 x="419" y="227" id="13" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="12" > +<cdparam x="759" y="154" /> +<sizeparam width="200" height="150" 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="Primitive component" value="S" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="4" /> +<TGConnectingPoint num="1" id="5" /> +<TGConnectingPoint num="2" id="6" /> +<TGConnectingPoint num="3" id="7" /> +<TGConnectingPoint num="4" id="8" /> +<TGConnectingPoint num="5" id="9" /> +<TGConnectingPoint num="6" id="10" /> +<TGConnectingPoint num="7" id="11" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="3" > +<father id="12" num="0" /> +<cdparam x="746" y="208" /> +<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 evt" /> +<TGConnectingPoint num="0" id="2" /> +<extraparam> +<Prop commName="evt" commType="1" origin="true" 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="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="23" > +<cdparam x="206" y="140" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C0" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="15" /> +<TGConnectingPoint num="1" id="16" /> +<TGConnectingPoint num="2" id="17" /> +<TGConnectingPoint num="3" id="18" /> +<TGConnectingPoint num="4" id="19" /> +<TGConnectingPoint num="5" id="20" /> +<TGConnectingPoint num="6" id="21" /> +<TGConnectingPoint num="7" id="22" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> +<SUBCOMPONENT type="1203" id="14" > +<father id="23" num="0" /> +<cdparam x="393" y="214" /> +<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 evt" /> +<TGConnectingPoint num="0" id="13" /> +<extraparam> +<Prop commName="evt" 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="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +<Type type="0" typeOther="" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1202" id="32" > +<cdparam x="504" y="411" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C3" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="24" /> +<TGConnectingPoint num="1" id="25" /> +<TGConnectingPoint num="2" id="26" /> +<TGConnectingPoint num="3" id="27" /> +<TGConnectingPoint num="4" id="28" /> +<TGConnectingPoint num="5" id="29" /> +<TGConnectingPoint num="6" id="30" /> +<TGConnectingPoint num="7" id="31" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1202" id="41" > +<cdparam x="203" y="407" /> +<sizeparam width="200" height="150" 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="Primitive component" value="C1" /> +<custom data="LE||DSP||BRAM||WCET||" /> +<TGConnectingPoint num="0" id="33" /> +<TGConnectingPoint num="1" id="34" /> +<TGConnectingPoint num="2" id="35" /> +<TGConnectingPoint num="3" id="36" /> +<TGConnectingPoint num="4" id="37" /> +<TGConnectingPoint num="5" id="38" /> +<TGConnectingPoint num="6" id="39" /> +<TGConnectingPoint num="7" id="40" /> +<extraparam> +<Data isAttacker="No" daemon="false" periodic="false" periodValue="" unit="ms" Operation="" /> +</extraparam> +</COMPONENT> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="C0" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="43" > +<cdparam x="399" y="281" /> +<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="42" /> +</COMPONENT> + +<COMPONENT type="1015" id="47" > +<cdparam x="401" y="220" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="45" /> +<TGConnectingPoint num="1" id="46" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="44" > +<father id="47" num="0" /> +<cdparam x="416" y="240" /> +<sizeparam width="51" 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 time interval" value="[15, 15]" /> +<extraparam> +<Interval minDelay="15" maxDelay="15" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1010" id="50" > +<cdparam x="374" y="168" /> +<sizeparam width="63" 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="evt() " /> +<TGConnectingPoint num="0" id="48" /> +<TGConnectingPoint num="1" id="49" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="54" > +<cdparam x="401" y="105" /> +<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="52" /> +<TGConnectingPoint num="1" id="53" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="51" > +<father id="54" num="0" /> +<cdparam x="416" y="125" /> +<sizeparam width="16" 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="10" /> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="56" > +<cdparam x="400" y="50" /> +<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="55" /> +</COMPONENT> + +<CONNECTOR type="115" id="57" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="55" /> +<P2 x="406" y="100" id="52" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="58" > +<cdparam x="406" y="140" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="140" id="53" /> +<P2 x="405" y="163" id="48" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="59" > +<cdparam x="405" y="193" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="405" y="193" id="49" /> +<P2 x="406" y="215" id="45" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="60" > +<cdparam x="406" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="255" id="46" /> +<P2 x="409" y="276" id="42" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="S" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="62" > +<cdparam x="461" y="239" /> +<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="61" /> +</COMPONENT> + +<COMPONENT type="1008" id="65" > +<cdparam x="437" y="186" /> +<sizeparam width="59" 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="evt()" /> +<TGConnectingPoint num="0" id="63" /> +<TGConnectingPoint num="1" id="64" /> +<extraparam> +<Data eventName="evt" nbOfParams="5" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1015" id="69" > +<cdparam x="448" y="121" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="67" /> +<TGConnectingPoint num="1" id="68" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="66" > +<father id="69" num="0" /> +<cdparam x="464" y="141" /> +<sizeparam width="51" 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 time interval" value="[16, 16]" /> +<extraparam> +<Interval minDelay="16" maxDelay="16" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="71" > +<cdparam x="440" y="64" /> +<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="70" /> +</COMPONENT> + +<CONNECTOR type="115" id="72" > +<cdparam x="447" y="84" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="447" y="84" id="70" /> +<P2 x="453" y="116" id="67" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="73" > +<cdparam x="453" y="156" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="453" y="156" id="68" /> +<P2 x="466" y="181" id="63" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="74" > +<cdparam x="466" y="211" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="466" y="211" id="64" /> +<P2 x="471" y="234" id="61" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="76" > +<cdparam x="399" y="281" /> +<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="75" /> +</COMPONENT> + +<COMPONENT type="1015" id="80" > +<cdparam x="401" y="220" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="78" /> +<TGConnectingPoint num="1" id="79" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="77" > +<father id="80" num="0" /> +<cdparam x="416" y="240" /> +<sizeparam width="51" 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 time interval" value="[15, 15]" /> +<extraparam> +<Interval minDelay="15" maxDelay="15" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="82" > +<cdparam x="400" y="50" /> +<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="81" /> +</COMPONENT> + +<CONNECTOR type="115" id="83" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="81" /> +<P2 x="406" y="215" id="78" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="84" > +<cdparam x="406" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="255" id="79" /> +<P2 x="409" y="276" id="75" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="C3" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="86" > +<cdparam x="399" y="281" /> +<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="85" /> +</COMPONENT> + +<COMPONENT type="1015" id="90" > +<cdparam x="401" y="220" /> +<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="execIInterval" value="null" /> +<TGConnectingPoint num="0" id="88" /> +<TGConnectingPoint num="1" id="89" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="87" > +<father id="90" num="0" /> +<cdparam x="416" y="240" /> +<sizeparam width="51" 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 time interval" value="[40, 40]" /> +<extraparam> +<Interval minDelay="40" maxDelay="40" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1000" id="92" > +<cdparam x="400" y="50" /> +<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="91" /> +</COMPONENT> + +<CONNECTOR type="115" id="93" > +<cdparam x="407" y="70" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="407" y="70" id="91" /> +<P2 x="406" y="215" id="88" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="94" > +<cdparam x="406" y="255" /> +<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<infoparam name="connector" value="null" /> +<P1 x="406" y="255" id="89" /> +<P2 x="409" y="276" id="85" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +</Modeling> + + + + +<Modeling type="TML Architecture" nameTab="Architecture" > +<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="2500" minY="10" maxY="1500" attributes="1" masterClockFrequency="200" zoom="1.0" > +<COMPONENT type="1100" id="155" > +<cdparam x="173" y="174" /> +<sizeparam width="372" height="311" 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="CPU0" value="name" /> +<TGConnectingPoint num="0" id="131" /> +<TGConnectingPoint num="1" id="132" /> +<TGConnectingPoint num="2" id="133" /> +<TGConnectingPoint num="3" id="134" /> +<TGConnectingPoint num="4" id="135" /> +<TGConnectingPoint num="5" id="136" /> +<TGConnectingPoint num="6" id="137" /> +<TGConnectingPoint num="7" id="138" /> +<TGConnectingPoint num="8" id="139" /> +<TGConnectingPoint num="9" id="140" /> +<TGConnectingPoint num="10" id="141" /> +<TGConnectingPoint num="11" id="142" /> +<TGConnectingPoint num="12" id="143" /> +<TGConnectingPoint num="13" id="144" /> +<TGConnectingPoint num="14" id="145" /> +<TGConnectingPoint num="15" id="146" /> +<TGConnectingPoint num="16" id="147" /> +<TGConnectingPoint num="17" id="148" /> +<TGConnectingPoint num="18" id="149" /> +<TGConnectingPoint num="19" id="150" /> +<TGConnectingPoint num="20" id="151" /> +<TGConnectingPoint num="21" id="152" /> +<TGConnectingPoint num="22" id="153" /> +<TGConnectingPoint num="23" id="154" /> +<extraparam> +<info stereotype="CPURRPB" nodeName="CPU0" /> +<attributes nbOfCores="2" byteDataSize="4" schedulingPolicy="1" 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="103" > +<father id="155" num="0" /> +<cdparam x="410" y="259" /> +<sizeparam width="128" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="244" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::C3" /> +<TGConnectingPoint num="0" id="95" /> +<TGConnectingPoint num="1" id="96" /> +<TGConnectingPoint num="2" id="97" /> +<TGConnectingPoint num="3" id="98" /> +<TGConnectingPoint num="4" id="99" /> +<TGConnectingPoint num="5" id="100" /> +<TGConnectingPoint num="6" id="101" /> +<TGConnectingPoint num="7" id="102" /> +<extraparam> +<info value="Application::C3" taskName="C3" referenceTaskName="Application" priority="5" operationMEC="C3" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="112" > +<father id="155" num="1" /> +<cdparam x="326" y="396" /> +<sizeparam width="128" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="244" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::C0" /> +<TGConnectingPoint num="0" id="104" /> +<TGConnectingPoint num="1" id="105" /> +<TGConnectingPoint num="2" id="106" /> +<TGConnectingPoint num="3" id="107" /> +<TGConnectingPoint num="4" id="108" /> +<TGConnectingPoint num="5" id="109" /> +<TGConnectingPoint num="6" id="110" /> +<TGConnectingPoint num="7" id="111" /> +<extraparam> +<info value="Application::C0" taskName="C0" referenceTaskName="Application" priority="1" operationMEC="C0" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="121" > +<father id="155" num="2" /> +<cdparam x="281" y="322" /> +<sizeparam width="128" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="244" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::C1" /> +<TGConnectingPoint num="0" id="113" /> +<TGConnectingPoint num="1" id="114" /> +<TGConnectingPoint num="2" id="115" /> +<TGConnectingPoint num="3" id="116" /> +<TGConnectingPoint num="4" id="117" /> +<TGConnectingPoint num="5" id="118" /> +<TGConnectingPoint num="6" id="119" /> +<TGConnectingPoint num="7" id="120" /> +<extraparam> +<info value="Application::C1" taskName="C1" referenceTaskName="Application" priority="0" operationMEC="C1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="130" > +<father id="155" num="3" /> +<cdparam x="254" y="252" /> +<sizeparam width="120" height="40" minWidth="100" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" /> +<hidden value="false" /> +<cdrectangleparam minX="0" maxX="252" minY="0" maxY="271" /> +<infoparam name="TGComponent" value="Application::S" /> +<TGConnectingPoint num="0" id="122" /> +<TGConnectingPoint num="1" id="123" /> +<TGConnectingPoint num="2" id="124" /> +<TGConnectingPoint num="3" id="125" /> +<TGConnectingPoint num="4" id="126" /> +<TGConnectingPoint num="5" id="127" /> +<TGConnectingPoint num="6" id="128" /> +<TGConnectingPoint num="7" id="129" /> +<extraparam> +<info value="Application::S" taskName="S" referenceTaskName="Application" priority="1" operationMEC="S" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file diff --git a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tarchi b/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tarchi deleted file mode 100644 index 8772eedede9618c020ffbf650ceebcd8daa6adb9..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tarchi +++ /dev/null @@ -1,55 +0,0 @@ -// Master clock frequency - in MHz -MASTERCLOCKFREQUENCY 200 - -NODE MEMORY Memory0 -SET Memory0 byteDataSize 4 -SET Memory0 clockDivider 1 - -NODE BUS Bus0 -SET Bus0 byteDataSize 4 -SET Bus0 pipelineSize 1 -SET Bus0 arbitration 0 -SET Bus0 clockDivider 1 - -NODE CPU FPGA1 -SET FPGA1 nbOfCores 1 -SET FPGA1 byteDataSize 4 -SET FPGA1 pipelineSize 5 -SET FPGA1 goIdleTime 10 -SET FPGA1 maxConsecutiveIdleCycles 10 -SET FPGA1 taskSwitchingTime 20 -SET FPGA1 branchingPredictionPenalty 2 -SET FPGA1 cacheMiss 5 -SET FPGA1 schedulingPolicy 0 -SET FPGA1 sliceTime 10000 -SET FPGA1 execiTime 1 -SET FPGA1 execcTime 1 -SET FPGA1 clockDivider 1 - -NODE CPU Src -SET Src nbOfCores 1 -SET Src byteDataSize 4 -SET Src pipelineSize 5 -SET Src goIdleTime 10 -SET Src maxConsecutiveIdleCycles 10 -SET Src taskSwitchingTime 20 -SET Src branchingPredictionPenalty 2 -SET Src cacheMiss 5 -SET Src schedulingPolicy 0 -SET Src sliceTime 10000 -SET Src execiTime 1 -SET Src execcTime 1 -SET Src clockDivider 1 - -NODE LINK link_Memory0_to_Bus0 -SET link_Memory0_to_Bus0 node Memory0 -SET link_Memory0_to_Bus0 bus Bus0 -SET link_Memory0_to_Bus0 priority 0 -NODE LINK link_FPGA1_to_Bus0 -SET link_FPGA1_to_Bus0 node FPGA1 -SET link_FPGA1_to_Bus0 bus Bus0 -SET link_FPGA1_to_Bus0 priority 0 -NODE LINK link_Src_to_Bus0 -SET link_Src_to_Bus0 node Src -SET link_Src_to_Bus0 bus Bus0 -SET link_Src_to_Bus0 priority 0 diff --git a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tmap b/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tmap deleted file mode 100644 index 3fb2b67a32b73f3be53c7172877b6705e733f5bf..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tmap +++ /dev/null @@ -1,16 +0,0 @@ -TMLSPEC - #include "timelineDiagram.tml" -ENDTMLSPEC - -TMLARCHI - #include "timelineDiagram.tarchi" -ENDTMLARCHI - -TMLMAPPING - MAP FPGA1 ApplicationSimple__T2 - SET ApplicationSimple__T2 priority 0 - MAP FPGA1 ApplicationSimple__T1 - SET ApplicationSimple__T1 priority 0 - MAP Src ApplicationSimple__Src - SET ApplicationSimple__Src priority 0 -ENDTMLMAPPING diff --git a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tml b/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tml deleted file mode 100644 index 5118c6acd606f0fc2ad4dfabde6f7846474bd6a0..0000000000000000000000000000000000000000 --- a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.tml +++ /dev/null @@ -1,52 +0,0 @@ -// TML Application - FORMAT 0.2 -// Application: /home/levan/Desktop/TTool/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.xml -// Generated: Wed Apr 21 10:13:40 CEST 2021 - -// PRAGMAS - -// Channels -CHANNEL ApplicationSimple__chToT1 BRBW 4 500 OUT ApplicationSimple__Src IN ApplicationSimple__T1 -VCCHANNEL ApplicationSimple__chToT1 0 -CHANNEL ApplicationSimple__chToT2 BRBW 4 8 OUT ApplicationSimple__T1 IN ApplicationSimple__T2 -VCCHANNEL ApplicationSimple__chToT2 0 - -// Events -EVENT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1(int) NIB 2 ApplicationSimple__Src ApplicationSimple__T1 -EVENT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2(int) NIB 2 ApplicationSimple__T1 ApplicationSimple__T2 - -// Requests - -TASK ApplicationSimple__Src - TASKOP - //Local variables - int size = 100 - - //Behavior - NOTIFY ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - WRITE ApplicationSimple__chToT1 size -ENDTASK - -TASK ApplicationSimple__T1 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT1__ApplicationSimple__evtToT1 size - READ ApplicationSimple__chToT1 size - EXECI size - NOTIFY ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - WRITE ApplicationSimple__chToT2 size -ENDTASK - -TASK ApplicationSimple__T2 - TASKOP - //Local variables - int size - - //Behavior - WAIT ApplicationSimple__evtToT2__ApplicationSimple__evtToT2 size - READ ApplicationSimple__chToT2 size - EXECI size -ENDTASK - diff --git a/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.xml b/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7b850be49e07c1b61ce11f2a715c6a6fd5ef124 --- /dev/null +++ b/ttool/src/test/resources/tmltranslator/simulator/timelineDiagram.xml @@ -0,0 +1,814 @@ +<?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="566" > +<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="335" y="300" id="572" /> +<P2 x="414" y="300" id="585" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="567" > +<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="335" y="237" id="570" /> +<P2 x="414" y="236" id="583" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="568" > +<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="590" y="305" id="589" /> +<P2 x="670" y="302" id="602" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="126" id="569" > +<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="590" y="241" id="587" /> +<P2 x="670" y="238" id="600" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<COMPONENT type="1202" id="582" > +<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="574" /> +<TGConnectingPoint num="1" id="575" /> +<TGConnectingPoint num="2" id="576" /> +<TGConnectingPoint num="3" id="577" /> +<TGConnectingPoint num="4" id="578" /> +<TGConnectingPoint num="5" id="579" /> +<TGConnectingPoint num="6" id="580" /> +<TGConnectingPoint num="7" id="581" /> +<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="571" > +<father id="582" num="0" /> +<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="570" /> +<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> +<SUBCOMPONENT type="1203" id="573" > +<father id="582" num="1" /> +<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="572" /> +<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> + +<COMPONENT type="1202" id="599" > +<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="591" /> +<TGConnectingPoint num="1" id="592" /> +<TGConnectingPoint num="2" id="593" /> +<TGConnectingPoint num="3" id="594" /> +<TGConnectingPoint num="4" id="595" /> +<TGConnectingPoint num="5" id="596" /> +<TGConnectingPoint num="6" id="597" /> +<TGConnectingPoint num="7" id="598" /> +<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="584" > +<father id="599" num="0" /> +<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="583" /> +<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> +<SUBCOMPONENT type="1203" id="586" > +<father id="599" num="1" /> +<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="585" /> +<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="588" > +<father id="599" num="2" /> +<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="587" /> +<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="590" > +<father id="599" num="3" /> +<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="589" /> +<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> + +<COMPONENT type="1202" id="612" > +<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="604" /> +<TGConnectingPoint num="1" id="605" /> +<TGConnectingPoint num="2" id="606" /> +<TGConnectingPoint num="3" id="607" /> +<TGConnectingPoint num="4" id="608" /> +<TGConnectingPoint num="5" id="609" /> +<TGConnectingPoint num="6" id="610" /> +<TGConnectingPoint num="7" id="611" /> +<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="601" > +<father id="612" num="0" /> +<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="600" /> +<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> +<SUBCOMPONENT type="1203" id="603" > +<father id="612" num="1" /> +<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="602" /> +<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> + + +</TMLComponentTaskDiagramPanel> + +<TMLActivityDiagramPanel name="Src" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1008" id="615" > +<cdparam x="286" y="192" /> +<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="send event" value="evtToT1(size)" /> +<TGConnectingPoint num="0" id="613" /> +<TGConnectingPoint num="1" id="614" /> +<extraparam> +<Data eventName="evtToT1" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1001" id="617" > +<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="616" /> +</COMPONENT> + +<COMPONENT type="1006" id="620" > +<cdparam x="288" y="245" /> +<sizeparam width="88" 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="618" /> +<TGConnectingPoint num="1" id="619" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="622" > +<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="621" /> +</COMPONENT> + +<CONNECTOR type="115" id="623" > +<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="614" /> +<P2 x="332" y="240" id="618" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="624" > +<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="621" /> +<P2 x="332" y="187" id="613" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="625" > +<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="619" /> +<P2 x="332" y="281" id="616" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="627" > +<cdparam x="412" y="368" /> +<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="626" /> +</COMPONENT> + +<COMPONENT type="1006" id="630" > +<cdparam x="378" y="323" /> +<sizeparam width="88" 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="628" /> +<TGConnectingPoint num="1" id="629" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1008" id="633" > +<cdparam x="376" y="268" /> +<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="send event" value="evtToT2(size)" /> +<TGConnectingPoint num="0" id="631" /> +<TGConnectingPoint num="1" id="632" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1013" id="637" > +<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="635" /> +<TGConnectingPoint num="1" id="636" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="634" > +<father id="637" 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="640" > +<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="chToT1(size) " /> +<TGConnectingPoint num="0" id="638" /> +<TGConnectingPoint num="1" id="639" /> +<extraparam> +<Data channelName="chToT1" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="643" > +<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="evtToT1(size) " /> +<TGConnectingPoint num="0" id="641" /> +<TGConnectingPoint num="1" id="642" /> +<extraparam> +<Data eventName="evtToT1" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="645" > +<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="644" /> +</COMPONENT> + +<CONNECTOR type="115" id="646" > +<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="644" /> +<P2 x="422" y="111" id="641" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="647" > +<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="642" /> +<P2 x="422" y="157" id="638" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="648" > +<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="639" /> +<P2 x="422" y="211" id="635" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="649" > +<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="636" /> +<P2 x="422" y="263" id="631" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="650" > +<cdparam x="426" 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="422" y="293" id="632" /> +<P2 x="422" y="318" id="628" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="651" > +<cdparam x="435" y="348" /> +<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="348" id="629" /> +<P2 x="422" y="363" id="626" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> + +</TMLActivityDiagramPanel> + +<TMLActivityDiagramPanel name="T2" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" > +<COMPONENT type="1001" id="653" > +<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="652" /> +</COMPONENT> + +<COMPONENT type="1013" id="657" > +<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="655" /> +<TGConnectingPoint num="1" id="656" /> +</COMPONENT> +<SUBCOMPONENT type="-1" id="654" > +<father id="657" 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="660" > +<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="658" /> +<TGConnectingPoint num="1" id="659" /> +<extraparam> +<Data channelName="chToT2" nbOfSamples="size" secPattern="" isAttacker="No" isEncForm="Yes" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1010" id="663" > +<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="661" /> +<TGConnectingPoint num="1" id="662" /> +<extraparam> +<Data eventName="evtToT2" nbOfParams="5" /> +<Param index="0" value="size" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1000" id="665" > +<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="664" /> +</COMPONENT> + +<CONNECTOR type="115" id="666" > +<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="656" /> +<P2 x="422" y="438" id="652" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="667" > +<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="664" /> +<P2 x="422" y="111" id="661" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="668" > +<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="662" /> +<P2 x="422" y="157" id="658" /> +<AutomaticDrawing data="true" /> +</CONNECTOR> +<CONNECTOR type="115" id="669" > +<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="659" /> +<P2 x="422" y="211" id="655" /> +<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="1105" id="694" > +<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="670" /> +<TGConnectingPoint num="1" id="671" /> +<TGConnectingPoint num="2" id="672" /> +<TGConnectingPoint num="3" id="673" /> +<TGConnectingPoint num="4" id="674" /> +<TGConnectingPoint num="5" id="675" /> +<TGConnectingPoint num="6" id="676" /> +<TGConnectingPoint num="7" id="677" /> +<TGConnectingPoint num="8" id="678" /> +<TGConnectingPoint num="9" id="679" /> +<TGConnectingPoint num="10" id="680" /> +<TGConnectingPoint num="11" id="681" /> +<TGConnectingPoint num="12" id="682" /> +<TGConnectingPoint num="13" id="683" /> +<TGConnectingPoint num="14" id="684" /> +<TGConnectingPoint num="15" id="685" /> +<TGConnectingPoint num="16" id="686" /> +<TGConnectingPoint num="17" id="687" /> +<TGConnectingPoint num="18" id="688" /> +<TGConnectingPoint num="19" id="689" /> +<TGConnectingPoint num="20" id="690" /> +<TGConnectingPoint num="21" id="691" /> +<TGConnectingPoint num="22" id="692" /> +<TGConnectingPoint num="23" id="693" /> +<extraparam> +<info stereotype="MEMORY" nodeName="Memory0" /> +<attributes byteDataSize="4" memorySize="1024" clockRatio="1" bufferType="0" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1102" id="719" > +<cdparam x="503" y="320" /> +<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="Bus0" value="name" /> +<TGConnectingPoint num="0" id="695" /> +<TGConnectingPoint num="1" id="696" /> +<TGConnectingPoint num="2" id="697" /> +<TGConnectingPoint num="3" id="698" /> +<TGConnectingPoint num="4" id="699" /> +<TGConnectingPoint num="5" id="700" /> +<TGConnectingPoint num="6" id="701" /> +<TGConnectingPoint num="7" id="702" /> +<TGConnectingPoint num="8" id="703" /> +<TGConnectingPoint num="9" id="704" /> +<TGConnectingPoint num="10" id="705" /> +<TGConnectingPoint num="11" id="706" /> +<TGConnectingPoint num="12" id="707" /> +<TGConnectingPoint num="13" id="708" /> +<TGConnectingPoint num="14" id="709" /> +<TGConnectingPoint num="15" id="710" /> +<TGConnectingPoint num="16" id="711" /> +<TGConnectingPoint num="17" id="712" /> +<TGConnectingPoint num="18" id="713" /> +<TGConnectingPoint num="19" id="714" /> +<TGConnectingPoint num="20" id="715" /> +<TGConnectingPoint num="21" id="716" /> +<TGConnectingPoint num="22" id="717" /> +<TGConnectingPoint num="23" id="718" /> +<extraparam> +<info stereotype="BUS-RR" nodeName="Bus0" /> +<attributes byteDataSize="4" arbitrationPolicy="0" sliceTime="10000" pipelineSize="1" clockRatio="1" privacy="0" referenceAttack="null" /> +</extraparam> +</COMPONENT> + +<COMPONENT type="1100" id="762" > +<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="FPGA1" value="name" /> +<TGConnectingPoint num="0" id="738" /> +<TGConnectingPoint num="1" id="739" /> +<TGConnectingPoint num="2" id="740" /> +<TGConnectingPoint num="3" id="741" /> +<TGConnectingPoint num="4" id="742" /> +<TGConnectingPoint num="5" id="743" /> +<TGConnectingPoint num="6" id="744" /> +<TGConnectingPoint num="7" id="745" /> +<TGConnectingPoint num="8" id="746" /> +<TGConnectingPoint num="9" id="747" /> +<TGConnectingPoint num="10" id="748" /> +<TGConnectingPoint num="11" id="749" /> +<TGConnectingPoint num="12" id="750" /> +<TGConnectingPoint num="13" id="751" /> +<TGConnectingPoint num="14" id="752" /> +<TGConnectingPoint num="15" id="753" /> +<TGConnectingPoint num="16" id="754" /> +<TGConnectingPoint num="17" id="755" /> +<TGConnectingPoint num="18" id="756" /> +<TGConnectingPoint num="19" id="757" /> +<TGConnectingPoint num="20" id="758" /> +<TGConnectingPoint num="21" id="759" /> +<TGConnectingPoint num="22" id="760" /> +<TGConnectingPoint num="23" id="761" /> +<extraparam> +<info stereotype="CPURR" nodeName="FPGA1" /> +<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="728" > +<father id="762" num="0" /> +<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="720" /> +<TGConnectingPoint num="1" id="721" /> +<TGConnectingPoint num="2" id="722" /> +<TGConnectingPoint num="3" id="723" /> +<TGConnectingPoint num="4" id="724" /> +<TGConnectingPoint num="5" id="725" /> +<TGConnectingPoint num="6" id="726" /> +<TGConnectingPoint num="7" id="727" /> +<extraparam> +<info value="ApplicationSimple::T1" taskName="T1" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T1" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> +<SUBCOMPONENT type="1101" id="737" > +<father id="762" num="1" /> +<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="729" /> +<TGConnectingPoint num="1" id="730" /> +<TGConnectingPoint num="2" id="731" /> +<TGConnectingPoint num="3" id="732" /> +<TGConnectingPoint num="4" id="733" /> +<TGConnectingPoint num="5" id="734" /> +<TGConnectingPoint num="6" id="735" /> +<TGConnectingPoint num="7" id="736" /> +<extraparam> +<info value="ApplicationSimple::T2" taskName="T2" referenceTaskName="ApplicationSimple" priority="0" operationMEC="T2" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<COMPONENT type="1100" id="796" > +<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="772" /> +<TGConnectingPoint num="1" id="773" /> +<TGConnectingPoint num="2" id="774" /> +<TGConnectingPoint num="3" id="775" /> +<TGConnectingPoint num="4" id="776" /> +<TGConnectingPoint num="5" id="777" /> +<TGConnectingPoint num="6" id="778" /> +<TGConnectingPoint num="7" id="779" /> +<TGConnectingPoint num="8" id="780" /> +<TGConnectingPoint num="9" id="781" /> +<TGConnectingPoint num="10" id="782" /> +<TGConnectingPoint num="11" id="783" /> +<TGConnectingPoint num="12" id="784" /> +<TGConnectingPoint num="13" id="785" /> +<TGConnectingPoint num="14" id="786" /> +<TGConnectingPoint num="15" id="787" /> +<TGConnectingPoint num="16" id="788" /> +<TGConnectingPoint num="17" id="789" /> +<TGConnectingPoint num="18" id="790" /> +<TGConnectingPoint num="19" id="791" /> +<TGConnectingPoint num="20" id="792" /> +<TGConnectingPoint num="21" id="793" /> +<TGConnectingPoint num="22" id="794" /> +<TGConnectingPoint num="23" id="795" /> +<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="771" > +<father id="796" 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="763" /> +<TGConnectingPoint num="1" id="764" /> +<TGConnectingPoint num="2" id="765" /> +<TGConnectingPoint num="3" id="766" /> +<TGConnectingPoint num="4" id="767" /> +<TGConnectingPoint num="5" id="768" /> +<TGConnectingPoint num="6" id="769" /> +<TGConnectingPoint num="7" id="770" /> +<extraparam> +<info value="ApplicationSimple::Src" taskName="Src" referenceTaskName="ApplicationSimple" priority="0" operationMEC="Src" fatherComponentMECType="0" /> +</extraparam> +</SUBCOMPONENT> + +<CONNECTOR type="125" id="797" > +<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="673" /> +<P2 x="753" y="345" id="699" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="798" > +<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="744" /> +<P2 x="628" y="320" id="696" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> +<CONNECTOR type="125" id="799" > +<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="776" /> +<P2 x="503" y="332" id="705" /> +<AutomaticDrawing data="true" /> +<extraparam> +<info priority="0" /> +<spy value="false" /> +</extraparam> +</CONNECTOR> + +</TMLArchiDiagramPanel> + +</Modeling> + + + + +</TURTLEGMODELING> \ No newline at end of file