Fixed Clock polarities to values where the Am2900 works
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Mon, 16 Sep 2019 12:23:45 +0000 (14:23 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Mon, 16 Sep 2019 12:28:17 +0000 (14:28 +0200)
plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/Am2900.json

index 7fbf42f..0c4cdc7 100644 (file)
@@ -5,21 +5,12 @@
   "innerScale": 0.4,
   "submodel": {
     "components": [
-      {
-        "id": "ManualSwitch",
-        "name": "@bz_pc_cpol",
-        "pos": {
-          "x": 120.0,
-          "y": 435.0
-        },
-        "params": 1
-      },
       {
         "id": "ManualSwitch",
         "name": "@c",
         "pos": {
           "x": 120.0,
-          "y": 350.0
+          "y": 355.0
         },
         "params": 1
       },
           "y": 675.0
         }
       },
-      {
-        "id": "ManualSwitch",
-        "name": "@ireg_cpol",
-        "pos": {
-          "x": 120.0,
-          "y": 410.0
-        },
-        "params": 1
-      },
-      {
-        "id": "ManualSwitch",
-        "name": "@mireg_cpol",
-        "pos": {
-          "x": 120.0,
-          "y": 385.0
-        },
-        "params": 1
-      },
       {
         "id": "Am2900MainMemory",
         "name": "Am2900MainMemory#0",
           "y": 510.0
         }
       },
+      {
+        "id": "BitDisplay",
+        "name": "BitDisplay#0",
+        "pos": {
+          "x": 245.0,
+          "y": 550.0
+        },
+        "params": 12
+      },
       {
         "id": "BitDisplay",
         "name": "BitDisplay#1",
         "pos": {
-          "x": 255.0,
+          "x": 280.0,
           "y": 30.0
         },
         "params": 16
         "id": "BitDisplay",
         "name": "BitDisplay#2",
         "pos": {
-          "x": 255.0,
-          "y": 45.0
+          "x": 280.0,
+          "y": 60.0
         },
         "params": 16
       },
       },
       {
         "id": "NandGate",
-        "name": "NandGate#6",
+        "name": "NandGate#7",
         "pos": {
-          "x": 240.0,
-          "y": 525.0
+          "x": 150.0,
+          "y": 375.0
         },
         "params": 1
       },
       },
       {
         "id": "TextComponent",
-        "name": "TextComponent#13",
-        "pos": {
-          "x": 60.0,
-          "y": 385.0
-        },
-        "params": "mireg cpol"
-      },
-      {
-        "id": "TextComponent",
-        "name": "TextComponent#14",
-        "pos": {
-          "x": 60.0,
-          "y": 415.0
-        },
-        "params": "ireg cpol"
-      },
-      {
-        "id": "TextComponent",
-        "name": "TextComponent#15",
-        "pos": {
-          "x": 60.0,
-          "y": 435.0
-        },
-        "params": "bz/pc cpol"
-      },
-      {
-        "id": "TextComponent",
-        "name": "TextComponent#3",
+        "name": "TextComponent#2",
         "pos": {
-          "x": 515.0,
-          "y": 110.0
+          "x": 265.0,
+          "y": 545.0
         },
-        "params": "asdf"
+        "params": "MPM addr"
       },
       {
         "id": "TextComponent",
         "name": "TextComponent#4",
         "pos": {
-          "x": 60.0,
-          "y": 350.0
+          "x": 110.0,
+          "y": 355.0
         },
         "params": "c"
       },
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#18",
         "pos": {
-          "x": 249.0,
+          "x": 274.0,
           "y": 44.0
         },
         "params": 16
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#19",
         "pos": {
-          "x": 244.0,
+          "x": 274.0,
           "y": 59.0
         },
         "params": 16
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#29",
         "pos": {
-          "x": 244.0,
+          "x": 249.0,
           "y": 44.0
         },
         "params": 16
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#38",
         "pos": {
-          "x": 234.0,
-          "y": 529.0
+          "x": 174.0,
+          "y": 384.0
         },
         "params": 1
       },
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#39",
         "pos": {
-          "x": 234.0,
-          "y": 539.0
+          "x": 179.0,
+          "y": 364.0
         },
         "params": 1
       },
         },
         "params": 1
       },
+      {
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#40",
+        "pos": {
+          "x": 144.0,
+          "y": 364.0
+        },
+        "params": 1
+      },
+      {
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#41",
+        "pos": {
+          "x": 144.0,
+          "y": 379.0
+        },
+        "params": 1
+      },
+      {
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#42",
+        "pos": {
+          "x": 364.0,
+          "y": 289.0
+        },
+        "params": 1
+      },
+      {
+        "id": "WireCrossPoint",
+        "name": "WireCrossPoint#43",
+        "pos": {
+          "x": 239.0,
+          "y": 564.0
+        },
+        "params": 12
+      },
       {
         "id": "WireCrossPoint",
         "name": "WireCrossPoint#5",
           "x": 635.0,
           "y": 240.0
         }
