projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HighLevelStates are now sorted in JSONs
[Mograsim.git]
/
net.mograsim.logic.model.am2900
/
components
/
net
/
mograsim
/
logic
/
model
/
am2900
/
components
/
dff4.json
diff --git
a/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json
b/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json
index
ced8d50
..
fe18cf1
100644
(file)
--- a/
net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json
+++ b/
net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/dff4.json
@@
-96,46
+96,6
@@
"innerScale": 0.2,
"submodel": {
"components": [
"innerScale": 0.2,
"submodel": {
"components": [
- {
- "id": "mux1_4",
- "name": "DeserializedSubmodelComponent#0",
- "pos": {
- "x": 55.0,
- "y": 70.0
- }
- },
- {
- "id": "dff",
- "name": "dff#0",
- "pos": {
- "x": 115.0,
- "y": 20.0
- }
- },
- {
- "id": "dff",
- "name": "dff#1",
- "pos": {
- "x": 115.0,
- "y": 70.0
- }
- },
- {
- "id": "dff",
- "name": "dff#2",
- "pos": {
- "x": 115.0,
- "y": 120.0
- }
- },
- {
- "id": "dff",
- "name": "dff#3",
- "pos": {
- "x": 115.0,
- "y": 170.0
- }
- },
{
"id": "WireCrossPoint",
"name": "WireCrossPoint#0",
{
"id": "WireCrossPoint",
"name": "WireCrossPoint#0",
@@
-198,6
+158,46
@@
"y": 174.0
},
"params": 1
"y": 174.0
},
"params": 1
+ },
+ {
+ "id": "dff",
+ "name": "dff#0",
+ "pos": {
+ "x": 115.0,
+ "y": 20.0
+ }
+ },
+ {
+ "id": "dff",
+ "name": "dff#1",
+ "pos": {
+ "x": 115.0,
+ "y": 70.0
+ }
+ },
+ {
+ "id": "dff",
+ "name": "dff#2",
+ "pos": {
+ "x": 115.0,
+ "y": 120.0
+ }
+ },
+ {
+ "id": "dff",
+ "name": "dff#3",
+ "pos": {
+ "x": 115.0,
+ "y": 170.0
+ }
+ },
+ {
+ "id": "mux1_4",
+ "name": "mux1_4#0",
+ "pos": {
+ "x": 55.0,
+ "y": 70.0
+ }
}
],
"wires": [
}
],
"wires": [
@@
-215,7
+215,7
@@
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "Y1"
},
"pin2": {
"pinName": "Y1"
},
"pin2": {
@@
-240,7
+240,7
@@
"pinName": "D1"
},
"pin2": {
"pinName": "D1"
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I1_1"
},
"name": "unnamedWire#10",
"pinName": "I1_1"
},
"name": "unnamedWire#10",
@@
-252,7
+252,7
@@
"pinName": "D2"
},
"pin2": {
"pinName": "D2"
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I1_2"
},
"name": "unnamedWire#11",
"pinName": "I1_2"
},
"name": "unnamedWire#11",
@@
-273,7
+273,7
@@
"pinName": "D3"
},
"pin2": {
"pinName": "D3"
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I1_3"
},
"name": "unnamedWire#12",
"pinName": "I1_3"
},
"name": "unnamedWire#12",
@@
-342,7
+342,7
@@
"pinName": "D4"
},
"pin2": {
"pinName": "D4"
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I1_4"
},
"name": "unnamedWire#17",
"pinName": "I1_4"
},
"name": "unnamedWire#17",
@@
-383,7
+383,7
@@
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "Y2"
},
"pin2": {
"pinName": "Y2"
},
"pin2": {
@@
-419,7
+419,7
@@
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "Y3"
},
"pin2": {
"pinName": "Y3"
},
"pin2": {
@@
-440,7
+440,7
@@
},
{
"pin1": {
},
{
"pin1": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "Y4"
},
"pin2": {
"pinName": "Y4"
},
"pin2": {
@@
-465,7
+465,7
@@
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I0_1"
},
"name": "unnamedWire#24",
"pinName": "I0_1"
},
"name": "unnamedWire#24",
@@
-490,7
+490,7
@@
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I0_2"
},
"name": "unnamedWire#25",
"pinName": "I0_2"
},
"name": "unnamedWire#25",
@@
-515,7
+515,7
@@
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I0_3"
},
"name": "unnamedWire#26",
"pinName": "I0_3"
},
"name": "unnamedWire#26",
@@
-552,7
+552,7
@@
"pinName": ""
},
"pin2": {
"pinName": ""
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "I0_4"
},
"name": "unnamedWire#28",
"pinName": "I0_4"
},
"name": "unnamedWire#28",
@@
-654,7
+654,7
@@
"pinName": "WE"
},
"pin2": {
"pinName": "WE"
},
"pin2": {
- "compName": "
DeserializedSubmodelComponent
#0",
+ "compName": "
mux1_4
#0",
"pinName": "S0"
},
"name": "unnamedWire#9",
"pinName": "S0"
},
"name": "unnamedWire#9",
@@
-676,20
+676,6
@@
"highLevelStateHandlerParams": {
"subcomponentHighLevelStates": {},
"atomicHighLevelStates": {
"highLevelStateHandlerParams": {
"subcomponentHighLevelStates": {},
"atomicHighLevelStates": {
- "q1": {
- "id": "delegating",
- "params": {
- "delegateTarget": "dff#0",
- "subStateID": "q"
- }
- },
- "q2": {
- "id": "delegating",
- "params": {
- "delegateTarget": "dff#1",
- "subStateID": "q"
- }
- },
"q": {
"id": "bitVectorSplitting",
"params": {
"q": {
"id": "bitVectorSplitting",
"params": {
@@
-707,6
+693,20
@@
]
}
},
]
}
},
+ "q1": {
+ "id": "delegating",
+ "params": {
+ "delegateTarget": "dff#0",
+ "subStateID": "q"
+ }
+ },
+ "q2": {
+ "id": "delegating",
+ "params": {
+ "delegateTarget": "dff#1",
+ "subStateID": "q"
+ }
+ },
"q3": {
"id": "delegating",
"params": {
"q3": {
"id": "delegating",
"params": {