diff --git a/MPSoC/Makefile.forsoclib b/MPSoC/Makefile.forsoclib index 01092f89fed0e56b0740c05f8c3ec57b06098e07..d933a692231f7186537faf78666863a99022d1ea 100755 --- a/MPSoC/Makefile.forsoclib +++ b/MPSoC/Makefile.forsoclib @@ -14,22 +14,22 @@ PATH+=/opt/mutekh/bin export PATH updateruntime: - cp ~/TURTLE/MPSoC/src/*.c ~/Prog/mutekh/libavatar/ - cp ~/TURTLE/MPSoC/src/*.h ~/Prog/mutekh/libavatar/include/ - //cp ~/TURTLE/MPSoC/src/Makefile ~/Prog/mutekh/libavatar/ + cp ~/TTool/MPSoC/src/*.c ~/Prog/mutekh/libavatar/ + cp ~/TTool/MPSoC/src/*.h ~/Prog/mutekh/libavatar/include/ + //cp ~/TTool/MPSoC/src/Makefile ~/Prog/mutekh/libavatar/ updategeneratedcode: - cp ~/TURTLE/MPSoC/generated_src/*.h ~/Prog/mutekh/examples/avatar - cp ~/TURTLE/MPSoC/generated_src/*.c ~/Prog/mutekh/examples/avatar - cp ~/TURTLE/MPSoC/Makefile.soclib ~/Prog/mutekh/examples/avatar/Makefile + cp ~/TTool/MPSoC/generated_src/*.h ~/Prog/mutekh/examples/avatar + cp ~/TTool/MPSoC/generated_src/*.c ~/Prog/mutekh/examples/avatar + cp ~/TTool/MPSoC/Makefile.soclib ~/Prog/mutekh/examples/avatar/Makefile compilesoclib: - cp ~/TURTLE/MPSoC/generated_topcell/top.cc ~/Prog/soclib/soclib/platform/topcells/caba-vgmn-mutekh_kernel_tutorial/ - cp ~/TURTLE/MPSoC/generated_topcell/deployinfo.h ~/Prog/mutekh/arch/soclib/ - cp ~/TURTLE/MPSoC/generated_topcell/deployinfo_map.h ~/Prog/mutekh/arch/soclib/ - cp ~/TURTLE/MPSoC/generated_topcell/platform_desc ~/Prog/soclib/soclib/platform/topcells/caba-vgmn-mutekh_kernel_tutorial/platform_desc - cat ~/TURTLE/MPSoC/generated_topcell/config_noproc ~/TURTLE/MPSoC/generated_topcell/nbproc > ~/TURTLE/MPSoC/generated_topcell/config - cp ~/TURTLE/MPSoC/generated_topcell/config ~/Prog/mutekh/examples/avatar/ + cp ~/TTool/MPSoC/generated_topcell/top.cc ~/Prog/soclib/soclib/platform/topcells/caba-vgmn-mutekh_kernel_tutorial/ + cp ~/TTool/MPSoC/generated_topcell/deployinfo.h ~/Prog/mutekh/arch/soclib/ + cp ~/TTool/MPSoC/generated_topcell/deployinfo_map.h ~/Prog/mutekh/arch/soclib/ + cp ~/TTool/MPSoC/generated_topcell/platform_desc ~/Prog/soclib/soclib/platform/topcells/caba-vgmn-mutekh_kernel_tutorial/platform_desc + cat ~/TTool/MPSoC/generated_topcell/config_noproc ~/TTool/MPSoC/generated_topcell/nbproc > ~/TTool/MPSoC/generated_topcell/config + cp ~/TTool/MPSoC/generated_topcell/config ~/Prog/mutekh/examples/avatar/ cd ~/Prog/mutekh; make CONF=examples/avatar/config BUILD=soclib-$(MUTEKH_CPU):pf-tutorial runsoclib-trace: diff --git a/MPSoC/generated_src/Block0.c b/MPSoC/generated_src/Block0.c index 70a4437a0cf916dc098dbbf61aacc9e129cd351c..1c0c45f84088c3d47edea5cf52f5a7604a7e11fd 100644 --- a/MPSoC/generated_src/Block0.c +++ b/MPSoC/generated_src/Block0.c @@ -34,7 +34,6 @@ void *mainFunc__Block0(struct mwmr_s *channels_Block0[]){ switch(__currentState) { case STATE__START__STATE: traceStateEntering(__myname, "__StartState"); - debug2Msg(__myname, "-> (=====) Entering state + state0"); __currentState = STATE__state0; break; diff --git a/MPSoC/generated_src/Block1.c b/MPSoC/generated_src/Block1.c index d8825b4c8cd52ec5ac175b41e9101d8527e81f69..2c16371ea70837840f0f426cdaa686f3760568a3 100644 --- a/MPSoC/generated_src/Block1.c +++ b/MPSoC/generated_src/Block1.c @@ -34,7 +34,6 @@ void *mainFunc__Block1(struct mwmr_s *channels_Block1[]){ switch(__currentState) { case STATE__START__STATE: traceStateEntering(__myname, "__StartState"); - debug2Msg(__myname, "-> (=====) Entering state + state0"); __currentState = STATE__state0; break; diff --git a/MPSoC/generated_src/main.c b/MPSoC/generated_src/main.c index c9117b956f60e4b7ed05fb87711bdfed59e4dd97..4165fd4b28270e28e357718ef229d63992cb7d3a 100644 --- a/MPSoC/generated_src/main.c +++ b/MPSoC/generated_src/main.c @@ -88,8 +88,6 @@ int main(int argc, char *argv[]) { } else { activeTracingInConsole(); } - /* Activating debug messages */ - activeDebug(); /* Activating randomness */ initRandom(); /* Initializing the main mutex */ @@ -99,7 +97,6 @@ if (pthread_mutex_init(&__mainMutex, NULL) < 0) { exit(-1);} __user_init(); - debugMsg("Starting tasks"); struct mwmr_s *channels_array_Block1[1]; channels_array_Block1[0]=&Block0_val__Block1_val; @@ -109,7 +106,6 @@ if (pthread_mutex_init(&__mainMutex, NULL) < 0) { exit(-1);} pthread_attr_affinity(attr_t, 0); - debugMsg("Starting tasks"); pthread_create(&thread__Block1, attr_t, mainFunc__Block1, (void *)channels_array_Block1); struct mwmr_s *channels_array_Block0[1]; @@ -121,17 +117,14 @@ if (pthread_mutex_init(&__mainMutex, NULL) < 0) { exit(-1);} pthread_attr_affinity(attr_t, 1); - debugMsg("Starting tasks"); pthread_create(&thread__Block0, attr_t, mainFunc__Block0, (void *)channels_array_Block0); - debugMsg("Joining tasks"); pthread_join(thread__Block1, NULL); pthread_join(thread__Block0, NULL); - debugMsg("Application terminated"); return 0; } diff --git a/MPSoC/generated_topcell/deployinfo.h b/MPSoC/generated_topcell/deployinfo.h index 4405e6a54034cf69ccee7aa9ab39d7475a62ed14..6e62ce89676c458566facd6a8ff7c0bf76961dd0 100644 --- a/MPSoC/generated_topcell/deployinfo.h +++ b/MPSoC/generated_topcell/deployinfo.h @@ -1,7 +1,7 @@ #define CACHED_RAM0_NAME cram0 #define CACHED_RAM0_ADDR 0x10000000 -#define CACHED_RAM0_SIZE 0x8000 +#define CACHED_RAM0_SIZE 0x80000 #define DEPLOY_RAM0_NAME uram0 -#define DEPLOY_RAM0_ADDR 0x10200000 -#define DEPLOY_RAM0_SIZE 0x8000 +#define DEPLOY_RAM0_ADDR 0x10280000 +#define DEPLOY_RAM0_SIZE 0x80000 diff --git a/bin/config.xml b/bin/config.xml index ca00036c08d94a43f2bb4db83bdafa7f31f45dad..ffb3445f5508eaba044155b472d4162ee8a34933 100755 --- a/bin/config.xml +++ b/bin/config.xml @@ -63,11 +63,11 @@ <ExternalCommand2Host data="localhost"/> <ExternalCommand2 data="/packages/uppaal(4.0.11/uppaal ../uppaal/spec.xml"/> -<LastOpenFile data="../modeling/BENCH3_new.xml"/> +<LastOpenFile data="/users/enseig/genius/TTool/modeling/miniAsynchronousDeploy.xml"/> -<LastWindowAttributes x="-8" y="-8" width="1382" height="744" max="true" /> +<LastWindowAttributes x="758" y="181" width="790" height="596" max="false" /> <ProVerifHash data=""/> diff --git a/src/ddtranslatorSoclib/AvatarBridge.java b/src/ddtranslatorSoclib/AvatarBridge.java index e23d6c98d052035d2caa0b76a464ee908b7303b0..ee7accf3824f0f02db7a8e38dd11acf2b522b5a5 100755 --- a/src/ddtranslatorSoclib/AvatarBridge.java +++ b/src/ddtranslatorSoclib/AvatarBridge.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarBus.java b/src/ddtranslatorSoclib/AvatarBus.java index b41f0000e616b1a14cb814ec956077a27fa1a028..a24289e199eae98f41a10875a18a25c249252d17 100755 --- a/src/ddtranslatorSoclib/AvatarBus.java +++ b/src/ddtranslatorSoclib/AvatarBus.java @@ -1,3 +1,43 @@ +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarCPU.java b/src/ddtranslatorSoclib/AvatarCPU.java index 7ae8a08cbb7e467daed541157ef3605dcb98ba40..5d95cb05e2506593bd8f758d1916284669d0a74b 100755 --- a/src/ddtranslatorSoclib/AvatarCPU.java +++ b/src/ddtranslatorSoclib/AvatarCPU.java @@ -1,3 +1,5 @@ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarChannel.java b/src/ddtranslatorSoclib/AvatarChannel.java index 38167957c2d95d034fae4ae2c702eea156bd316d..a9cc8affe829204e5db4b1ebacfb7cd6001dc355 100755 --- a/src/ddtranslatorSoclib/AvatarChannel.java +++ b/src/ddtranslatorSoclib/AvatarChannel.java @@ -1,3 +1,43 @@ +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarComponent.java b/src/ddtranslatorSoclib/AvatarComponent.java index 89090378815dd4eebba7ad295e02feb8c3edb597..d014d72370eb6e06e6866286edef70f542a9f3cc 100755 --- a/src/ddtranslatorSoclib/AvatarComponent.java +++ b/src/ddtranslatorSoclib/AvatarComponent.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarConnectingPoint.java b/src/ddtranslatorSoclib/AvatarConnectingPoint.java index b310c0fc4ff1b87afdac2e46f71961f8cf4aec3c..d6f17ba7004425a5a75b733746a734dc9c12aa16 100755 --- a/src/ddtranslatorSoclib/AvatarConnectingPoint.java +++ b/src/ddtranslatorSoclib/AvatarConnectingPoint.java @@ -1,3 +1,45 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarConnector.java b/src/ddtranslatorSoclib/AvatarConnector.java index 1f4714c6ab96dd49efbf1be7f1555602bb5b59ba..5344ae611fd2d9393cffd0356bef78a039fc4469 100755 --- a/src/ddtranslatorSoclib/AvatarConnector.java +++ b/src/ddtranslatorSoclib/AvatarConnector.java @@ -1,3 +1,45 @@ + + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarCoproMWMR.java b/src/ddtranslatorSoclib/AvatarCoproMWMR.java index 1599eb304ec9fc2e1f6daf3466b5fdd6fc0d89fe..d8c9b2cec5d58d9652c6655b6e09e448f79b9bea 100755 --- a/src/ddtranslatorSoclib/AvatarCoproMWMR.java +++ b/src/ddtranslatorSoclib/AvatarCoproMWMR.java @@ -1,3 +1,45 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ @@ -6,7 +48,7 @@ import java.util.*; public class AvatarCoproMWMR extends AvatarComponent{ - private String timerName; + private String coprocName; private int srcid ; private int tgtid ; private int plaps ; @@ -21,9 +63,9 @@ public class AvatarCoproMWMR extends AvatarComponent{ private AvatarConnectingPoint[] connectingsPoints; private int nbConnectingPoint = 16 ; - public AvatarCoproMWMR(String _timerName,int srcid, int _srcid, int _tgtid, int _plaps, int _fifoToCoprocDepth,int _fifoFromCoproDepth, int _nToCopro, int _nFromCopro, int _nConfig, int _nStatus, boolean _useLLSC) + public AvatarCoproMWMR(String _coprocName,int srcid, int _srcid, int _tgtid, int _plaps, int _fifoToCoprocDepth,int _fifoFromCoproDepth, int _nToCopro, int _nFromCopro, int _nConfig, int _nStatus, boolean _useLLSC) { - timerName = _timerName; + coprocName = _coprocName; srcid = _srcid; tgtid = _tgtid; plaps = _plaps ; @@ -51,42 +93,42 @@ public class AvatarCoproMWMR extends AvatarComponent{ connectingsPoints[_indexConnectingPoint].setConnector(_connector); } - String getTimerName(){ - return timerName; + public String getCoprocName(){ + return coprocName; } - int getSrcid(){ + public int getSrcid(){ return srcid; } - int getTgtid(){ + public int getTgtid(){ return tgtid; } - int getPalpas(){ + public int getPlaps(){ return plaps; } - int getFifoToCoProcDepth(){ + public int getFifoToCoProcDepth(){ return fifoToCoprocDepth; } - int getNToCopro(){ + public int getNToCopro(){ return nToCopro; } - int getNFromCopro(){ + public int getNFromCopro(){ return nFromCopro; } - int getNConfig(){ + public int getNConfig(){ return nConfig; } - int getNStatus(){ + public int getNStatus(){ return nStatus; } - boolean getUseLLSC(){ + public boolean getUseLLSC(){ return useLLSC; } diff --git a/src/ddtranslatorSoclib/AvatarCrossbar.java b/src/ddtranslatorSoclib/AvatarCrossbar.java index a42edac62d2437d0f94bc6f443e2bc5cf0ac4ce4..21b710d5034eb2a4c5a28ad98532fa366c092444 100755 --- a/src/ddtranslatorSoclib/AvatarCrossbar.java +++ b/src/ddtranslatorSoclib/AvatarCrossbar.java @@ -1,5 +1,47 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* * @version 1.0 07/07/2015 - * @author Julien Henon, Daniela Genius */ + * @author Daniela Genius */ package ddtranslatorSoclib; import java.util.*; diff --git a/src/ddtranslatorSoclib/AvatarICU.java b/src/ddtranslatorSoclib/AvatarICU.java index 62be8b6adc313f6803c02ba02909928c5d134994..8b30b2102d1af841a75abddf240f6ba962ca755a 100755 --- a/src/ddtranslatorSoclib/AvatarICU.java +++ b/src/ddtranslatorSoclib/AvatarICU.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarMappedObject.java b/src/ddtranslatorSoclib/AvatarMappedObject.java index 00685ae6b68b83cb5f5bbca5a21d71d0096fcb6d..6f67844d4e2c2188b56e2aa8737edb3e6e1db329 100755 --- a/src/ddtranslatorSoclib/AvatarMappedObject.java +++ b/src/ddtranslatorSoclib/AvatarMappedObject.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarRAM.java b/src/ddtranslatorSoclib/AvatarRAM.java index 522f4464c5fec07d74e4fc2dbf5a629dfc086e40..b8bb4092fa90966c784584a1a4285ca9d16d2a84 100755 --- a/src/ddtranslatorSoclib/AvatarRAM.java +++ b/src/ddtranslatorSoclib/AvatarRAM.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarTTY.java b/src/ddtranslatorSoclib/AvatarTTY.java index 4e3071b1345495fd1f7ead74cfec4f5767064f27..b6b0403e23958a6f2f28755fdaae2493df9f2e2c 100755 --- a/src/ddtranslatorSoclib/AvatarTTY.java +++ b/src/ddtranslatorSoclib/AvatarTTY.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarTask.java b/src/ddtranslatorSoclib/AvatarTask.java index e335158a947438aaa1b320fcaddf42b92625f021..f8f8b2901e3cc39cd4cc6bae594a50ab562cf2cb 100755 --- a/src/ddtranslatorSoclib/AvatarTask.java +++ b/src/ddtranslatorSoclib/AvatarTask.java @@ -1,3 +1,47 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarTimer.java b/src/ddtranslatorSoclib/AvatarTimer.java index 22751b69017d615abe2b7925730bb4b410c69d11..60b0b613f2e94724bd6ce785c42f4b31d0e4b24a 100755 --- a/src/ddtranslatorSoclib/AvatarTimer.java +++ b/src/ddtranslatorSoclib/AvatarTimer.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarVgmn.java b/src/ddtranslatorSoclib/AvatarVgmn.java index 133511bd9794122b9706cc6c598afe73cdd8ef11..a46d70240f95871620fd9e918259a593f42387f9 100755 --- a/src/ddtranslatorSoclib/AvatarVgmn.java +++ b/src/ddtranslatorSoclib/AvatarVgmn.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ diff --git a/src/ddtranslatorSoclib/AvatarddSpecification.java b/src/ddtranslatorSoclib/AvatarddSpecification.java index 08611286bbf95397b9faa2ca10e37eab4cc86277..e790c176d4e7f0cdb2e1c12609413ae4e8543adb 100755 --- a/src/ddtranslatorSoclib/AvatarddSpecification.java +++ b/src/ddtranslatorSoclib/AvatarddSpecification.java @@ -1,3 +1,46 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + + /* * @version 1.0 07/07/2015 * @author Julien Henon, Daniela Genius */ @@ -152,6 +195,18 @@ There always is a RAM0, a TTY and an interconnect (Bus or VGMN or crossbar) othe } return crossbars; } + + /* public LinkedList<AvatarBridge> getAllBridge(){ + LinkedList<AvatarBridge> bridges = new LinkedList<AvatarBridge>(); + for (AvatarComponent bridge : components ) + { + if (bridges instanceof AvatarBridge){ + bridges.add((AvatarBridge)bridge); + } + } + return bridges; + }*/ + //Currently, we define 1 crossbar = 1 cluster public int getNbClusters(){ diff --git a/src/ddtranslatorSoclib/toTopCell/Code.java b/src/ddtranslatorSoclib/toTopCell/Code.java index 0d8977524b632934ac5228e151c7308953c25a6a..2d74d8d82831cc2f241bd832c3da50ebe088e6e7 100755 --- a/src/ddtranslatorSoclib/toTopCell/Code.java +++ b/src/ddtranslatorSoclib/toTopCell/Code.java @@ -1,4 +1,45 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* authors: v1.0 Raja GATGOUT 2014 v2.0 Daniela GENIUS, Julien HENON 2015 */ diff --git a/src/ddtranslatorSoclib/toTopCell/Declaration.java b/src/ddtranslatorSoclib/toTopCell/Declaration.java index ed58a37eb980cd1fd58ce9a3c904749e3365cebb..c1fd8907e826e4ee7c056eb1e3b3be864046fbe7 100755 --- a/src/ddtranslatorSoclib/toTopCell/Declaration.java +++ b/src/ddtranslatorSoclib/toTopCell/Declaration.java @@ -1,4 +1,43 @@ +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ /* authors: v1.0 Raja GATGOUT 2014 v2.0 Daniela GENIUS, Julien HENON 2015 v2.1 Daniela GENIUS, summer 2016*/ @@ -257,7 +296,27 @@ if(nb_clusters==0){ i++; } } - } + } + + /* VciMwmrController( + sc_module_name name, + const MappingTable &mt, + const IntTab &srcid, + const IntTab &tgtid, + const size_t plaps, + const size_t fifo_to_coproc_depth, + const size_t fifo_from_coproc_depth, + const size_t n_to_coproc, + const size_t n_from_coproc, + const size_t n_config, + const size_t n_status, + const bool use_llsc ); + */ + + //only non-clustered version + for (AvatarCoproMWMR copro : TopCellGenerator.avatardd.getAllCoproMWMR()){ + declaration += "caba::VciMwmrController<vci_param> " + copro.getCoprocName()+ "(\"" + copro.getCoprocName()+ "\", maptab, IntTab("+copro.getSrcid() + "), IntTab("+copro.getTgtid() + "),copro.getPlaps(),copro.getFifoToCoProcDepth(),copro.getNToCopro(),copro.getNFromCopro(),copro.getNConfig(),copro.getNStatus(), copro.getUseLLSC());"+ CR; + i++;} // if VGMN was not last in input file, update here vgmn.setNbOfAttachedInitiators(TopCellGenerator.avatardd.getNb_init()); diff --git a/src/ddtranslatorSoclib/toTopCell/Deployinfo.java b/src/ddtranslatorSoclib/toTopCell/Deployinfo.java index d15d19be1001061e0fab9ec94879b75178631bec..1610ec7793567a97994389122a3560fb6d6e49bb 100755 --- a/src/ddtranslatorSoclib/toTopCell/Deployinfo.java +++ b/src/ddtranslatorSoclib/toTopCell/Deployinfo.java @@ -1,3 +1,45 @@ + + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* This class generates the deployment info for the ldscript*/ diff --git a/src/ddtranslatorSoclib/toTopCell/Header.java b/src/ddtranslatorSoclib/toTopCell/Header.java index a814ebba3999831889d9df806f9f2d0507fc81a9..4e1474949ce3f479b5e510ed1dc05093fbf39d1b 100755 --- a/src/ddtranslatorSoclib/toTopCell/Header.java +++ b/src/ddtranslatorSoclib/toTopCell/Header.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* this class produces the lines containing essentially the initial #includes; we include all potential components event if they are not used in the deployment diagram*/ /* authors: v1.0 Raja GATGOUT 2014 diff --git a/src/ddtranslatorSoclib/toTopCell/Loader.java b/src/ddtranslatorSoclib/toTopCell/Loader.java index 64f151d717259666279bdcdb6d76cb54b4246ab6..d33bf23d058c8f324407382ec31cc7a289ae980e 100755 --- a/src/ddtranslatorSoclib/toTopCell/Loader.java +++ b/src/ddtranslatorSoclib/toTopCell/Loader.java @@ -1,4 +1,43 @@ +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ /* authors: v1.0 Daniela GENIUS, Julien HENON 2015 */ diff --git a/src/ddtranslatorSoclib/toTopCell/MappingTable.java b/src/ddtranslatorSoclib/toTopCell/MappingTable.java index 907400d398f513bc6351290be1bf464dfe5d409b..d0b5516f7911c4e1e000c84aeb5161ea743a175f 100755 --- a/src/ddtranslatorSoclib/toTopCell/MappingTable.java +++ b/src/ddtranslatorSoclib/toTopCell/MappingTable.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* this class produces the lines pertaining to the segment table. Except the segments containing CHANNEL channels and those corresponding to targets in shared memory, they need not be sepcified by the user of the deployment diagram */ /* authors: v1.0 Raja GATGOUT 2014 diff --git a/src/ddtranslatorSoclib/toTopCell/NetList.java b/src/ddtranslatorSoclib/toTopCell/NetList.java index c81b2dfcc6170117ff853cf979ec5857049a107b..06891c37bbaefebc908523035742378f958e8bd1 100755 --- a/src/ddtranslatorSoclib/toTopCell/NetList.java +++ b/src/ddtranslatorSoclib/toTopCell/NetList.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* authors: v1.0 Raja GATGOUT 2014 v2.0 Daniela GENIUS, Julien HENON 2015 */ @@ -290,7 +331,24 @@ public class NetList { netlist = netlist + "vcilocks.p_clk(signal_clk);" + CR; netlist = netlist + "vcilocks.p_resetn(signal_resetn);" + CR; netlist = netlist + "vcilocks.p_vci(signal_vci_vcilocks);" + CR; - + + ////////////////MWMR controller; hypothesis 1 per coprocessor + // if(nb_cluster == 0){ + i=0; + for (AvatarCoproMWMR copro : TopCellGenerator.avatardd.getAllCoproMWMR()){ + //a coprocessor with FIFO interface + netlist = netlist +copro.getCoprocName()+".p_clk(signal_clk);" + CR; + netlist = netlist +copro.getCoprocName()+".p_resetn(signal_resetn);" + CR; + netlist = netlist + copro.getCoprocName()+".p_"+i+"_ctrl(signal_fifo_"+i+"_ctrl);" + CR; + //and its mwmr controller + netlist = netlist + "mwmr"+i+".p_clk(signal_clk);" + CR; + netlist = netlist + "mwmr"+i+".p_resetn(signal_resetn);" + CR; + netlist = netlist + "mwmr"+i+".p_vci_initiator(signal_mwmr_"+i+"initiator);" + CR; + netlist = netlist + "mwmr"+i+".p_vci_target(signal_mwmr_"+i+"_target);" + CR; + netlist = netlist + copro.getCoprocName()+".p_"+i+"_ctrl(signal_fifo_"+i+"_ctrl);" + CR; + } + // } + //int j; /* netlist for connecting the monitoring infrastructure */ /* Which VCI interfaces are marked for full log, with a spy sign? */ diff --git a/src/ddtranslatorSoclib/toTopCell/Platforminfo.java b/src/ddtranslatorSoclib/toTopCell/Platforminfo.java index 6546176d90be8a216148de22183e4e8828db8c8d..25a25e4857b879205cfee3061429809877816526 100755 --- a/src/ddtranslatorSoclib/toTopCell/Platforminfo.java +++ b/src/ddtranslatorSoclib/toTopCell/Platforminfo.java @@ -1,7 +1,48 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* This class generates the platform_desc file t*/ -/* authors: v1.0 Daniela GENIUS auguts 2016 */ +/* authors: v1.0 Daniela GENIUS august 2016 */ package ddtranslatorSoclib.toTopCell; import ddtranslatorSoclib.*; diff --git a/src/ddtranslatorSoclib/toTopCell/Signal.java b/src/ddtranslatorSoclib/toTopCell/Signal.java index 76dc78cec255773e91648aeaf9d306e9dae379f6..0ef15361c19d59f2c6b60cb1db51f2249b4ebf18 100755 --- a/src/ddtranslatorSoclib/toTopCell/Signal.java +++ b/src/ddtranslatorSoclib/toTopCell/Signal.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* This class generates the lines of the topcell where the signals are declared*/ /* authors: v1.0 Raja GATGOUT 2014 @@ -38,13 +79,19 @@ signal = signal +"caba::VciSignals<vci_param> signal_vci_vcilocks(\"signal_vci_v signal = signal +"caba::VciSignals<vci_param> signal_vci_ethernett;"+ CR; signal = signal +""+ CR; signal = signal + "sc_clock signal_clk(\"signal_clk\");" + CR; - signal = signal + "sc_signal<bool> signal_resetn(\"" + NAME_RST + "\");" + CR2; + signal = signal + "sc_signal<bool> signal_resetn(\"" + NAME_RST + "\");" + CR2; + int i=0; + for (AvatarCoproMWMR copro : TopCellGenerator.avatardd.getAllCoproMWMR()){ + signal = signal +"caba::VciSignals<vci_param> signal_mwmr_"+i+"_initiator;"+ CR; + signal = signal +"caba::VciSignals<vci_param> signal_mwmr_"+i+"_target;"+ CR; + signal = signal +"caba::VciSignals<vci_param> signal_fifo_"+i+"_ctrl;"+ CR; + } if(TopCellGenerator.avatardd.getAllCrossbar().size()==0){ for (AvatarRAM ram : TopCellGenerator.avatardd.getAllRAM()) signal = signal + "soclib::caba::VciSignals<vci_param> signal_vci_vciram" + ram.getNo_ram() + "(\"signal_vci_vciram" + ram.getNo_ram() + "\");" + CR2; - int i = 0; + i = 0; for (AvatarTTY tty : TopCellGenerator.avatardd.getAllTTY()){ //signal = signal + "soclib::caba::VciSignals<vci_param> signal_vci_tty"+tty.getNo_tty()+"(\"signal_vci_tty"+tty.getNo_tty()+"\");" + CR2; @@ -59,7 +106,7 @@ i++; else{ for (AvatarRAM ram : TopCellGenerator.avatardd.getAllRAM()) signal = signal + "soclib::caba::VciSignals<vci_param> signal_vci_vciram" + ram.getNo_ram() - + "(\"signal_vci_vciram" + ram.getNo_ram() + "\");" + CR2; int i=0; + + "(\"signal_vci_vciram" + ram.getNo_ram() + "\");" + CR2; i=0; for (AvatarTTY tty : TopCellGenerator.avatardd.getAllTTY()){ // signal = signal + "soclib::caba::VciSignals<vci_param> signal_vci_tty"+tty.getNo_tty()+"(\"signal_vci_tty"+tty.getNo_tty()+"\");" + CR2; signal = signal + "soclib::caba::VciSignals<vci_param> signal_vci_tty"+i+"(\"signal_vci_tty"+i+"\");" + CR2; diff --git a/src/ddtranslatorSoclib/toTopCell/Simulation.java b/src/ddtranslatorSoclib/toTopCell/Simulation.java index 81bd8ab74c15bf52854f572acd7a478b53900211..c7248f87a97f65f56a25ce1a8906e39232ce98ed 100755 --- a/src/ddtranslatorSoclib/toTopCell/Simulation.java +++ b/src/ddtranslatorSoclib/toTopCell/Simulation.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* authors: v1.0 Raja GATGOUT 2014 v2.0 Daniela GENIUS, Julien HENON 2015 */ diff --git a/src/ddtranslatorSoclib/toTopCell/TopCellGenerator.java b/src/ddtranslatorSoclib/toTopCell/TopCellGenerator.java index 3f02d7a89a720c314a7a77ed792aa15298679552..dbe450d526e8e7ba8e34d72e99f4fe7b7d06fe23 100755 --- a/src/ddtranslatorSoclib/toTopCell/TopCellGenerator.java +++ b/src/ddtranslatorSoclib/toTopCell/TopCellGenerator.java @@ -1,3 +1,44 @@ + +/**Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille + Daniela Genius, Lip6, UMR 7606 + + ludovic.apvrille AT enst.fr + daniela.genius@lip6.fr + + This software is a computer program whose purpose is to allow the + edition of TURTLE analysis, design and deployment diagrams, to + allow the generation of RT-LOTOS or Java code from this diagram, + and at last to allow the analysis of formal validation traces + obtained from external tools, e.g. RTL from LAAS-CNRS and CADP + from INRIA Rhone-Alpes. + + This software is governed by the CeCILL license under French law and + abiding by the rules of distribution of free software. You can use, + modify and/ or redistribute the software under the terms of the CeCILL + license as circulated by CEA, CNRS and INRIA at the following URL + "http://www.cecill.info". + + As a counterpart to the access to the source code and rights to copy, + modify and redistribute granted by the license, users are provided only + with a limited warranty and the software's author, the holder of the + economic rights, and the successive licensors have only limited + liability. + + In this respect, the user's attention is drawn to the risks associated + with loading, using, modifying and/or developing or reproducing the + software by the user in light of its specific status of free software, + that may mean that it is complicated to manipulate, and that also + therefore means that it is reserved for developers and experienced + professionals having in-depth computer knowledge. Users are therefore + encouraged to load and test the software's suitability as regards their + requirements in conditions enabling the security of their systems and/or + data to be ensured and, more generally, to use and operate it in the + same conditions as regards security. + + The fact that you are presently reading this means that you have had + knowledge of the CeCILL license and that you accept its terms. +*/ + /* Generator of the top cell for simulation with SoCLib virtual component library */ diff --git a/src/ui/MainGUI.java b/src/ui/MainGUI.java old mode 100755 new mode 100644 diff --git a/src/ui/TDiagramPanel.java b/src/ui/TDiagramPanel.java index f41f1cd07f9aa01b54283dfa03c1c4e35c369c60..0f7dbac6f9fe36c096481df1463d2cbfbbc320d6 100755 --- a/src/ui/TDiagramPanel.java +++ b/src/ui/TDiagramPanel.java @@ -46,61 +46,47 @@ package ui; -import java.awt.Color; -import java.awt.Dimension; -import java.awt.Font; -import java.awt.FontMetrics; -import java.awt.Graphics; -import java.awt.Graphics2D; -import java.awt.Point; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.image.BufferedImage; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.LinkedList; -import java.util.Vector; - -import javax.swing.JMenuItem; -import javax.swing.JOptionPane; -import javax.swing.JPanel; -import javax.swing.JPopupMenu; -import javax.swing.RepaintManager; - -import myutil.GenericTree; -import myutil.GraphicLib; -import myutil.SVGGraphics; -import myutil.TraceManager; -import ui.atd.ATDBlock; -import ui.avatarad.AvatarADActivity; +import javax.swing.*; +import java.awt.*; +import java.awt.event.*; +import java.util.*; + +import java.awt.image.*; + + +import myutil.*; +import ui.oscd.*; +import ui.cd.*; +import ui.window.*; +import ui.tree.*; +import ui.tmlcd.*; +import ui.tmlcompd.*; +import ui.req.*; +import ui.ncdd.*; + +import ui.atd.*; + + // AVATAR -import ui.avatarbd.AvatarBDBlock; -import ui.avatarbd.AvatarBDDataType; -import ui.avatarbd.AvatarBDLibraryFunction; -import ui.avatarcd.AvatarCDBlock; -import ui.avatarmad.AvatarMADAssumption; -import ui.avatarrd.AvatarRDRequirement; -import ui.avatarsmd.AvatarSMDState; -import ui.cd.TCDCompositionOperatorWithSynchro; -import ui.cd.TCDSynchroGateList; -import ui.cd.TCDTClass; -import ui.cd.TCDTData; -import ui.cd.TCDTObject; -import ui.cd.TGConnectorAssociation; -import ui.ncdd.NCConnectorNode; -import ui.ncdd.NCEqNode; -import ui.ncdd.NCRouteArtifact; -import ui.ncdd.NCSwitchNode; -import ui.ncdd.NCTrafficArtifact; -import ui.oscd.TOSClass; -import ui.req.Requirement; -import ui.tmlcd.TMLTaskOperator; -import ui.tmlcompd.TMLCCompositeComponent; -import ui.tmlcompd.TMLCPrimitiveComponent; -import ui.tmlcompd.TMLCRecordComponent; -import ui.window.JDialogCode; -import ui.window.JDialogNote; -import ui.window.JDialogSearchBox; +import ui.avatarbd.*; +import ui.avatarsmd.*; +import ui.avatarrd.*; +import ui.avatarmad.*; +import ui.avatarad.*; +import ui.avatarcd.*; + +// Added by Solange +import ui.procsd.*; + +import java.text.*; +import java.awt.Rectangle; +import java.awt.Graphics2D; +import java.awt.Color; +import java.awt.font.*; +import java.awt.geom.*; +import java.io.Writer; +import java.io.OutputStreamWriter; +import java.io.IOException; @@ -167,7 +153,7 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree { protected final int increment = 500; private double zoom = 1.0; - //private boolean zoomed = false; + private boolean zoomed = false; private boolean draw; @@ -616,7 +602,7 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree { StringBuffer s; //Added by Solange to see the components in the list - //LinkedList<TGComponent> ruteoList=this.componentList; + LinkedList<TGComponent> ruteoList=this.componentList; // for (TGComponent tgc: this.componentList) diff --git a/src/ui/TGComponent.java b/src/ui/TGComponent.java index b9d53e00b312cc42e8be0d93406e78f9e621150e..dca685bb1ffe0d797bbdca480b1335a3e0a325e5 100755 --- a/src/ui/TGComponent.java +++ b/src/ui/TGComponent.java @@ -1080,7 +1080,6 @@ public abstract class TGComponent implements CDElement, GenericTree { } } } - synchronized(this) { Map<String, String> statMap = tdp.getMGUI().getStatus(getDIPLOID()); for (String name:statMap.keySet()){ String stat =statMap.get(name); @@ -1098,7 +1097,6 @@ public abstract class TGComponent implements CDElement, GenericTree { } } - } /*if (this instanceof TMLArchiCPUNode) { }