-      },
-      {
-        "id": "xor",
-        "name": "xor#0",
-        "pos": {
-          "x": 145.0,
-          "y": 380.0
-        }
-      },
-      {
-        "id": "xor",
-        "name": "xor#1",
-        "pos": {
-          "x": 145.0,
-          "y": 405.0
-        }
-      },
-      {
-        "id": "xor",
-        "name": "xor#2",
-        "pos": {
-          "x": 145.0,
-          "y": 430.0
-        }
       }
     ],
     "wires": [
       },
       {
         "pin1": {
-          "compName": "@mireg_cpol",
+          "compName": "WireCrossPoint#39",
           "pinName": ""
         },
         "pin2": {
-          "compName": "xor#0",
-          "pinName": "B"
+          "compName": "WireCrossPoint#20",
+          "pinName": ""
         },
         "name": "unnamedWire#100",
         "path": []
       },
       {
         "pin1": {
-          "compName": "xor#1",
-          "pinName": "Y"
+          "compName": "WireCrossPoint#39",
+          "pinName": ""
         },
         "pin2": {
-          "compName": "dff16_invwe#0",
-          "pinName": "C"
+          "compName": "@dlatch80#1",
+          "pinName": "E"
         },
         "name": "unnamedWire#102",
         "path": [
           {
-            "x": 255.0,
-            "y": 310.0
+            "x": 180.0,
+            "y": 480.0
           },
           {
-            "x": 480.0,
-            "y": 310.0
+            "x": 235.0,
+            "y": 480.0
           },
           {
-            "x": 480.0,
-            "y": 170.0
+            "x": 235.0,
+            "y": 670.0
+          },
+          {
+            "x": 285.0,
+            "y": 670.0
+          },
+          {
+            "x": 285.0,
+            "y": 680.0
           }
         ]
       },
           },
           {
             "x": 340.0,
-            "y": 285.0
+            "y": 260.0
           },
           {
             "x": 180.0,
-            "y": 285.0
+            "y": 260.0
           },
           {
             "x": 180.0,
       },
       {
         "pin1": {
-          "compName": "Am2910#0",
-          "pinName": "Y"
-        },
-        "pin2": {
           "compName": "Am2900MicroInstructionMemory#0",
           "pinName": "A"
         },
+        "pin2": {
+          "compName": "WireCrossPoint#43",
+          "pinName": ""
+        },
         "name": "unnamedWire#163",
         "path": [
-          {
-            "x": 440.0,
-            "y": 565.0
-          },
           {
             "x": 205.0,
-            "y": 565.0
+            "y": 595.0
           },
           {
             "x": 205.0,
-            "y": 595.0
+            "y": 565.0
           }
         ]
       },
           },
           {
             "x": 175.0,
-            "y": 290.0
+            "y": 265.0
           },
           {
             "x": 345.0,
-            "y": 290.0
+            "y": 265.0
           }
         ]
       },
       },
       {
         "pin1": {
-          "compName": "@c",
+          "compName": "WireCrossPoint#41",
           "pinName": ""
         },
         "pin2": {
-          "compName": "WireCrossPoint#20",
-          "pinName": ""
+          "compName": "NandGate#7",
+          "pinName": "A"
         },
         "name": "unnamedWire#25",
         "path": []
         "path": [
           {
             "x": 355.0,
-            "y": 285.0
+            "y": 265.0
           },
           {
-            "x": 485.0,
-            "y": 285.0
+            "x": 480.0,
+            "y": 265.0
           },
           {
-            "x": 485.0,
+            "x": 480.0,
             "y": 185.0
           }
         ]
           "pinName": ""
         },
         "pin2": {
-          "compName": "mux1_16#0",
-          "pinName": "I0"
+          "compName": "BitDisplay#1",
+          "pinName": ""
         },
         "name": "unnamedWire#330",
