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