Improved Am2900MicroInstructionDefinition
[Mograsim.git] / net.mograsim.logic.model.am2900 / Am2904Testbench.json
index 2146f40..eddb94b 100644 (file)
@@ -7,7 +7,7 @@
     "components": [
       {
         "id": "Am2904",
-        "name": "Am2904",
+        "name": "Am2904#0",
         "pos": {
           "x": 220.0,
           "y": 175.0
         },
         "params": 13
       },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#0",
-        "pos": {
-          "x": 175.0,
-          "y": 315.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#1",
-        "pos": {
-          "x": 175.0,
-          "y": 330.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#2",
-        "pos": {
-          "x": 175.0,
-          "y": 385.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#3",
-        "pos": {
-          "x": 175.0,
-          "y": 370.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#4",
-        "pos": {
-          "x": 335.0,
-          "y": 105.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#5",
-        "pos": {
-          "x": 335.0,
-          "y": 90.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#6",
-        "pos": {
-          "x": 335.0,
-          "y": 120.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
-      {
-        "id": "TriStateBuffer",
-        "name": "TriStateBuffer#7",
-        "pos": {
-          "x": 335.0,
-          "y": 135.0
-        },
-        "params": {
-          "logicWidth": 1,
-          "orientation": "RIGHT"
-        }
-      },
       {
         "id": "TextComponent",
         "name": "TextComponent#0",
         },
         "params": "_EOVR"
       },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#0",
+        "pos": {
+          "x": 175.0,
+          "y": 315.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#1",
+        "pos": {
+          "x": 175.0,
+          "y": 330.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#2",
+        "pos": {
+          "x": 175.0,
+          "y": 385.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#3",
+        "pos": {
+          "x": 175.0,
+          "y": 370.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#4",
+        "pos": {
+          "x": 335.0,
+          "y": 105.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#5",
+        "pos": {
+          "x": 335.0,
+          "y": 90.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#6",
+        "pos": {
+          "x": 335.0,
+          "y": 120.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
+      {
+        "id": "TriStateBuffer",
+        "name": "TriStateBuffer#7",
+        "pos": {
+          "x": 335.0,
+          "y": 135.0
+        },
+        "params": {
+          "logicWidth": 1,
+          "orientation": "RIGHT"
+        }
+      },
       {
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#0",
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_OEY"
         },
         "name": "unnamedWire#0",
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "C"
         },
         "name": "unnamedWire#1",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_EOVR"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_EN"
         },
         "name": "unnamedWire#11",
           "pinName": "O"
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "I"
         },
         "name": "unnamedWire#12",
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "Cx"
         },
         "name": "unnamedWire#13",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "YOVR"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "YN"
         },
         "name": "unnamedWire#15",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "YZ"
         },
         "pin2": {
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "CT"
         },
         "pin2": {
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "C0"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "IZ"
         },
         "name": "unnamedWire#2",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "SIOn"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "QIOn"
         },
         "name": "unnamedWire#22",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "IC"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "IN"
         },
         "name": "unnamedWire#4",
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "SIO0"
         },
         "name": "unnamedWire#40",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "QIO0"
         },
         "pin2": {
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "IOVR"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_CEM"
         },
         "name": "unnamedWire#6",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "YC"
         },
         "pin2": {
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_CEmu"
         },
         "pin2": {
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_SE"
         },
         "pin2": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_OECT"
         },
         "name": "unnamedWire#75",
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_EZ"
         },
         "pin2": {
       },
       {
         "pin1": {
-          "compName": "Am2904",
+          "compName": "Am2904#0",
           "pinName": "_EC"
         },
         "pin2": {