Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUInand3.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   "submodel": {
40     "innerScale": 0.4,
41     "subComps": [
42       {
43         "pos": {
44           "x": 35.0,
45           "y": 15.0
46         },
47         "id": "GUINandGate",
48         "name": "GUINandGate#1",
49         "params": 1
50       },
51       {
52         "pos": {
53           "x": 10.0,
54           "y": 15.0
55         },
56         "id": "GUINandGate",
57         "name": "GUINandGate#0",
58         "params": 1
59       },
60       {
61         "pos": {
62           "x": 62.5,
63           "y": 2.5
64         },
65         "id": "GUINandGate",
66         "name": "GUINandGate#2",
67         "params": 1
68       },
69       {
70         "pos": {
71           "x": 31.5,
72           "y": 24.0
73         },
74         "id": "WireCrossPoint",
75         "name": "WireCrossPoint#0",
76         "params": 1
77       }
78     ],
79     "innerWires": [
80       {
81         "pin1": {
82           "compName": "_submodelinterface",
83           "pinName": "A"
84         },
85         "pin2": {
86           "compName": "GUINandGate#0",
87           "pinName": "A"
88         }
89       },
90       {
91         "pin1": {
92           "compName": "_submodelinterface",
93           "pinName": "B"
94         },
95         "pin2": {
96           "compName": "GUINandGate#0",
97           "pinName": "B"
98         }
99       },
100       {
101         "pin1": {
102           "compName": "GUINandGate#0",
103           "pinName": "Y"
104         },
105         "pin2": {
106           "compName": "WireCrossPoint#0",
107           "pinName": ""
108         },
109         "path": []
110       },
111       {
112         "pin1": {
113           "compName": "WireCrossPoint#0",
114           "pinName": ""
115         },
116         "pin2": {
117           "compName": "GUINandGate#1",
118           "pinName": "A"
119         },
120         "path": [
121           {
122             "x": 32.5,
123             "y": 20.0
124           }
125         ]
126       },
127       {
128         "pin1": {
129           "compName": "WireCrossPoint#0",
130           "pinName": ""
131         },
132         "pin2": {
133           "compName": "GUINandGate#1",
134           "pinName": "B"
135         },
136         "path": [
137           {
138             "x": 32.5,
139             "y": 30.0
140           }
141         ]
142       },
143       {
144         "pin1": {
145           "compName": "GUINandGate#1",
146           "pinName": "Y"
147         },
148         "pin2": {
149           "compName": "GUINandGate#2",
150           "pinName": "A"
151         },
152         "path": [
153           {
154             "x": 57.5,
155             "y": 25.0
156           },
157           {
158             "x": 57.5,
159             "y": 7.5
160           }
161         ]
162       },
163       {
164         "pin1": {
165           "compName": "_submodelinterface",
166           "pinName": "C"
167         },
168         "pin2": {
169           "compName": "GUINandGate#2",
170           "pinName": "B"
171         },
172         "path": [
173           {
174             "x": 60.0,
175             "y": 62.5
176           },
177           {
178             "x": 60.0,
179             "y": 17.5
180           }
181         ]
182       },
183       {
184         "pin1": {
185           "compName": "GUINandGate#2",
186           "pinName": "Y"
187         },
188         "pin2": {
189           "compName": "_submodelinterface",
190           "pinName": "Y"
191         },
192         "path": []
193       }
194     ]
195   },
196   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
197   "symbolRendererParams": {
198     "centerText": "GUInand3",
199     "horizontalComponentCenter": 17.5,
200     "centerTextHeight": 5.0,
201     "pinLabelHeight": 3.5,
202     "pinLabelMargin": 0.5
203   }
204 }