Fixed a bug in Am2900; created dlatch8/80; relayouted some components
[Mograsim.git] / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / nand3.json
1 {
2   "width": 35.0,
3   "height": 30.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 5.0
9       },
10       "name": "A",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "B",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 25.0
27       },
28       "name": "C",
29       "logicWidth": 1,
30       "usage": "INPUT"
31     },
32     {
33       "location": {
34         "x": 35.0,
35         "y": 5.0
36       },
37       "name": "Y",
38       "logicWidth": 1,
39       "usage": "OUTPUT"
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": 15.0
51         },
52         "params": 1
53       },
54       {
55         "id": "NandGate",
56         "name": "NandGate#1",
57         "pos": {
58           "x": 35.0,
59           "y": 15.0
60         },
61         "params": 1
62       },
63       {
64         "id": "NandGate",
65         "name": "NandGate#2",
66         "pos": {
67           "x": 62.5,
68           "y": 2.5
69         },
70         "params": 1
71       },
72       {
73         "id": "WireCrossPoint",
74         "name": "WireCrossPoint#0",
75         "pos": {
76           "x": 31.5,
77           "y": 24.0
78         },
79         "params": 1
80       }
81     ],
82     "wires": [
83       {
84         "pin1": {
85           "compName": "_submodelinterface",
86           "pinName": "A"
87         },
88         "pin2": {
89           "compName": "NandGate#0",
90           "pinName": "A"
91         },
92         "name": "unnamedWire#0"
93       },
94       {
95         "pin1": {
96           "compName": "_submodelinterface",
97           "pinName": "B"
98         },
99         "pin2": {
100           "compName": "NandGate#0",
101           "pinName": "B"
102         },
103         "name": "unnamedWire#1"
104       },
105       {
106         "pin1": {
107           "compName": "NandGate#0",
108           "pinName": "Y"
109         },
110         "pin2": {
111           "compName": "WireCrossPoint#0",
112           "pinName": ""
113         },
114         "name": "unnamedWire#2",
115         "path": []
116       },
117       {
118         "pin1": {
119           "compName": "WireCrossPoint#0",
120           "pinName": ""
121         },
122         "pin2": {
123           "compName": "NandGate#1",
124           "pinName": "A"
125         },
126         "name": "unnamedWire#3",
127         "path": [
128           {
129             "x": 32.5,
130             "y": 20.0
131           }
132         ]
133       },
134       {
135         "pin1": {
136           "compName": "WireCrossPoint#0",
137           "pinName": ""
138         },
139         "pin2": {
140           "compName": "NandGate#1",
141           "pinName": "B"
142         },
143         "name": "unnamedWire#4",
144         "path": [
145           {
146             "x": 32.5,
147             "y": 30.0
148           }
149         ]
150       },
151       {
152         "pin1": {
153           "compName": "NandGate#1",
154           "pinName": "Y"
155         },
156         "pin2": {
157           "compName": "NandGate#2",
158           "pinName": "A"
159         },
160         "name": "unnamedWire#5",
161         "path": [
162           {
163             "x": 57.5,
164             "y": 25.0
165           },
166           {
167             "x": 57.5,
168             "y": 7.5
169           }
170         ]
171       },
172       {
173         "pin1": {
174           "compName": "_submodelinterface",
175           "pinName": "C"
176         },
177         "pin2": {
178           "compName": "NandGate#2",
179           "pinName": "B"
180         },
181         "name": "unnamedWire#6",
182         "path": [
183           {
184             "x": 60.0,
185             "y": 62.5
186           },
187           {
188             "x": 60.0,
189             "y": 17.5
190           }
191         ]
192       },
193       {
194         "pin1": {
195           "compName": "NandGate#2",
196           "pinName": "Y"
197         },
198         "pin2": {
199           "compName": "_submodelinterface",
200           "pinName": "Y"
201         },
202         "name": "unnamedWire#7",
203         "path": []
204       }
205     ],
206     "version": "0.1.1"
207   },
208   "symbolRendererSnippetID": "simpleRectangularLike",
209   "symbolRendererParams": {
210     "centerText": "nand3",
211     "centerTextHeight": 5.0,
212     "horizontalComponentCenter": 17.5,
213     "pinLabelHeight": 3.5,
214     "pinLabelMargin": 0.5
215   },
216   "outlineRendererSnippetID": "default",
217   "highLevelStateHandlerSnippetID": "default",
218   "version": "0.1.5"
219 }