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