Project

General

Profile

Download (16.3 KB) Statistics
| Branch: | Tag: | Revision:
1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "inline_08"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "inline_08"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "definition" : ["SUBTYPE_DECLARATION", {
11
            "name" : ["IDENTIFIER", "state_vector"], "typ" : {
12
              "name" : ["SIMPLE_NAME", "bit_vector"], "const" : ["INDEX_CONSTRAINT", {
13
                "ranges" : [["RANGE_WITH_DIRECTION", {
14
                  "direction" : "to", "from" : ["EXPRESSION", {
15
                    "args" : [["EXPRESSION", {
16
                      "args" : [["CONSTANT_VALUE", {
17
                        "value" : ["CST_LITERAL", "1"]}
18
                      ]]}
19
                    ]]}
20
                  ], "_to" : ["EXPRESSION", {
21
                    "args" : [["EXPRESSION", {
22
                      "args" : [["CONSTANT_VALUE", {
23
                        "value" : ["CST_LITERAL", "5"]}
24
                      ]]}
25
                    ]]}
26
                  ]}
27
                ]]}
28
              ]}
29
            }
30
          ]}
31
        , {
32
          "declaration" : ["SIGNAL_DECLARATION", {
33
            "names" : [["IDENTIFIER", "clk"], ["IDENTIFIER", "reset"]], "typ" : {
34
              "name" : ["SIMPLE_NAME", "bit"]}
35
            , "init_val" : ["EXPRESSION", {
36
              "args" : [["EXPRESSION", {
37
                "args" : [["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["CONSTANT_VALUE", {
40
                      "value" : ["CST_LITERAL", "'0'"]}
41
                    ]]}
42
                  ]]}
43
                ]]}
44
              ]]}
45
            ]}
46
          ]}
47
        , {
48
          "declaration" : ["SIGNAL_DECLARATION", {
49
            "names" : [["IDENTIFIER", "word_in"], ["IDENTIFIER", "word_out"]], "typ" : {
50
              "name" : ["SIMPLE_NAME", "bit_vector"], "const" : ["INDEX_CONSTRAINT", {
51
                "ranges" : [["RANGE_WITH_DIRECTION", {
52
                  "direction" : "to", "from" : ["EXPRESSION", {
53
                    "args" : [["EXPRESSION", {
54
                      "args" : [["CONSTANT_VALUE", {
55
                        "value" : ["CST_LITERAL", "0"]}
56
                      ]]}
57
                    ]]}
58
                  ], "_to" : ["EXPRESSION", {
59
                    "args" : [["EXPRESSION", {
60
                      "args" : [["CONSTANT_VALUE", {
61
                        "value" : ["CST_LITERAL", "31"]}
62
                      ]]}
63
                    ]]}
64
                  ]}
65
                ]]}
66
              ]}
67
            }
68
          ]}
69
        , {
70
          "declaration" : ["SIGNAL_DECLARATION", {
71
            "names" : [["IDENTIFIER", "state_in"], ["IDENTIFIER", "state_out"]], "typ" : {
72
              "name" : ["SIMPLE_NAME", "state_vector"]}
73
            }
74
          ]}
75
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
76
          "name" : ["IDENTIFIER", "word_reg"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "generic_map" : [{
77
            "formal_name" : ["SIMPLE_NAME", "width"], "actual_expr" : ["EXPRESSION", {
78
              "args" : [["EXPRESSION", {
79
                "args" : [["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["CONSTANT_VALUE", {
82
                      "value" : ["CST_LITERAL", "32"]}
83
                    ]]}
84
                  ]]}
85
                ]]}
86
              ]]}
87
            ]}
88
          ], "port_map" : [{
89
            "formal_name" : ["SIMPLE_NAME", "d"], "actual_designator" : ["SIMPLE_NAME", "word_in"]}
90
          , {
91
            "formal_name" : ["SIMPLE_NAME", "q"], "actual_designator" : ["SIMPLE_NAME", "word_out"]}
92
          , {
93
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
94
          , {
95
            "formal_name" : ["SIMPLE_NAME", "reset"], "actual_designator" : ["SIMPLE_NAME", "reset"]}
96
          ]}
