Fixed dff4_finewe HLS bit order
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / dff4_finewe.json
index e3568aa..5b42800 100755 (executable)
@@ -14,7 +14,7 @@
     {
       "location": {
         "x": 0.0,
-        "y": 55.0
+        "y": 85.0
       },
       "name": "D1",
       "logicWidth": 1,
@@ -23,7 +23,7 @@
     {
       "location": {
         "x": 0.0,
-        "y": 65.0
+        "y": 75.0
       },
       "name": "D2",
       "logicWidth": 1,
@@ -32,7 +32,7 @@
     {
       "location": {
         "x": 0.0,
-        "y": 75.0
+        "y": 65.0
       },
       "name": "D3",
       "logicWidth": 1,
@@ -41,7 +41,7 @@
     {
       "location": {
         "x": 0.0,
-        "y": 85.0
+        "y": 55.0
       },
       "name": "D4",
       "logicWidth": 1,
@@ -50,7 +50,7 @@
     {
       "location": {
         "x": 35.0,
-        "y": 5.0
+        "y": 35.0
       },
       "name": "Q1",
       "logicWidth": 1,
@@ -59,7 +59,7 @@
     {
       "location": {
         "x": 35.0,
-        "y": 15.0
+        "y": 25.0
       },
       "name": "Q2",
       "logicWidth": 1,
@@ -68,7 +68,7 @@
     {
       "location": {
         "x": 35.0,
-        "y": 25.0
+        "y": 15.0
       },
       "name": "Q3",
       "logicWidth": 1,
@@ -77,7 +77,7 @@
     {
       "location": {
         "x": 35.0,
-        "y": 35.0
+        "y": 5.0
       },
       "name": "Q4",
       "logicWidth": 1,
@@ -86,7 +86,7 @@
     {
       "location": {
         "x": 0.0,
-        "y": 15.0
+        "y": 45.0
       },
       "name": "_WE1",
       "logicWidth": 1,
@@ -95,7 +95,7 @@
     {
       "location": {
         "x": 0.0,
-        "y": 25.0
+        "y": 35.0
       },
       "name": "_WE2",
       "logicWidth": 1,
     {
       "location": {
         "x": 0.0,
-        "y": 35.0
+        "y": 25.0
       },
       "name": "_WE3",
       "logicWidth": 1,
     {
       "location": {
         "x": 0.0,
-        "y": 45.0
+        "y": 15.0
       },
       "name": "_WE4",
       "logicWidth": 1,
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "Q1"
+          "pinName": "Q4"
         },
         "name": "unnamedWire#14",
         "path": []
       {
         "pin1": {
           "compName": "_submodelinterface",
-          "pinName": "Q2"
+          "pinName": "Q3"
         },
         "pin2": {
           "compName": "WireCrossPoint#4",
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "Q3"
+          "pinName": "Q2"
         },
         "name": "unnamedWire#19",
         "path": []
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "Q4"
+          "pinName": "Q1"
         },
         "name": "unnamedWire#20",
         "path": []
       {
         "pin1": {
           "compName": "_submodelinterface",
-          "pinName": "_WE1"
+          "pinName": "_WE4"
         },
         "pin2": {
           "compName": "mux1#0",
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "D4"
+          "pinName": "D1"
         },
         "name": "unnamedWire#24",
         "path": [
       {
         "pin1": {
           "compName": "_submodelinterface",
-          "pinName": "D3"
+          "pinName": "D2"
         },
         "pin2": {
           "compName": "mux1#2",
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "D2"
+          "pinName": "D3"
         },
         "name": "unnamedWire#26",
         "path": [
       {
         "pin1": {
           "compName": "_submodelinterface",
-          "pinName": "D1"
+          "pinName": "D4"
         },
         "pin2": {
           "compName": "mux1#0",
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "_WE3"
+          "pinName": "_WE2"
         },
         "name": "unnamedWire#28",
         "path": [
       {
         "pin1": {
           "compName": "_submodelinterface",
-          "pinName": "_WE4"
+          "pinName": "_WE1"
         },
         "pin2": {
           "compName": "mux1#3",
         },
         "pin2": {
           "compName": "_submodelinterface",
-          "pinName": "_WE2"
+          "pinName": "_WE3"
         },
         "name": "unnamedWire#30",
         "path": [
       "q1": {
         "id": "delegating",
         "params": {
-          "delegateTarget": "dff#0",
+          "delegateTarget": "dff#3",
           "subStateID": "q"
         }
       },
       "q2": {
         "id": "delegating",
         "params": {
-          "delegateTarget": "dff#1",
+          "delegateTarget": "dff#2",
           "subStateID": "q"
         }
       },
       "q3": {
         "id": "delegating",
         "params": {
-          "delegateTarget": "dff#2",
+          "delegateTarget": "dff#1",
           "subStateID": "q"
         }
       },
       "q4": {
         "id": "delegating",
         "params": {
-          "delegateTarget": "dff#3",
+          "delegateTarget": "dff#0",
           "subStateID": "q"
         }
       }