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