97
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
98
          "name" : ["IDENTIFIER", "state_reg"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "generic_map" : [{
99
            "formal_name" : ["SIMPLE_NAME", "width"], "actual_designator" : ["ATTRIBUTE_NAME", {
100
              "id" : ["SIMPLE_NAME", "state_vector"], "designator" : ["SIMPLE_NAME", "length"]}
101
            ]}
102
          ], "port_map" : [{
103
            "formal_name" : ["SIMPLE_NAME", "d"], "actual_designator" : ["SIMPLE_NAME", "state_in"]}
104
          , {
105
            "formal_name" : ["SIMPLE_NAME", "q"], "actual_designator" : ["SIMPLE_NAME", "state_out"]}
106
          , {
107
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
108
          , {
109
            "formal_name" : ["SIMPLE_NAME", "reset"], "actual_designator" : ["SIMPLE_NAME", "reset"]}
110
          ]}
111
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
112
          "postponed" : false, "label" : ["IDENTIFIER", "clk_gen"], "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
113
            "expr" : [{
114
              "value" : ["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["EXPRESSION", {
118
                      "args" : [["CONSTANT_VALUE", {
119
                        "value" : ["CST_LITERAL", "'1'"]}
120
                      ]]}
121
                    ]]}
122
                  ]]}
123
                ]]}
124
              ], "delay" : ["EXPRESSION", {
125
                "args" : [["EXPRESSION", {
126
                  "args" : [["EXPRESSION", {
127
                    "args" : [["EXPRESSION", {
128
                      "args" : [["CONSTANT_VALUE", {
129
                        "value" : ["CST_LITERAL", "10"], "unit_name" : ["SIMPLE_NAME", "ns"]}
130
                      ]]}
131
                    ]]}
132
                  ]]}
133
                ]]}
134
              ]}
135
            , {
136
              "value" : ["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["EXPRESSION", {
140
                      "args" : [["CONSTANT_VALUE", {
141
                        "value" : ["CST_LITERAL", "'0'"]}
142
                      ]]}
143
                    ]]}
144
                  ]]}
145
                ]]}
146
              ], "delay" : ["EXPRESSION", {
147
                "args" : [["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "args" : [["EXPRESSION", {
150
                      "args" : [["CONSTANT_VALUE", {
151
                        "value" : ["CST_LITERAL", "20"], "unit_name" : ["SIMPLE_NAME", "ns"]}
152
                      ]]}
153
                    ]]}
154
                  ]]}
155
                ]]}
156
              ]}
157
            ], "cond" : ["EXPRESSION", {
158
              "id" : "=", "args" : [["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
162
                  ]]}
163
                ]]}
164
              ], ["EXPRESSION", {
165
                "args" : [["EXPRESSION", {
166
                  "args" : [["EXPRESSION", {
167
                    "args" : [["CONSTANT_VALUE", {
168
                      "value" : ["CST_LITERAL", "'0'"]}
169
                    ]]}
170
                  ]]}
171
                ]]}
172
              ]]}
173
            ]}
174
          ]}
175
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
176
          "postponed" : false, "label" : ["IDENTIFIER", "reset_gen"], "lhs" : ["SIMPLE_NAME", "reset"], "rhs" : [{
177
            "expr" : [{
178
              "value" : ["EXPRESSION", {
179
                "args" : [["EXPRESSION", {
180
                  "args" : [["EXPRESSION", {
181
                    "args" : [["EXPRESSION", {
182
                      "args" : [["CONSTANT_VALUE", {
183
                        "value" : ["CST_LITERAL", "'1'"]}
184
                      ]]}
185
                    ]]}
186
                  ]]}
187
                ]]}
188
              ], "delay" : ["EXPRESSION", {
189
                "args" : [["EXPRESSION", {
190
                  "args" : [["EXPRESSION", {
191
                    "args" : [["EXPRESSION", {
192
                      "args" : [["CONSTANT_VALUE", {
193
                        "value" : ["CST_LITERAL", "80"], "unit_name" : ["SIMPLE_NAME", "ns"]}
194
                      ]]}
195
                    ]]}
196
                  ]]}
197
                ]]}
198
              ]}
199
            , {
200
              "value" : ["EXPRESSION", {
201
                "args" : [["EXPRESSION", {
202
                  "args" : [["EXPRESSION", {
203
                    "args" : [["EXPRESSION", {
204
                      "args" : [["CONSTANT_VALUE", {
205
                        "value" : ["CST_LITERAL", "'0'"]}
206
                      ]]}
207
                    ]]}
208
                  ]]}
209
                ]]}
210
              ], "delay" : ["EXPRESSION", {
211
                "args" : [["EXPRESSION", {
212
                  "args" : [["EXPRESSION", {
213
                    "args" : [["EXPRESSION", {
214
                      "args" : [["CONSTANT_VALUE", {
215
                        "value" : ["CST_LITERAL", "105"], "unit_name" : ["SIMPLE_NAME", "ns"]}
216
                      ]]}
217
                    ]]}
218
                  ]]}
219
                ]]}
220
              ]}
221
            ]}
222
          ]}
