Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / components / GUIdlatch.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 20.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 35.0,
9         "y": 5.0
10       },
11       "name": "Q",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 35.0,
17         "y": 15.0
18       },
19       "name": "_Q",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 5.0
26       },
27       "name": "D",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 15.0
34       },
35       "name": "E",
36       "logicWidth": 1
37     }
38   ],
39   "submodel": {
40     "innerScale": 0.4,
41     "subComps": [
42       {
43         "pos": {
44           "x": 15.0,
45           "y": 27.5
46         },
47         "id": "GUINandGate",
48         "name": "GUINandGate#1",
49         "params": 1
50       },
51       {
52         "pos": {
53           "x": 45.0,
54           "y": 7.5
55         },
56         "id": "GUI_rsLatch",
57         "name": "GUI_rsLatch#0"
58       },
59       {
60         "pos": {
61           "x": 10.0,
62           "y": 2.5
63         },
64         "id": "GUINandGate",
65         "name": "GUINandGate#0",
66         "params": 1
67       },
68       {
69         "pos": {
70           "x": 34.0,
71           "y": 11.5
72         },
73         "id": "WireCrossPoint",
74         "name": "WireCrossPoint#1",
75         "params": 1
76       },
77       {
78         "pos": {
79           "x": 4.0,
80           "y": 36.5
81         },
82         "id": "WireCrossPoint",
83         "name": "WireCrossPoint#0",
84         "params": 1
85       }
86     ],
87     "innerWires": [
88       {
89         "pin1": {
90           "compName": "_submodelinterface",
91           "pinName": "D"
92         },
93         "pin2": {
94           "compName": "GUINandGate#0",
95           "pinName": "A"
96         }
97       },
98       {
99         "pin1": {
100           "compName": "_submodelinterface",
101           "pinName": "E"
102         },
103         "pin2": {
104           "compName": "WireCrossPoint#0",
105           "pinName": ""
106         },
107         "path": []
108       },
109       {
110         "pin1": {
111           "compName": "WireCrossPoint#0",
112           "pinName": ""
113         },
114         "pin2": {
115           "compName": "GUINandGate#0",
116           "pinName": "B"
117         },
118         "path": [
119           {
120             "x": 5.0,
121             "y": 17.5
122           }
123         ]
124       },
125       {
126         "pin1": {
127           "compName": "WireCrossPoint#0",
128           "pinName": ""
129         },
130         "pin2": {
131           "compName": "GUINandGate#1",
132           "pinName": "B"
133         },
134         "path": [
135           {
136             "x": 5.0,
137             "y": 42.5
138           }
139         ]
140       },
141       {
142         "pin1": {
143           "compName": "GUINandGate#0",
144           "pinName": "Y"
145         },
146         "pin2": {
147           "compName": "WireCrossPoint#1",
148           "pinName": ""
149         },
150         "path": []
151       },
152       {
153         "pin1": {
154           "compName": "WireCrossPoint#1",
155           "pinName": ""
156         },
157         "pin2": {
158           "compName": "GUINandGate#1",
159           "pinName": "A"
160         },
161         "path": [
162           {
163             "x": 35.0,
164             "y": 25.0
165           },
166           {
167             "x": 10.0,
168             "y": 25.0
169           },
170           {
171             "x": 10.0,
172             "y": 32.5
173           }
174         ]
175       },
176       {
177         "pin1": {
178           "compName": "WireCrossPoint#1",
179           "pinName": ""
180         },
181         "pin2": {
182           "compName": "GUI_rsLatch#0",
183           "pinName": "_S"
184         },
185         "path": []
186       },
187       {
188         "pin1": {
189           "compName": "GUINandGate#1",
190           "pinName": "Y"
191         },
192         "pin2": {
193           "compName": "GUI_rsLatch#0",
194           "pinName": "_R"
195         },
196         "path": [
197           {
198             "x": 40.0,
199             "y": 37.5
200           },
201           {
202             "x": 40.0,
203             "y": 22.5
204           }
205         ]
206       },
207       {
208         "pin1": {
209           "compName": "GUI_rsLatch#0",
210           "pinName": "Q"
211         },
212         "pin2": {
213           "compName": "_submodelinterface",
214           "pinName": "Q"
215         },
216         "path": []
217       },
218       {
219         "pin1": {
220           "compName": "GUI_rsLatch#0",
221           "pinName": "_Q"
222         },
223         "pin2": {
224           "compName": "_submodelinterface",
225           "pinName": "_Q"
226         }
227       }
228     ]
229   },
230   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
231   "symbolRendererParams": {
232     "centerText": "GUIdlatch",
233     "horizontalComponentCenter": 17.5,
234     "centerTextHeight": 5.0,
235     "pinLabelHeight": 3.5,
236     "pinLabelMargin": 0.5
237   }
238 }