Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUIand.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 20.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 5.0
10                         },
11                         "name": "A",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 15.0
18                         },
19                         "name": "B",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 35.0,
25                                 "y": 5.0
26                         },
27                         "name": "Y",
28                         "logicWidth": 1
29                 }
30         ],
31         "submodel": {
32                 "innerScale": 0.4,
33                 "subComps": [
34                         {
35                                 "pos": {
36                                         "x": 20.0,
37                                         "y": 15.0
38                                 },
39                                 "id": "GUINandGate",
40                                 "params": 1
41                         },
42                         {
43                                 "pos": {
44                                         "x": 50.0,
45                                         "y": 15.0
46                                 },
47                                 "id": "GUINandGate",
48                                 "params": 1
49                         },
50                         {
51                                 "pos": {
52                                         "x": 44.0,
53                                         "y": 24.0
54                                 },
55                                 "id": "WireCrossPoint",
56                                 "params": 1
57                         }
58                 ],
59                 "innerWires": [
60                         {
61                                 "pin1": {
62                                         "compId": 0,
63                                         "pinName": "A"
64                                 },
65                                 "pin2": {
66                                         "compId": 1,
67                                         "pinName": "A"
68                                 }
69                         },
70                         {
71                                 "pin1": {
72                                         "compId": 0,
73                                         "pinName": "B"
74                                 },
75                                 "pin2": {
76                                         "compId": 1,
77                                         "pinName": "B"
78                                 }
79                         },
80                         {
81                                 "pin1": {
82                                         "compId": 1,
83                                         "pinName": "Y"
84                                 },
85                                 "pin2": {
86                                         "compId": 3,
87                                         "pinName": ""
88                                 },
89                                 "path": []
90                         },
91                         {
92                                 "pin1": {
93                                         "compId": 3,
94                                         "pinName": ""
95                                 },
96                                 "pin2": {
97                                         "compId": 2,
98                                         "pinName": "A"
99                                 },
100                                 "path": [
101                                         {
102                                                 "x": 45.0,
103                                                 "y": 20.0
104                                         }
105                                 ]
106                         },
107                         {
108                                 "pin1": {
109                                         "compId": 3,
110                                         "pinName": ""
111                                 },
112                                 "pin2": {
113                                         "compId": 2,
114                                         "pinName": "B"
115                                 },
116                                 "path": [
117                                         {
118                                                 "x": 45.0,
119                                                 "y": 30.0
120                                         }
121                                 ]
122                         },
123                         {
124                                 "pin1": {
125                                         "compId": 2,
126                                         "pinName": "Y"
127                                 },
128                                 "pin2": {
129                                         "compId": 0,
130                                         "pinName": "Y"
131                                 }
132                         }
133                 ]
134         },
135         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
136         "symbolRendererParams": {
137                 "centerText": "GUIand",
138                 "horizontalComponentCenter": 17.5,
139                 "centerTextHeight": 5.0,
140                 "pinLabelHeight": 3.5,
141                 "pinLabelMargin": 0.5
142         }
143 }