Added file version and closed resource leak
[Mograsim.git] / net.mograsim.logic.ui / Test.json
1 mograsim version: 0.1.0
2 {
3   "type": "SimpleRectangularSubmodelComponent",
4   "width": 35.0,
5   "height": 10.0,
6   "interfacePins": [
7     {
8       "location": {
9         "x": 0.0,
10         "y": 5.0
11       },
12       "logicWidth": 1
13     }
14   ],
15   "composition": {
16     "innerScale": 0.4,
17     "subComps": [
18       {
19         "pos": {
20           "x": 0.0,
21           "y": 0.0
22         },
23         "type": "file:HalfAdder.json",
24         "logicWidth": 1
25       }
26     ],
27     "innerWires": []
28   },
29   "specialized": {
30     "input_count": 1,
31     "label": "Test",
32     "logic_width": 1,
33     "output_count": 0
34   }
35 }