Introduced dff4 with no WE pin
[Mograsim.git] / plugins / net.mograsim.logic.model.am2900 / components / net / mograsim / logic / model / am2900 / components / dff4_we.json
1 {
2   "width": 25.0,
3   "height": 30.0,
4   "interfacePins": [
5     {
6       "location": {
7         "x": 0.0,
8         "y": 25.0
9       },
10       "name": "C",
11       "logicWidth": 1,
12       "usage": "INPUT"
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 15.0
18       },
19       "name": "D",
20       "logicWidth": 4,
21       "usage": "INPUT"
22     },
23     {
24       "location": {
25         "x": 25.0,
26         "y": 15.0
27       },
28       "name": "Q",
29       "logicWidth": 4,
30       "usage": "OUTPUT"
31     },
32     {
33       "location": {
34         "x": 0.0,
35         "y": 5.0
36       },
37       "name": "WE",
38       "logicWidth": 1,
39       "usage": "INPUT"
40     }
41   ],
42   "innerScale": 0.2,
43   "submodel": {
44     "components": [
45       {
46         "id": "WireCrossPoint",
47         "name": "WireCrossPoint#0",
48         "pos": {
49           "x": 119.0,
50           "y": 74.0
51         },
52         "params": 4
53       },
54       {
55         "id": "dff4",
56         "name": "dff4#0",
57         "pos": {
58           "x": 75.0,
59           "y": 20.0
60         }
61       },
62       {
63         "id": "mux1_4",
64         "name": "mux1_4#0",
65         "pos": {
66           "x": 15.0,
67           "y": 20.0
68         }
69       }
70     ],
71     "wires": [
72       {
73         "pin1": {
74           "compName": "mux1_4#0",
75           "pinName": "Y"
76         },
77         "pin2": {
78           "compName": "dff4#0",
79           "pinName": "D"
80         },
81         "name": "unnamedWire#0",
82         "path": []
83       },
84       {
85         "pin1": {
86           "compName": "dff4#0",
87           "pinName": "Q"
88         },
89         "pin2": {
90           "compName": "WireCrossPoint#0",
91           "pinName": ""
92         },
93         "name": "unnamedWire#1",
94         "path": [
95           {
96             "x": 120.0,
97             "y": 40.0
98           }
99         ]
100       },
101       {
102         "pin1": {
103           "compName": "dff4#0",
104           "pinName": "C"
105         },
106         "pin2": {
107           "compName": "_submodelinterface",
108           "pinName": "C"
109         },
110         "name": "unnamedWire#2",
111         "path": [
112           {
113             "x": 70.0,
114             "y": 50.0
115           },
116           {
117             "x": 70.0,
118             "y": 125.0
119           }
120         ]
121       },
122       {
123         "pin1": {
124           "compName": "_submodelinterface",
125           "pinName": "WE"
126         },
127         "pin2": {
128           "compName": "mux1_4#0",
129           "pinName": "S0"
130         },
131         "name": "unnamedWire#3",
132         "path": []
133       },
134       {
135         "pin1": {
136           "compName": "_submodelinterface",
137           "pinName": "D"
138         },
139         "pin2": {
140           "compName": "mux1_4#0",
141           "pinName": "I1"
142         },
143         "name": "unnamedWire#4",
144         "path": [
145           {
146             "x": 5.0,
147             "y": 75.0
148           },
149           {
150             "x": 5.0,
151             "y": 70.0
152           }
153         ]
154       },
155       {
156         "pin1": {
157           "compName": "WireCrossPoint#0",
158           "pinName": ""
159         },
160         "pin2": {
161           "compName": "_submodelinterface",
162           "pinName": "Q"
163         },
164         "name": "unnamedWire#5",
165         "path": []
166       },
167       {
168         "pin1": {
169           "compName": "WireCrossPoint#0",
170           "pinName": ""
171         },
172         "pin2": {
173           "compName": "mux1_4#0",
174           "pinName": "I0"
175         },
176         "name": "unnamedWire#6",
177         "path": [
178           {
179             "x": 120.0,
180             "y": 140.0
181           },
182           {
183             "x": 10.0,
184             "y": 140.0
185           },
186           {
187             "x": 10.0,
188             "y": 40.0
189           }
190         ]
191       }
192     ],
193     "version": "0.1.1"
194   },
195   "symbolRendererSnippetID": "simpleRectangularLike",
196   "symbolRendererParams": {
197     "centerText": "D flip flop\n4 bit",
198     "centerTextHeight": 5.0,
199     "horizontalComponentCenter": 17.5,
200     "pinLabelHeight": 3.5,
201     "pinLabelMargin": 0.5
202   },
203   "outlineRendererSnippetID": "default",
204   "highLevelStateHandlerSnippetID": "standard",
205   "highLevelStateHandlerParams": {
206     "subcomponentHighLevelStates": {},
207     "atomicHighLevelStates": {
208       "q": {
209         "id": "delegating",
210         "params": {
211           "delegateTarget": "dff4#0",
212           "subStateID": "q"
213         }
214       }
215     }
216   },
217   "version": "0.1.5"
218 }