223
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
224
          "postponed" : false, "label" : ["IDENTIFIER", "stimulus_word"], "lhs" : ["SIMPLE_NAME", "word_in"], "rhs" : [{
225
            "expr" : [{
226
              "value" : ["EXPRESSION", {
227
                "args" : [["EXPRESSION", {
228
                  "args" : [["EXPRESSION", {
229
                    "args" : [["EXPRESSION", {
230
                      "args" : [["CONSTANT_VALUE", {
231
                        "value" : ["CST_LITERAL", "X\"11111111\""]}
232
                      ]]}
233
                    ]]}
234
                  ]]}
235
                ]]}
236
              ], "delay" : ["EXPRESSION", {
237
                "args" : [["EXPRESSION", {
238
                  "args" : [["EXPRESSION", {
239
                    "args" : [["EXPRESSION", {
240
                      "args" : [["CONSTANT_VALUE", {
241
                        "value" : ["CST_LITERAL", "25"], "unit_name" : ["SIMPLE_NAME", "ns"]}
242
                      ]]}
243
                    ]]}
244
                  ]]}
245
                ]]}
246
              ]}
247
            , {
248
              "value" : ["EXPRESSION", {
249
                "args" : [["EXPRESSION", {
250
                  "args" : [["EXPRESSION", {
251
                    "args" : [["EXPRESSION", {
252
                      "args" : [["CONSTANT_VALUE", {
253
                        "value" : ["CST_LITERAL", "X\"22222222\""]}
254
                      ]]}
255
                    ]]}
256
                  ]]}
257
                ]]}
258
              ], "delay" : ["EXPRESSION", {
259
                "args" : [["EXPRESSION", {
260
                  "args" : [["EXPRESSION", {
261
                    "args" : [["EXPRESSION", {
262
                      "args" : [["CONSTANT_VALUE", {
263
                        "value" : ["CST_LITERAL", "65"], "unit_name" : ["SIMPLE_NAME", "ns"]}
264
                      ]]}
265
                    ]]}
266
                  ]]}
267
                ]]}
268
              ]}
269
            , {
270
              "value" : ["EXPRESSION", {
271
                "args" : [["EXPRESSION", {
272
                  "args" : [["EXPRESSION", {
273
                    "args" : [["EXPRESSION", {
274
                      "args" : [["CONSTANT_VALUE", {
275
                        "value" : ["CST_LITERAL", "X\"33333333\""]}
276
                      ]]}
277
                    ]]}
278
                  ]]}
279
                ]]}
280
              ], "delay" : ["EXPRESSION", {
281
                "args" : [["EXPRESSION", {
282
                  "args" : [["EXPRESSION", {
283
                    "args" : [["EXPRESSION", {
284
                      "args" : [["CONSTANT_VALUE", {
285
                        "value" : ["CST_LITERAL", "85"], "unit_name" : ["SIMPLE_NAME", "ns"]}
286
                      ]]}
287
                    ]]}
288
                  ]]}
289
                ]]}
290
              ]}
291
            , {
292
              "value" : ["EXPRESSION", {
293
                "args" : [["EXPRESSION", {
294
                  "args" : [["EXPRESSION", {
295
                    "args" : [["EXPRESSION", {
296
                      "args" : [["CONSTANT_VALUE", {
297
                        "value" : ["CST_LITERAL", "X\"44444444\""]}
298
                      ]]}
299
                    ]]}
300
                  ]]}
301
                ]]}
302
              ], "delay" : ["EXPRESSION", {
303
                "args" : [["EXPRESSION", {
304
                  "args" : [["EXPRESSION", {
305
                    "args" : [["EXPRESSION", {
306
                      "args" : [["CONSTANT_VALUE", {
307
                        "value" : ["CST_LITERAL", "125"], "unit_name" : ["SIMPLE_NAME", "ns"]}
308
                      ]]}
309
                    ]]}
310
                  ]]}
311
                ]]}
312
              ]}
313
            ]}
314
          ]}
