Pins now have names
[Mograsim.git] / net.mograsim.logic.ui / FullAdder.json
index 4740f05..b24145f 100644 (file)
@@ -1,3 +1,4 @@
+mograsim version: 0.1.0
 {
   "type": "SimpleRectangularSubmodelComponent",
   "width": 35.0,
@@ -8,6 +9,7 @@
         "x": 0.0,
         "y": 5.0
       },
+      "name": "Input pin #0",
       "logicWidth": 1
     },
     {
@@ -15,6 +17,7 @@
         "x": 0.0,
         "y": 15.0
       },
+      "name": "Input pin #1",
       "logicWidth": 1
     },
     {
@@ -22,6 +25,7 @@
         "x": 0.0,
         "y": 25.0
       },
+      "name": "Input pin #2",
       "logicWidth": 1
     },
     {
@@ -29,6 +33,7 @@
         "x": 35.0,
         "y": 5.0
       },
+      "name": "Output pin #0",
       "logicWidth": 1
     },
     {
@@ -36,6 +41,7 @@
         "x": 35.0,
         "y": 15.0
       },
+      "name": "Output pin #1",
       "logicWidth": 1
     }
   ],