From fb94958752387a95e945a5936e6440e7bc6fe96f Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Sat, 2 May 2020 14:22:58 +0200 Subject: [PATCH] Added the missing HighLevelStates for Am2910SP --- .../am2900/components/am2910/Am2910SP.json | 45 ++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2910/Am2910SP.json b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2910/Am2910SP.json index 04db7171..87671fca 100644 --- a/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2910/Am2910SP.json +++ b/plugins/net.mograsim.logic.model.am2900/components/net/mograsim/logic/model/am2900/components/am2910/Am2910SP.json @@ -1626,6 +1626,49 @@ "pinLabelMargin": 0.5 }, "outlineRendererSnippetID": "default", - "highLevelStateHandlerSnippetID": "default", + "highLevelStateHandlerSnippetID": "standard", + "highLevelStateHandlerParams": { + "subcomponentHighLevelStates": {}, + "atomicHighLevelStates": { + "q": { + "id": "bitVectorSplitting", + "params": { + "vectorPartTargets": [ + "q3", + "q2", + "q1" + ], + "vectorPartLengthes": [ + 1, + 1, + 1 + ], + "minimalValue": "000", + "maximalValue": "101" + } + }, + "q1": { + "id": "delegating", + "params": { + "delegateTarget": "dff#2", + "subStateID": "q" + } + }, + "q2": { + "id": "delegating", + "params": { + "delegateTarget": "dff#1", + "subStateID": "q" + } + }, + "q3": { + "id": "delegating", + "params": { + "delegateTarget": "dff#0", + "subStateID": "q" + } + } + } + }, "version": "0.1.5" } \ No newline at end of file -- 2.17.1