315
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
316
          "postponed" : false, "label" : ["IDENTIFIER", "stimulus_state"], "lhs" : ["SIMPLE_NAME", "state_in"], "rhs" : [{
317
            "expr" : [{
318
              "value" : ["EXPRESSION", {
319
                "args" : [["EXPRESSION", {
320
                  "args" : [["EXPRESSION", {
321
                    "args" : [["EXPRESSION", {
322
                      "args" : [["CONSTANT_VALUE", {
323
                        "value" : ["CST_LITERAL", "\"00001\""]}
324
                      ]]}
325
                    ]]}
326
                  ]]}
327
                ]]}
328
              ], "delay" : ["EXPRESSION", {
329
                "args" : [["EXPRESSION", {
330
                  "args" : [["EXPRESSION", {
331
                    "args" : [["EXPRESSION", {
332
                      "args" : [["CONSTANT_VALUE", {
333
                        "value" : ["CST_LITERAL", "25"], "unit_name" : ["SIMPLE_NAME", "ns"]}
334
                      ]]}
335
                    ]]}
336
                  ]]}
337
                ]]}
338
              ]}
339
            , {
340
              "value" : ["EXPRESSION", {
341
                "args" : [["EXPRESSION", {
342
                  "args" : [["EXPRESSION", {
343
                    "args" : [["EXPRESSION", {
344
                      "args" : [["CONSTANT_VALUE", {
345
                        "value" : ["CST_LITERAL", "\"00010\""]}
346
                      ]]}
347
                    ]]}
348
                  ]]}
349
                ]]}
350
              ], "delay" : ["EXPRESSION", {
351
                "args" : [["EXPRESSION", {
352
                  "args" : [["EXPRESSION", {
353
                    "args" : [["EXPRESSION", {
354
                      "args" : [["CONSTANT_VALUE", {
355
                        "value" : ["CST_LITERAL", "65"], "unit_name" : ["SIMPLE_NAME", "ns"]}
356
                      ]]}
357
                    ]]}
358
                  ]]}
359
                ]]}
360
              ]}
361
            , {
362
              "value" : ["EXPRESSION", {
363
                "args" : [["EXPRESSION", {
364
                  "args" : [["EXPRESSION", {
365
                    "args" : [["EXPRESSION", {
366
                      "args" : [["CONSTANT_VALUE", {
367
                        "value" : ["CST_LITERAL", "\"00011\""]}
368
                      ]]}
369
                    ]]}
370
                  ]]}
371
                ]]}
372
              ], "delay" : ["EXPRESSION", {
373
                "args" : [["EXPRESSION", {
374
                  "args" : [["EXPRESSION", {
375
                    "args" : [["EXPRESSION", {
376
                      "args" : [["CONSTANT_VALUE", {
377
                        "value" : ["CST_LITERAL", "85"], "unit_name" : ["SIMPLE_NAME", "ns"]}
378
                      ]]}
379
                    ]]}
380
                  ]]}
381
                ]]}
382
              ]}
383
            , {
384
              "value" : ["EXPRESSION", {
385
                "args" : [["EXPRESSION", {
386
                  "args" : [["EXPRESSION", {
387
                    "args" : [["EXPRESSION", {
388
                      "args" : [["CONSTANT_VALUE", {
389
                        "value" : ["CST_LITERAL", "\"00100\""]}
390
                      ]]}
391
                    ]]}
392
                  ]]}
393
                ]]}
394
              ], "delay" : ["EXPRESSION", {
395
                "args" : [["EXPRESSION", {
396
                  "args" : [["EXPRESSION", {
397
                    "args" : [["EXPRESSION", {
398
                      "args" : [["CONSTANT_VALUE", {
399
                        "value" : ["CST_LITERAL", "125"], "unit_name" : ["SIMPLE_NAME", "ns"]}
400
                      ]]}
401
                    ]]}
402
                  ]]}
403
                ]]}
404
              ]}
405
            ]}
406
          ]}
407
        ]]}
408
      ]}
409
    ]}
410
  }
(9-9/12)