Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.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": 50.0,
37           "y": 15.0
38         },
39         "id": "GUINandGate",
40         "name": "GUINandGate#1",
41         "params": 1
42       },
43       {
44         "pos": {
45           "x": 20.0,
46           "y": 15.0
47         },
48         "id": "GUINandGate",
49         "name": "GUINandGate#0",
50         "params": 1
51       },
52       {
53         "pos": {
54           "x": 44.0,
55           "y": 24.0
56         },
57         "id": "WireCrossPoint",
58         "name": "WireCrossPoint#0",
59         "params": 1
60       }
61     ],
62     "innerWires": [
63       {
64         "pin1": {
65           "compName": "_submodelinterface",
66           "pinName": "A"
67         },
68         "pin2": {
69           "compName": "GUINandGate#0",
70           "pinName": "A"
71         }
72       },
73       {
74         "pin1": {
75           "compName": "_submodelinterface",
76           "pinName": "B"
77         },
78         "pin2": {
79           "compName": "GUINandGate#0",
80           "pinName": "B"
81         }
82       },
83       {
84         "pin1": {
85           "compName": "GUINandGate#0",
86           "pinName": "Y"
87         },
88         "pin2": {
89           "compName": "WireCrossPoint#0",
90           "pinName": ""
91         },
92         "path": []
93       },
94       {
95         "pin1": {
96           "compName": "WireCrossPoint#0",
97           "pinName": ""
98         },
99         "pin2": {
100           "compName": "GUINandGate#1",
101           "pinName": "A"
102         },
103         "path": [
104           {
105             "x": 45.0,
106             "y": 20.0
107           }
108         ]
109       },
110       {
111         "pin1": {
112           "compName": "WireCrossPoint#0",
113           "pinName": ""
114         },
115         "pin2": {
116           "compName": "GUINandGate#1",
117           "pinName": "B"
118         },
119         "path": [
120           {
121             "x": 45.0,
122             "y": 30.0
123           }
124         ]
125       },
126       {
127         "pin1": {
128           "compName": "GUINandGate#1",
129           "pinName": "Y"
130         },
131         "pin2": {
132           "compName": "_submodelinterface",
133           "pinName": "Y"
134         }
135       }
136     ]
137   },
138   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
139   "symbolRendererParams": {
140     "centerText": "GUIand",
141     "horizontalComponentCenter": 17.5,
142     "centerTextHeight": 5.0,
143     "pinLabelHeight": 3.5,
144     "pinLabelMargin": 0.5
145   }
146 }