Fixed a bug in Am2900; created dlatch8/80; relayouted some components
[Mograsim.git] / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / and.json
1 {
2   "width": 35.0,
3   "height": 20.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 5.0
9       },
10       "name": "A",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "B",
20       "logicWidth": 1,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 35.0,
26         "y": 5.0
27       },
28       "name": "Y",
29       "logicWidth": 1,
30       "usage": "OUTPUT"
31     }
32   ],
33   "innerScale": 0.4,
34   "submodel": {
35     "components": [
36       {
37         "id": "NandGate",
38         "name": "NandGate#0",
39         "pos": {
40           "x": 20.0,
41           "y": 15.0
42         },
43         "params": 1
44       },
45       {
46         "id": "NandGate",
47         "name": "NandGate#1",
48         "pos": {
49           "x": 50.0,
50           "y": 15.0
51         },
52         "params": 1
53       },
54       {
55         "id": "WireCrossPoint",
56         "name": "WireCrossPoint#0",
57         "pos": {
58           "x": 44.0,
59           "y": 24.0
60         },
61         "params": 1
62       }
63     ],
64     "wires": [
65       {
66         "pin1": {
67           "compName": "_submodelinterface",
68           "pinName": "A"
69         },
70         "pin2": {
71           "compName": "NandGate#0",
72           "pinName": "A"
73         },
74         "name": "unnamedWire#0"
75       },
76       {
77         "pin1": {
78           "compName": "_submodelinterface",
79           "pinName": "B"
80         },
81         "pin2": {
82           "compName": "NandGate#0",
83           "pinName": "B"
84         },
85         "name": "unnamedWire#1"
86       },
87       {
88         "pin1": {
89           "compName": "NandGate#0",
90           "pinName": "Y"
91         },
92         "pin2": {
93           "compName": "WireCrossPoint#0",
94           "pinName": ""
95         },
96         "name": "unnamedWire#2",
97         "path": []
98       },
99       {
100         "pin1": {
101           "compName": "WireCrossPoint#0",
102           "pinName": ""
103         },
104         "pin2": {
105           "compName": "NandGate#1",
106           "pinName": "A"
107         },
108         "name": "unnamedWire#3",
109         "path": [
110           {
111             "x": 45.0,
112             "y": 20.0
113           }
114         ]
115       },
116       {
117         "pin1": {
118           "compName": "WireCrossPoint#0",
119           "pinName": ""
120         },
121         "pin2": {
122           "compName": "NandGate#1",
123           "pinName": "B"
124         },
125         "name": "unnamedWire#4",
126         "path": [
127           {
128             "x": 45.0,
129             "y": 30.0
130           }
131         ]
132       },
133       {
134         "pin1": {
135           "compName": "NandGate#1",
136           "pinName": "Y"
137         },
138         "pin2": {
139           "compName": "_submodelinterface",
140           "pinName": "Y"
141         },
142         "name": "unnamedWire#5"
143       }
144     ],
145     "version": "0.1.1"
146   },
147   "symbolRendererSnippetID": "simpleRectangularLike",
148   "symbolRendererParams": {
149     "centerText": "and",
150     "centerTextHeight": 5.0,
151     "horizontalComponentCenter": 17.5,
152     "pinLabelHeight": 3.5,
153     "pinLabelMargin": 0.5
154   },
155   "outlineRendererSnippetID": "default",
156   "highLevelStateHandlerSnippetID": "default",
157   "version": "0.1.5"
158 }