Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIfulladder.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 30.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 0.0,
9         "y": 5.0
10       },
11       "name": "A",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "B",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 25.0
26       },
27       "name": "C",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 35.0,
33         "y": 5.0
34       },
35       "name": "Y",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 35.0,
41         "y": 15.0
42       },
43       "name": "Z",
44       "logicWidth": 1
45     }
46   ],
47   "submodel": {
48     "innerScale": 0.4,
49     "subComps": [
50       {
51         "pos": {
52           "x": 57.5,
53           "y": 40.0
54         },
55         "id": "GUINandGate",
56         "name": "GUINandGate#0",
57         "params": 1
58       },
59       {
60         "pos": {
61           "x": 5.0,
62           "y": 40.0
63         },
64         "id": "GUIhalfadder",
65         "name": "GUIhalfadder#0"
66       },
67       {
68         "pos": {
69           "x": 45.0,
70           "y": 7.5
71         },
72         "id": "GUIhalfadder",
73         "name": "GUIhalfadder#1"
74       }
75     ],
76     "innerWires": [
77       {
78         "pin1": {
79           "compName": "_submodelinterface",
80           "pinName": "A"
81         },
82         "pin2": {
83           "compName": "GUIhalfadder#1",
84           "pinName": "A"
85         },
86         "path": []
87       },
88       {
89         "pin1": {
90           "compName": "_submodelinterface",
91           "pinName": "B"
92         },
93         "pin2": {
94           "compName": "GUIhalfadder#0",
95           "pinName": "A"
96         }
97       },
98       {
99         "pin1": {
100           "compName": "_submodelinterface",
101           "pinName": "C"
102         },
103         "pin2": {
104           "compName": "GUIhalfadder#0",
105           "pinName": "B"
106         }
107       },
108       {
109         "pin1": {
110           "compName": "GUIhalfadder#0",
111           "pinName": "Y"
112         },
113         "pin2": {
114           "compName": "GUIhalfadder#1",
115           "pinName": "B"
116         }
117       },
118       {
119         "pin1": {
120           "compName": "GUIhalfadder#0",
121           "pinName": "_Z"
122         },
123         "pin2": {
124           "compName": "GUINandGate#0",
125           "pinName": "B"
126         },
127         "path": []
128       },
129       {
130         "pin1": {
131           "compName": "GUIhalfadder#1",
132           "pinName": "Y"
133         },
134         "pin2": {
135           "compName": "_submodelinterface",
136           "pinName": "Y"
137         },
138         "path": []
139       },
140       {
141         "pin1": {
142           "compName": "GUIhalfadder#1",
143           "pinName": "_Z"
144         },
145         "pin2": {
146           "compName": "GUINandGate#0",
147           "pinName": "A"
148         },
149         "path": [
150           {
151             "x": 82.5,
152             "y": 22.5
153           },
154           {
155             "x": 82.5,
156             "y": 35.0
157           },
158           {
159             "x": 52.5,
160             "y": 35.0
161           },
162           {
163             "x": 52.5,
164             "y": 45.0
165           }
166         ]
167       },
168       {
169         "pin1": {
170           "compName": "GUINandGate#0",
171           "pinName": "Y"
172         },
173         "pin2": {
174           "compName": "_submodelinterface",
175           "pinName": "Z"
176         }
177       }
178     ]
179   },
180   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
181   "symbolRendererParams": {
182     "centerText": "GUIfulladder",
183     "horizontalComponentCenter": 17.5,
184     "centerTextHeight": 5.0,
185     "pinLabelHeight": 3.5,
186     "pinLabelMargin": 0.5
187   }
188 }