-        "path": [
-          {
-            "x": 250.0,
-            "y": 135.0
-          }
-        ]
+        "path": []
       },
       {
         "pin1": {
           "pinName": ""
         },
         "pin2": {
-          "compName": "BitDisplay#1",
-          "pinName": ""
+          "compName": "mux1_16#0",
+          "pinName": "I0"
         },
         "name": "unnamedWire#332",
-        "path": []
+        "path": [
+          {
+            "x": 250.0,
+            "y": 135.0
+          }
+        ]
       },
       {
         "pin1": {
           "pinName": "C"
         },
         "name": "unnamedWire#34",
-        "path": [
-          {
-            "x": 445.0,
-            "y": 365.0981951658187
-          }
-        ]
+        "path": []
       },
       {
         "pin1": {
       },
       {
         "pin1": {
-          "compName": "xor#0",
-          "pinName": "Y"
+          "compName": "WireCrossPoint#38",
+          "pinName": ""
         },
         "pin2": {
-          "compName": "WireCrossPoint#38",
+          "compName": "WireCrossPoint#42",
           "pinName": ""
         },
         "name": "unnamedWire#346",
-        "path": []
+        "path": [
+          {
+            "x": 175.0,
+            "y": 290.0
+          }
+        ]
       },
       {
         "pin1": {
-          "compName": "WireCrossPoint#38",
+          "compName": "WireCrossPoint#42",
           "pinName": ""
         },
         "pin2": {
-          "compName": "WireCrossPoint#39",
-          "pinName": ""
+          "compName": "dff16#0",
+          "pinName": "C"
         },
         "name": "unnamedWire#347",
-        "path": []
+        "path": [
+          {
+            "x": 365.0,
+            "y": 110.0
+          }
+        ]
       },
       {
         "pin1": {
-          "compName": "WireCrossPoint#39",
+          "compName": "WireCrossPoint#42",
           "pinName": ""
         },
         "pin2": {
-          "compName": "dlatch80#0",
-          "pinName": "E"
+          "compName": "dff16_invwe#0",
+          "pinName": "C"
         },
         "name": "unnamedWire#348",
         "path": [
           {
-            "x": 235.0,
-            "y": 680.0
+            "x": 485.0,
+            "y": 290.0
+          },
+          {
+            "x": 485.0,
+            "y": 170.0
           }
         ]
       },
       {
         "pin1": {
-          "compName": "WireCrossPoint#38",
+          "compName": "WireCrossPoint#43",
           "pinName": ""
         },
         "pin2": {
-          "compName": "NandGate#6",
-          "pinName": "A"
+          "compName": "Am2910#0",
+          "pinName": "Y"
         },
         "name": "unnamedWire#349",
-        "path": []
+        "path": [
+          {
+            "x": 440.0,
+            "y": 565.0
+          }
+        ]
       },
       {
         "pin1": {
       },
       {
         "pin1": {
-          "compName": "WireCrossPoint#39",
+          "compName": "WireCrossPoint#43",
           "pinName": ""
         },
         "pin2": {
-          "compName": "NandGate#6",
-          "pinName": "B"
+          "compName": "BitDisplay#0",
+          "pinName": ""
         },
         "name": "unnamedWire#350",
         "path": []
       },
-      {
-        "pin1": {
-          "compName": "NandGate#6",
-          "pinName": "Y"
-        },
-        "pin2": {
-          "compName": "@dlatch80#1",
-          "pinName": "E"
-        },
-        "name": "unnamedWire#351",
-        "path": [
-          {
-            "x": 290.0,
-            "y": 535.0
-          },
-          {
-            "x": 290.0,
-            "y": 680.0
-          }
-        ]
-      },
       {
         "pin1": {
           "compName": "FixedOutput#2",
       },
       {
         "pin1": {
-          "compName": "xor#2",
-          "pinName": "Y"
+          "compName": "@c",
+          "pinName": ""
         },
         "pin2": {
-          "compName": "dff16#0",
-          "pinName": "C"
+          "compName": "WireCrossPoint#40",
+          "pinName": ""
         },
         "name": "unnamedWire#94",
-        "path": [
-          {
-            "x": 245.0,
-            "y": 270.0
-          },
-          {
-            "x": 365.0,
-            "y": 270.0
-          },
-          {
-            "x": 365.0,
-            "y": 110.0
-          }
-        ]
+        "path": []
       },
       {
         "pin1": {
-          "compName": "@bz_pc_cpol",
+          "compName": "WireCrossPoint#40",
           "pinName": ""
         },
         "pin2": {
-          "compName": "xor#2",
-          "pinName": "B"
+          "compName": "WireCrossPoint#39",
+          "pinName": ""
         },
         "name": "unnamedWire#95",
         "path": []
       },
       {
         "pin1": {
-          "compName": "@c",
+          "compName": "WireCrossPoint#41",
           "pinName": ""
         },
         "pin2": {
-          "compName": "xor#2",
-          "pinName": "A"
+          "compName": "NandGate#7",
+          "pinName": "B"
         },
         "name": "unnamedWire#96",
-        "path": []
+        "path": [
+          {
+            "x": 145.0,
+            "y": 390.0
+          }
+        ]
       },
       {
         "pin1": {
-          "compName": "xor#1",
-          "pinName": "B"
+          "compName": "WireCrossPoint#40",
+          "pinName": ""
         },
         "pin2": {
-          "compName": "@ireg_cpol",
+          "compName": "WireCrossPoint#41",
           "pinName": ""
         },
         "name": "unnamedWire#97",
       },
       {
         "pin1": {
-          "compName": "xor#1",
-          "pinName": "A"
+          "compName": "NandGate#7",
+          "pinName": "Y"
         },
         "pin2": {
-          "compName": "@c",
+          "compName": "WireCrossPoint#38",
           "pinName": ""
         },
         "name": "unnamedWire#98",
       },
       {
         "pin1": {
-          "compName": "xor#0",
-          "pinName": "A"
+          "compName": "WireCrossPoint#38",
+          "pinName": ""
         },
         "pin2": {
-          "compName": "@c",
-          "pinName": ""
+          "compName": "dlatch80#0",
+          "pinName": "E"
         },
         "name": "unnamedWire#99",
-        "path": []
+        "path": [
+          {
+            "x": 175.0,
+            "y": 485.0
+          },
+          {
+            "x": 230.0,
+            "y": 485.0
+          },
+          {
+            "x": 230.0,
+            "y": 680.0
+          }
+        ]
       }
     ],
     "version": "0.1.1"