Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
[Mograsim.git] / net.mograsim.logic.ui / components / GUInand3.json
1 mograsim version: 0.1.1
2 {
3   "type": "SimpleRectangularSubmodelComponent",
4   "name": "GUInand3",
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   "composition": {
42     "innerScale": 0.4,
43     "subComps": [
44       {
45         "pos": {
46           "x": 10.0,
47           "y": 15.0
48         },
49         "name": "GUINandGate",
50         "params": {
51           "logicWidth": 1
52         }
53       },
54       {
55         "pos": {
56           "x": 35.0,
57           "y": 15.0
58         },
59         "name": "GUINandGate",
60         "params": {
61           "logicWidth": 1
62         }
63       },
64       {
65         "pos": {
66           "x": 62.5,
67           "y": 2.5
68         },
69         "name": "GUINandGate",
70         "params": {
71           "logicWidth": 1
72         }
73       },
74       {
75         "pos": {
76           "x": 31.5,
77           "y": 24.0
78         },
79         "name": "WireCrossPoint",
80         "params": {
81           "logicWidth": 1
82         }
83       }
84     ],
85     "innerWires": [
86       {
87         "pin1": {
88           "compId": 0,
89           "pinName": "A"
90         },
91         "pin2": {
92           "compId": 1,
93           "pinName": "A"
94         }
95       },
96       {
97         "pin1": {
98           "compId": 0,
99           "pinName": "B"
100         },
101         "pin2": {
102           "compId": 1,
103           "pinName": "B"
104         }
105       },
106       {
107         "pin1": {
108           "compId": 1,
109           "pinName": "Y"
110         },
111         "pin2": {
112           "compId": 4,
113           "pinName": ""
114         },
115         "path": []
116       },
117       {
118         "pin1": {
119           "compId": 4,
120           "pinName": ""
121         },
122         "pin2": {
123           "compId": 2,
124           "pinName": "A"
125         },
126         "path": [
127           {
128             "x": 32.5,
129             "y": 20.0
130           }
131         ]
132       },
133       {
134         "pin1": {
135           "compId": 4,
136           "pinName": ""
137         },
138         "pin2": {
139           "compId": 2,
140           "pinName": "B"
141         },
142         "path": [
143           {
144             "x": 32.5,
145             "y": 30.0
146           }
147         ]
148       },
149       {
150         "pin1": {
151           "compId": 2,
152           "pinName": "Y"
153         },
154         "pin2": {
155           "compId": 3,
156           "pinName": "A"
157         },
158         "path": [
159           {
160             "x": 57.5,
161             "y": 25.0
162           },
163           {
164             "x": 57.5,
165             "y": 7.5
166           }
167         ]
168       },
169       {
170         "pin1": {
171           "compId": 0,
172           "pinName": "C"
173         },
174         "pin2": {
175           "compId": 3,
176           "pinName": "B"
177         },
178         "path": [
179           {
180             "x": 60.0,
181             "y": 62.5
182           },
183           {
184             "x": 60.0,
185             "y": 17.5
186           }
187         ]
188       },
189       {
190         "pin1": {
191           "compId": 3,
192           "pinName": "Y"
193         },
194         "pin2": {
195           "compId": 0,
196           "pinName": "Y"
197         },
198         "path": []
199       }
200     ]
201   },
202   "specialized": {
203     "input_count": [
204       "A",
205       "B",
206       "C"
207     ],
208     "label": "GUInand3",
209     "logic_width": 1,
210     "output_count": [
211       "Y"
212     ]
213   }
214 }