Commit b7d87ed404ccd44caa32fcb5a0b6f18ea560865c
1 parent
4ce6cc3f37
Exists in
master
and in
1 other branch
Clean version
Showing 23 changed files with 8 additions and 131 deletions Side-by-side Diff
- .gitignore
- Examples/CircuitRC/Models/CircuitRC.sysmldi
- Examples/CircuitRC/Models/CircuitRC.vhd
- Examples/CircuitRC/Models/CircuitRC.vhdlamsmodel
- fr.femtost.disc.eclipse.sysml2vhdlams.acceleo/tasks/sysml2vhdlamsfile.xml
- fr.femtost.disc.eclipse.vhdlamslibrary.updatesite/artifacts.jar
- fr.femtost.disc.eclipse.vhdlamslibrary.updatesite/content.jar
- fr.femtost.disc.eclipse.vhdlamslibrary.updatesite/site.xml
- fr.femtost.disc.sysml2vhdlams.updatesite/artifacts.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/content.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.problemmetamodel_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.atl_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.ui_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.acceleo_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.atl_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.ui_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary.ui_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.edit_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.editor_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel_1.0.0.201404241053.jar
- fr.femtost.disc.sysml2vhdlams.updatesite/site.xml
.gitignore
View file @
b7d87ed
Examples/CircuitRC/Models/CircuitRC.sysmldi
View file @
b7d87ed
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <model href="CircuitRC.sysml#idModel"/> |
4 | 4 | <subdiagrams xmi:id="_beGlAJ2jEeGUscVNOGzLGQ" activeDiagram="_beGlAZ2jEeGUscVNOGzLGQ"> |
5 | 5 | <model href="CircuitRC.sysml#idPackage"/> |
6 | - <diagrams xmi:id="_beGlAZ2jEeGUscVNOGzLGQ" position="0,0" size="100,100" name="CircuitRC" viewport="49,145"> | |
6 | + <diagrams xmi:id="_beGlAZ2jEeGUscVNOGzLGQ" position="0,0" size="100,100" name="CircuitRC" viewport="49,80"> | |
7 | 7 | <property xmi:id="_boOxYJ2jEeGUscVNOGzLGQ" key="pageFormatName" value="A4"/> |
8 | 8 | <property xmi:id="_boOxYZ2jEeGUscVNOGzLGQ" key="diagramWidth" value="840"/> |
9 | 9 | <property xmi:id="_boOxYp2jEeGUscVNOGzLGQ" key="diagramHeight" value="1188"/> |
Examples/CircuitRC/Models/CircuitRC.vhd
View file @
b7d87ed
1 | -library IEEE; | |
2 | -use IEEE.electrical_systems.all; | |
3 | - | |
4 | - | |
5 | ----------------- ENTITY DECLARATION Resistor ---------------- | |
6 | --- @Req1.1 'Requirement2' : The system shall be capable to have a derivator behavior | |
7 | -ENTITY Resistor IS | |
8 | - GENERIC( | |
9 | - R : real | |
10 | - ); | |
11 | - PORT( | |
12 | - TERMINAL m : Electrical; | |
13 | - TERMINAL p : Electrical | |
14 | - ); | |
15 | -END ENTITY Resistor; | |
16 | - | |
17 | ----------------- ARCHITECTURE DECLARATION behav OF Resistor ---------------- | |
18 | -ARCHITECTURE behav OF Resistor IS | |
19 | - QUANTITY v_in ACROSS i_out THROUGH p TO m; | |
20 | - | |
21 | - | |
22 | -BEGIN | |
23 | - | |
24 | - | |
25 | - | |
26 | - v_in == R * i_out; | |
27 | - | |
28 | -END ARCHITECTURE behav; | |
29 | - | |
30 | - | |
31 | -library IEEE; | |
32 | -use IEEE.electrical_systems.all; | |
33 | - | |
34 | - | |
35 | ----------------- ENTITY DECLARATION Condensateur ---------------- | |
36 | --- @Req1.2 'Requirement3' : The system shall be capable to respond in 2ms | |
37 | -ENTITY Condensateur IS | |
38 | - GENERIC( | |
39 | - C : real | |
40 | - ); | |
41 | - PORT( | |
42 | - TERMINAL m : Electrical; | |
43 | - TERMINAL p : Electrical | |
44 | - ); | |
45 | -END ENTITY Condensateur; | |
46 | - | |
47 | ----------------- ARCHITECTURE DECLARATION behav OF Condensateur ---------------- | |
48 | -ARCHITECTURE behav OF Condensateur IS | |
49 | - QUANTITY v_in ACROSS i_out THROUGH p TO m; | |
50 | - | |
51 | - | |
52 | -BEGIN | |
53 | - | |
54 | - | |
55 | - | |
56 | - i_out == C * v_in'dot; | |
57 | - | |
58 | -END ARCHITECTURE behav; | |
59 | - | |
60 | - | |
61 | -library IEEE; | |
62 | -use IEEE.electrical_systems.all; | |
63 | - | |
64 | - | |
65 | ----------------- ENTITY DECLARATION Generateur ---------------- | |
66 | -ENTITY Generateur IS | |
67 | - | |
68 | - PORT( | |
69 | - TERMINAL m : Electrical; | |
70 | - TERMINAL p : Electrical | |
71 | - ); | |
72 | -END ENTITY Generateur; | |
73 | - | |
74 | ----------------- ARCHITECTURE DECLARATION behav OF Generateur ---------------- | |
75 | -ARCHITECTURE behav OF Generateur IS | |
76 | - CONSTANT v : real := 110.0; | |
77 | - QUANTITY v_in ACROSS i_out THROUGH p TO m; | |
78 | - | |
79 | - | |
80 | -BEGIN | |
81 | - | |
82 | - | |
83 | - | |
84 | - v_in == v; | |
85 | - | |
86 | -END ARCHITECTURE behav; | |
87 | - | |
88 | - | |
89 | -library IEEE; | |
90 | -use IEEE.electrical_systems.all; | |
91 | - | |
92 | -library work; | |
93 | -use work.ALL; | |
94 | ----------------- ENTITY DECLARATION Circuit ---------------- | |
95 | --- @Req1.0 'Requirement1' : The system shall be capable to do a low-pass band filter | |
96 | -ENTITY Circuit IS | |
97 | - | |
98 | - | |
99 | -END ENTITY Circuit; | |
100 | - | |
101 | ----------------- ARCHITECTURE DECLARATION behav OF Circuit ---------------- | |
102 | -ARCHITECTURE behav OF Circuit IS | |
103 | - | |
104 | - TERMINAL n1 : Electrical; | |
105 | - TERMINAL n2 : Electrical; | |
106 | - | |
107 | -BEGIN | |
108 | - | |
109 | - R1 : ENTITY Resistor (behav) | |
110 | - GENERIC MAP (R=>100.0) | |
111 | - PORT MAP (p=>n1, m=>n2); | |
112 | - C1 : ENTITY Condensateur (behav) | |
113 | - GENERIC MAP (C=>1.0e-6) | |
114 | - PORT MAP (p=>n2, m=>ground); | |
115 | - SRC : ENTITY Generateur (behav) | |
116 | - PORT MAP (p=>n1, m=>ground); | |
117 | - | |
118 | - | |
119 | -END ARCHITECTURE behav; |
Examples/CircuitRC/Models/CircuitRC.vhdlamsmodel
View file @
b7d87ed
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | <property xsi:type="vhdlams:BranchQuantity" plus_terminal="/0/@package.0/@designUnit.2/@property.2" minus_terminal="/0/@package.0/@designUnit.2/@property.1" through="/4" across="/3"/> |
33 | 33 | <statement xsi:type="vhdlams:ConcurrentialStatement" body="i_out == C * v_in'dot"/> |
34 | 34 | </designUnit> |
35 | - <designUnit xsi:type="vhdlams:Entity" name="Generateur" architecture="/0/@package.0/@designUnit.5"> | |
35 | + <designUnit xsi:type="vhdlams:Entity" name="Generator" architecture="/0/@package.0/@designUnit.5"> | |
36 | 36 | <property xsi:type="vhdlams:Terminal" name="m"> |
37 | 37 | <type href="pathmap://VHDLAMS_LIBRARIES/ieee.vhdl.xmi#//@designUnit.7/@designUnit.12"/> |
38 | 38 | </property> |
fr.femtost.disc.eclipse.sysml2vhdlams.acceleo/tasks/sysml2vhdlamsfile.xml
View file @
b7d87ed
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project default="sysml2vhdlamsfile" name="fr.femtost.disc.eclipse.sysml2vhdlams.acceleo"> |
3 | - <property name="ECLIPSE_HOME" value="../../../../../../Windows/eclipse_Indigo_SR2"/> | |
4 | - <property name="ECLIPSE_WORKSPACE" value="../../../../../../workspaceSysML2VHDLAMS"/> | |
3 | + <property name="ECLIPSE_HOME" value="../../../../../../Applications/eclipse-indigo-mdt-sr2"/> | |
4 | + <property name="ECLIPSE_WORKSPACE" value="../../../../../../Volumes/Work/EclipseWorkspaces/Indigo_MDT_SR2"/> | |
5 | 5 | |
6 | 6 | <!-- The classpath with only the dependencies used by the project --> |
7 | 7 | <path id="fr.femtost.disc.eclipse.sysml2vhdlams.acceleo.libraryclasspath"> |
fr.femtost.disc.eclipse.vhdlamslibrary.updatesite/artifacts.jar
View file @
b7d87ed
fr.femtost.disc.eclipse.vhdlamslibrary.updatesite/content.jar
View file @
b7d87ed
fr.femtost.disc.eclipse.vhdlamslibrary.updatesite/site.xml
View file @
b7d87ed
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | <description name="VHDL-AMS Library"> |
4 | 4 | VHDL-AMS Library which contains primitive types and all natures |
5 | 5 | </description> |
6 | - <feature url="features/fr.femtost.disc.eclipse.vhdlamslibrary.feature_1.0.0.201404231544.jar" id="fr.femtost.disc.eclipse.vhdlamslibrary.feature" version="1.0.0.201404231544"> | |
6 | + <feature url="features/fr.femtost.disc.eclipse.vhdlamslibrary.feature_1.0.0.qualifier.jar" id="fr.femtost.disc.eclipse.vhdlamslibrary.feature" version="1.0.0.qualifier"> | |
7 | 7 | <category name="VHDLAMSLibrary"/> |
8 | 8 | </feature> |
9 | 9 | <category-def name="VHDLAMSLibrary" label="VHDLAMSLibrary"/> |
fr.femtost.disc.sysml2vhdlams.updatesite/artifacts.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/content.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.problemmetamodel_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.atl_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2problem.ui_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.acceleo_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.atl_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.sysml2vhdlams.ui_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary.ui_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamslibrary_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.edit_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel.editor_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/plugins/fr.femtost.disc.eclipse.vhdlamsmetamodel_1.0.0.201404241053.jar
View file @
b7d87ed
fr.femtost.disc.sysml2vhdlams.updatesite/site.xml
View file @
b7d87ed
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <site> |
3 | - <feature url="features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.201404241053.jar" id="fr.femtost.disc.sysml2vhdlams.feature" version="1.0.0.201404241053"> | |
3 | + <feature url="features/fr.femtost.disc.sysml2vhdlams.feature_1.0.0.qualifier.jar" id="fr.femtost.disc.sysml2vhdlams.feature" version="1.0.0.qualifier"> | |
4 | 4 | <category name="SysML2Vhdlams"/> |
5 | 5 | </feature> |
6 | 6 | <category-def name="SysML2Vhdlams" label="SysML2Vhdlams"/> |