Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
[Mograsim.git] / net.mograsim.logic.ui / components / GUIand.json
1 mograsim version: 0.1.1
2 {
3   "type": "SimpleRectangularSubmodelComponent",
4   "name": "GUIand",
5   "width": 35.0,
6   "height": 20.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": 35.0,
27         "y": 5.0
28       },
29       "name": "Y",
30       "logicWidth": 1
31     }
32   ],
33   "composition": {
34     "innerScale": 0.4,
35     "subComps": [
36       {
37         "pos": {
38           "x": 20.0,
39           "y": 15.0
40         },
41         "name": "GUINandGate",
42         "params": {
43           "logicWidth": 1
44         }
45       },
46       {
47         "pos": {
48           "x": 50.0,
49           "y": 15.0
50         },
51         "name": "GUINandGate",
52         "params": {
53           "logicWidth": 1
54         }
55       },
56       {
57         "pos": {
58           "x": 44.0,
59           "y": 24.0
60         },
61         "name": "WireCrossPoint",
62         "params": {
63           "logicWidth": 1
64         }
65       }
66     ],
67     "innerWires": [
68       {
69         "pin1": {
70           "compId": 0,
71           "pinName": "A"
72         },
73         "pin2": {
74           "compId": 1,
75           "pinName": "A"
76         }
77       },
78       {
79         "pin1": {
80           "compId": 0,
81           "pinName": "B"
82         },
83         "pin2": {
84           "compId": 1,
85           "pinName": "B"
86         }
87       },
88       {
89         "pin1": {
90           "compId": 1,
91           "pinName": "Y"
92         },
93         "pin2": {
94           "compId": 3,
95           "pinName": ""
96         },
97         "path": []
98       },
99       {
100         "pin1": {
101           "compId": 3,
102           "pinName": ""
103         },
104         "pin2": {
105           "compId": 2,
106           "pinName": "A"
107         },
108         "path": [
109           {
110             "x": 45.0,
111             "y": 20.0
112           }
113         ]
114       },
115       {
116         "pin1": {
117           "compId": 3,
118           "pinName": ""
119         },
120         "pin2": {
121           "compId": 2,
122           "pinName": "B"
123         },
124         "path": [
125           {
126             "x": 45.0,
127             "y": 30.0
128           }
129         ]
130       },
131       {
132         "pin1": {
133           "compId": 2,
134           "pinName": "Y"
135         },
136         "pin2": {
137           "compId": 0,
138           "pinName": "Y"
139         }
140       }
141     ]
142   },
143   "specialized": {
144     "input_count": [
145       "A",
146       "B"
147     ],
148     "label": "GUIand",
149     "logic_width": 1,
150     "output_count": [
151       "Y"
152     ]
153   }
154 }