Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.am2900 / FullAdder.json
1 mograsim version: 0.1.1
2 {
3   "type": "SimpleRectangularSubmodelComponent",
4   "width": 35.0,
5   "height": 30.0,
6   "interfacePins": [
7     {
8       "location": {
9         "x": 0.0,
10         "y": 5.0
11       },
12       "name": "A",
13       "logicWidth": 1
14     },
15     {
16       "location": {
17         "x": 0.0,
18         "y": 15.0
19       },
20       "name": "B",
21       "logicWidth": 1
22     },
23     {
24       "location": {
25         "x": 0.0,
26         "y": 25.0
27       },
28       "name": "C",
29       "logicWidth": 1
30     },
31     {
32       "location": {
33         "x": 35.0,
34         "y": 5.0
35       },
36       "name": "Y",
37       "logicWidth": 1
38     },
39     {
40       "location": {
41         "x": 35.0,
42         "y": 15.0
43       },
44       "name": "Z",
45       "logicWidth": 1
46     }
47   ],
48   "composition": {
49     "innerScale": 0.4,
50     "subComps": [
51       {
52         "pos": {
53           "x": 5.0,
54           "y": 40.0
55         },
56         "type": "class:net.mograsim.logic.ui.model.components.mi.nandbased.GUIhalfadder",
57         "params": {}
58       },
59       {
60         "pos": {
61           "x": 45.0,
62           "y": 7.5
63         },
64         "type": "class:net.mograsim.logic.ui.model.components.mi.nandbased.GUIhalfadder",
65         "params": {}
66       },
67       {
68         "pos": {
69           "x": 57.5,
70           "y": 40.0
71         },
72         "type": "class:net.mograsim.logic.ui.model.components.GUINandGate",
73         "params": {
74           "logicWidth": 1
75         }
76       }
77     ],
78     "innerWires": [
79       {
80         "pin1": {
81           "compId": 0,
82           "pinName": "A"
83         },
84         "pin2": {
85           "compId": 2,
86           "pinName": "A"
87         },
88         "path": []
89       },
90       {
91         "pin1": {
92           "compId": 0,
93           "pinName": "B"
94         },
95         "pin2": {
96           "compId": 1,
97           "pinName": "A"
98         }
99       },
100       {
101         "pin1": {
102           "compId": 0,
103           "pinName": "C"
104         },
105         "pin2": {
106           "compId": 1,
107           "pinName": "B"
108         }
109       },
110       {
111         "pin1": {
112           "compId": 1,
113           "pinName": "Y"
114         },
115         "pin2": {
116           "compId": 2,
117           "pinName": "B"
118         }
119       },
120       {
121         "pin1": {
122           "compId": 1,
123           "pinName": "_Z"
124         },
125         "pin2": {
126           "compId": 3,
127           "pinName": "B"
128         },
129         "path": []
130       },
131       {
132         "pin1": {
133           "compId": 2,
134           "pinName": "Y"
135         },
136         "pin2": {
137           "compId": 0,
138           "pinName": "Y"
139         },
140         "path": []
141       },
142       {
143         "pin1": {
144           "compId": 2,
145           "pinName": "_Z"
146         },
147         "pin2": {
148           "compId": 3,
149           "pinName": "A"
150         },
151         "path": [
152           {
153             "x": 82.5,
154             "y": 22.5
155           },
156           {
157             "x": 82.5,
158             "y": 35.0
159           },
160           {
161             "x": 52.5,
162             "y": 35.0
163           },
164           {
165             "x": 52.5,
166             "y": 45.0
167           }
168         ]
169       },
170       {
171         "pin1": {
172           "compId": 3,
173           "pinName": "Y"
174         },
175         "pin2": {
176           "compId": 0,
177           "pinName": "Z"
178         }
179       }
180     ]
181   },
182   "specialized": {
183     "input_count": 3,
184     "label": "GUIfulladder",
185     "logic_width": 1,
186     "output_count": 2
187   }
188 }