Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / forth-cpu / ram.json @ 3fd18385

History | View | Annotate | Download (48.8 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"], ["IDENTIFIER", "work"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "numeric_std"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "ram_interface"], "ports" : [{
6
          "names" : [["IDENTIFIER", "clk"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "rst"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "mem_addr_16_1"]], "mode" : ["in"], "typ" : {
15
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
16
              "ranges" : [["RANGE_WITH_DIRECTION", {
17
                "direction" : "downto", "from" : ["EXPRESSION", {
18
                  "args" : [["EXPRESSION", {
19
                    "args" : [["CONSTANT_VALUE", {
20
                      "value" : ["CST_LITERAL", "16"]}
21
                    ]]}
22
                  ]]}
23
                ], "_to" : ["EXPRESSION", {
24
                  "args" : [["EXPRESSION", {
25
                    "args" : [["CONSTANT_VALUE", {
26
                      "value" : ["CST_LITERAL", "1"]}
27
                    ]]}
28
                  ]]}
29
                ]}
30
              ]]}
31
            ]}
32
          }
33
        , {
34
          "names" : [["IDENTIFIER", "mem_addr_16_1_we"]], "mode" : ["in"], "typ" : {
35
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
36
          }
37
        , {
38
          "names" : [["IDENTIFIER", "mem_addr_26_17"]], "mode" : ["in"], "typ" : {
39
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
40
              "ranges" : [["RANGE_WITH_DIRECTION", {
41
                "direction" : "downto", "from" : ["EXPRESSION", {
42
                  "args" : [["EXPRESSION", {
43
                    "args" : [["CONSTANT_VALUE", {
44
                      "value" : ["CST_LITERAL", "26"]}
45
                    ]]}
46
                  ]]}
47
                ], "_to" : ["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["CONSTANT_VALUE", {
50
                      "value" : ["CST_LITERAL", "17"]}
51
                    ]]}
52
                  ]]}
53
                ]}
54
              ]]}
55
            ]}
56
          }
57
        , {
58
          "names" : [["IDENTIFIER", "mem_addr_26_17_we"]], "mode" : ["in"], "typ" : {
59
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
60
          }
61
        , {
62
          "names" : [["IDENTIFIER", "mem_control_i"]], "mode" : ["in"], "typ" : {
63
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
64
              "ranges" : [["RANGE_WITH_DIRECTION", {
65
                "direction" : "downto", "from" : ["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "args" : [["CONSTANT_VALUE", {
68
                      "value" : ["CST_LITERAL", "5"]}
69
                    ]]}
70
                  ]]}
71
                ], "_to" : ["EXPRESSION", {
72
                  "args" : [["EXPRESSION", {
73
                    "args" : [["CONSTANT_VALUE", {
74
                      "value" : ["CST_LITERAL", "0"]}
75
                    ]]}
76
                  ]]}
77
                ]}
78
              ]]}
79
            ]}
80
          }
81
        , {
82
          "names" : [["IDENTIFIER", "mem_control_we"]], "mode" : ["in"], "typ" : {
83
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
84
          }
85
        , {
86
          "names" : [["IDENTIFIER", "mem_data_i"]], "mode" : ["in"], "typ" : {
87
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
88
              "ranges" : [["RANGE_WITH_DIRECTION", {
89
                "direction" : "downto", "from" : ["EXPRESSION", {
90
                  "args" : [["EXPRESSION", {
91
                    "args" : [["CONSTANT_VALUE", {
92
                      "value" : ["CST_LITERAL", "15"]}
93
                    ]]}
94
                  ]]}
95
                ], "_to" : ["EXPRESSION", {
96
                  "args" : [["EXPRESSION", {
97
                    "args" : [["CONSTANT_VALUE", {
98
                      "value" : ["CST_LITERAL", "0"]}
99
                    ]]}
100
                  ]]}
101
                ]}
102
              ]]}
103
            ]}
104
          }
105
        , {
106
          "names" : [["IDENTIFIER", "mem_data_i_we"]], "mode" : ["in"], "typ" : {
107
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
108
          }
109
        , {
110
          "names" : [["IDENTIFIER", "mem_data_o"]], "mode" : ["out"], "typ" : {
111
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
112
              "ranges" : [["RANGE_WITH_DIRECTION", {
113
                "direction" : "downto", "from" : ["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "args" : [["CONSTANT_VALUE", {
116
                      "value" : ["CST_LITERAL", "15"]}
117
                    ]]}
118
                  ]]}
119
                ], "_to" : ["EXPRESSION", {
120
                  "args" : [["EXPRESSION", {
121
                    "args" : [["CONSTANT_VALUE", {
122
                      "value" : ["CST_LITERAL", "0"]}
123
                    ]]}
124
                  ]]}
125
                ]}
126
              ]]}
127
            ]}
128
          }
129
        , {
130
          "names" : [["IDENTIFIER", "RamCS"]], "mode" : ["out"], "typ" : {
131
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
132
          , "expr" : ["EXPRESSION", {
133
            "args" : [["EXPRESSION", {
134
              "args" : [["EXPRESSION", {
135
                "args" : [["EXPRESSION", {
136
                  "args" : [["CONSTANT_VALUE", {
137
                    "value" : ["CST_LITERAL", "'1'"]}
138
                  ]]}
139
                ]]}
140
              ]]}
141
            ]]}
142
          ]}
143
        , {
144
          "names" : [["IDENTIFIER", "MemOE"]], "mode" : ["out"], "typ" : {
145
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
146
          , "expr" : ["EXPRESSION", {
147
            "args" : [["EXPRESSION", {
148
              "args" : [["EXPRESSION", {
149
                "args" : [["EXPRESSION", {
150
                  "args" : [["CONSTANT_VALUE", {
151
                    "value" : ["CST_LITERAL", "'0'"]}
152
                  ]]}
153
                ]]}
154
              ]]}
155
            ]]}
156
          ]}
157
        , {
158
          "names" : [["IDENTIFIER", "MemWR"]], "mode" : ["out"], "typ" : {
159
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
160
          , "expr" : ["EXPRESSION", {
161
            "args" : [["EXPRESSION", {
162
              "args" : [["EXPRESSION", {
163
                "args" : [["EXPRESSION", {
164
                  "args" : [["CONSTANT_VALUE", {
165
                    "value" : ["CST_LITERAL", "'0'"]}
166
                  ]]}
167
                ]]}
168
              ]]}
169
            ]]}
170
          ]}
171
        , {
172
          "names" : [["IDENTIFIER", "MemAdv"]], "mode" : ["out"], "typ" : {
173
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
174
          , "expr" : ["EXPRESSION", {
175
            "args" : [["EXPRESSION", {
176
              "args" : [["EXPRESSION", {
177
                "args" : [["EXPRESSION", {
178
                  "args" : [["CONSTANT_VALUE", {
179
                    "value" : ["CST_LITERAL", "'0'"]}
180
                  ]]}
181
                ]]}
182
              ]]}
183
            ]]}
184
          ]}
185
        , {
186
          "names" : [["IDENTIFIER", "MemWait"]], "mode" : ["out"], "typ" : {
187
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
188
          , "expr" : ["EXPRESSION", {
189
            "args" : [["EXPRESSION", {
190
              "args" : [["EXPRESSION", {
191
                "args" : [["EXPRESSION", {
192
                  "args" : [["CONSTANT_VALUE", {
193
                    "value" : ["CST_LITERAL", "'0'"]}
194
                  ]]}
195
                ]]}
196
              ]]}
197
            ]]}
198
          ]}
199
        , {
200
          "names" : [["IDENTIFIER", "FlashCS"]], "mode" : ["out"], "typ" : {
201
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
202
          , "expr" : ["EXPRESSION", {
203
            "args" : [["EXPRESSION", {
204
              "args" : [["EXPRESSION", {
205
                "args" : [["EXPRESSION", {
206
                  "args" : [["CONSTANT_VALUE", {
207
                    "value" : ["CST_LITERAL", "'0'"]}
208
                  ]]}
209
                ]]}
210
              ]]}
211
            ]]}
212
          ]}
213
        , {
214
          "names" : [["IDENTIFIER", "FlashRp"]], "mode" : ["out"], "typ" : {
215
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
216
          , "expr" : ["EXPRESSION", {
217
            "args" : [["EXPRESSION", {
218
              "args" : [["EXPRESSION", {
219
                "args" : [["EXPRESSION", {
220
                  "args" : [["CONSTANT_VALUE", {
221
                    "value" : ["CST_LITERAL", "'1'"]}
222
                  ]]}
223
                ]]}
224
              ]]}
225
            ]]}
226
          ]}
227
        , {
228
          "names" : [["IDENTIFIER", "MemAdr"]], "mode" : ["out"], "typ" : {
229
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
230
              "ranges" : [["RANGE_WITH_DIRECTION", {
231
                "direction" : "downto", "from" : ["EXPRESSION", {
232
                  "args" : [["EXPRESSION", {
233
                    "args" : [["CONSTANT_VALUE", {
234
                      "value" : ["CST_LITERAL", "26"]}
235
                    ]]}
236
                  ]]}
237
                ], "_to" : ["EXPRESSION", {
238
                  "args" : [["EXPRESSION", {
239
                    "args" : [["CONSTANT_VALUE", {
240
                      "value" : ["CST_LITERAL", "1"]}
241
                    ]]}
242
                  ]]}
243
                ]}
244
              ]]}
245
            ]}
246
          , "expr" : ["EXPRESSION", {
247
            "args" : [["EXPRESSION", {
248
              "args" : [["EXPRESSION", {
249
                "args" : [["EXPRESSION", {
250
                  "args" : [["AGGREGATE", {
251
                    "elems" : [{
252
                      "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
253
                        "args" : [["EXPRESSION", {
254
                          "args" : [["EXPRESSION", {
255
                            "args" : [["EXPRESSION", {
256
                              "args" : [["CONSTANT_VALUE", {
257
                                "value" : ["CST_LITERAL", "'0'"]}
258
                              ]]}
259
                            ]]}
260
                          ]]}
261
                        ]]}
262
                      ]}
263
                    ]}
264
                  ]]}
265
                ]]}
266
              ]]}
267
            ]]}
268
          ]}
269
        , {
270
          "names" : [["IDENTIFIER", "MemDB"]], "mode" : ["inout"], "typ" : {
271
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
272
              "ranges" : [["RANGE_WITH_DIRECTION", {
273
                "direction" : "downto", "from" : ["EXPRESSION", {
274
                  "args" : [["EXPRESSION", {
275
                    "args" : [["CONSTANT_VALUE", {
276
                      "value" : ["CST_LITERAL", "15"]}
277
                    ]]}
278
                  ]]}
279
                ], "_to" : ["EXPRESSION", {
280
                  "args" : [["EXPRESSION", {
281
                    "args" : [["CONSTANT_VALUE", {
282
                      "value" : ["CST_LITERAL", "0"]}
283
                    ]]}
284
                  ]]}
285
                ]}
286
              ]]}
287
            ]}
288
          , "expr" : ["EXPRESSION", {
289
            "args" : [["EXPRESSION", {
290
              "args" : [["EXPRESSION", {
291
                "args" : [["EXPRESSION", {
292
                  "args" : [["AGGREGATE", {
293
                    "elems" : [{
294
                      "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
295
                        "args" : [["EXPRESSION", {
296
                          "args" : [["EXPRESSION", {
297
                            "args" : [["EXPRESSION", {
298
                              "args" : [["CONSTANT_VALUE", {
299
                                "value" : ["CST_LITERAL", "'Z'"]}
300
                              ]]}
301
                            ]]}
302
                          ]]}
303
                        ]]}
304
                      ]}
305
                    ]}
306
                  ]]}
307
                ]]}
308
              ]]}
309
            ]]}
310
          ]}
311
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
312
      ]}
313
    , {
314
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
315
        "name" : ["IDENTIFIER", "rtl"], "entity" : ["IDENTIFIER", "ram_interface"], "ARCHITECTURE_DECLARATIVE_PART" : [{
316
          "declaration" : ["SIGNAL_DECLARATION", {
317
            "names" : [["IDENTIFIER", "mem_data_buf_i"]], "typ" : {
318
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
319
                "ranges" : [["NAMED_RANGE", ["ATTRIBUTE_NAME", {
320
                  "id" : ["SIMPLE_NAME", "mem_data_i"], "designator" : ["SIMPLE_NAME", "range"]}
321
                ]]]}
322
              ]}
323
            , "init_val" : ["EXPRESSION", {
324
              "args" : [["EXPRESSION", {
325
                "args" : [["EXPRESSION", {
326
                  "args" : [["EXPRESSION", {
327
                    "args" : [["AGGREGATE", {
328
                      "elems" : [{
329
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
330
                          "args" : [["EXPRESSION", {
331
                            "args" : [["EXPRESSION", {
332
                              "args" : [["EXPRESSION", {
333
                                "args" : [["CONSTANT_VALUE", {
334
                                  "value" : ["CST_LITERAL", "'0'"]}
335
                                ]]}
336
                              ]]}
337
                            ]]}
338
                          ]]}
339
                        ]}
340
                      ]}
341
                    ]]}
342
                  ]]}
343
                ]]}
344
              ]]}
345
            ]}
346
          ]}
347
        , {
348
          "declaration" : ["SIGNAL_DECLARATION", {
349
            "names" : [["IDENTIFIER", "mem_control_o"]], "typ" : {
350
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
351
                "ranges" : [["NAMED_RANGE", ["ATTRIBUTE_NAME", {
352
                  "id" : ["SIMPLE_NAME", "mem_control_i"], "designator" : ["SIMPLE_NAME", "range"]}
353
                ]]]}
354
              ]}
355
            , "init_val" : ["EXPRESSION", {
356
              "args" : [["EXPRESSION", {
357
                "args" : [["EXPRESSION", {
358
                  "args" : [["EXPRESSION", {
359
                    "args" : [["AGGREGATE", {
360
                      "elems" : [{
361
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
362
                          "args" : [["EXPRESSION", {
363
                            "args" : [["EXPRESSION", {
364
                              "args" : [["EXPRESSION", {
365
                                "args" : [["CONSTANT_VALUE", {
366
                                  "value" : ["CST_LITERAL", "'0'"]}
367
                                ]]}
368
                              ]]}
369
                            ]]}
370
                          ]]}
371
                        ]}
372
                      ]}
373
                    ]]}
374
                  ]]}
375
                ]]}
376
              ]]}
377
            ]}
378
          ]}
379
        , {
380
          "declaration" : ["SIGNAL_DECLARATION", {
381
            "names" : [["IDENTIFIER", "mem_we"]], "typ" : {
382
              "name" : ["SIMPLE_NAME", "std_ulogic"]}
383
            , "init_val" : ["EXPRESSION", {
384
              "args" : [["EXPRESSION", {
385
                "args" : [["EXPRESSION", {
386
                  "args" : [["EXPRESSION", {
387
                    "args" : [["CONSTANT_VALUE", {
388
                      "value" : ["CST_LITERAL", "'0'"]}
389
                    ]]}
390
                  ]]}
391
                ]]}
392
              ]]}
393
            ]}
394
          ]}
395
        , {
396
          "declaration" : ["SIGNAL_DECLARATION", {
397
            "names" : [["IDENTIFIER", "mem_oe"]], "typ" : {
398
              "name" : ["SIMPLE_NAME", "std_ulogic"]}
399
            , "init_val" : ["EXPRESSION", {
400
              "args" : [["EXPRESSION", {
401
                "args" : [["EXPRESSION", {
402
                  "args" : [["EXPRESSION", {
403
                    "args" : [["CONSTANT_VALUE", {
404
                      "value" : ["CST_LITERAL", "'0'"]}
405
                    ]]}
406
                  ]]}
407
                ]]}
408
              ]]}
409
            ]}
410
          ]}
411
        , {
412
          "declaration" : ["SIGNAL_DECLARATION", {
413
            "names" : [["IDENTIFIER", "mem_addr_low"]], "typ" : {
414
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
415
                "ranges" : [["NAMED_RANGE", ["ATTRIBUTE_NAME", {
416
                  "id" : ["SIMPLE_NAME", "mem_addr_16_1"], "designator" : ["SIMPLE_NAME", "range"]}
417
                ]]]}
418
              ]}
419
            , "init_val" : ["EXPRESSION", {
420
              "args" : [["EXPRESSION", {
421
                "args" : [["EXPRESSION", {
422
                  "args" : [["EXPRESSION", {
423
                    "args" : [["AGGREGATE", {
424
                      "elems" : [{
425
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
426
                          "args" : [["EXPRESSION", {
427
                            "args" : [["EXPRESSION", {
428
                              "args" : [["EXPRESSION", {
429
                                "args" : [["CONSTANT_VALUE", {
430
                                  "value" : ["CST_LITERAL", "'0'"]}
431
                                ]]}
432
                              ]]}
433
                            ]]}
434
                          ]]}
435
                        ]}
436
                      ]}
437
                    ]]}
438
                  ]]}
439
                ]]}
440
              ]]}
441
            ]}
442
          ]}
443
        , {
444
          "declaration" : ["SIGNAL_DECLARATION", {
445
            "names" : [["IDENTIFIER", "mem_addr_high"]], "typ" : {
446
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
447
                "ranges" : [["NAMED_RANGE", ["ATTRIBUTE_NAME", {
448
                  "id" : ["SIMPLE_NAME", "mem_addr_26_17"], "designator" : ["SIMPLE_NAME", "range"]}
449
                ]]]}
450
              ]}
451
            , "init_val" : ["EXPRESSION", {
452
              "args" : [["EXPRESSION", {
453
                "args" : [["EXPRESSION", {
454
                  "args" : [["EXPRESSION", {
455
                    "args" : [["AGGREGATE", {
456
                      "elems" : [{
457
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
458
                          "args" : [["EXPRESSION", {
459
                            "args" : [["EXPRESSION", {
460
                              "args" : [["EXPRESSION", {
461
                                "args" : [["CONSTANT_VALUE", {
462
                                  "value" : ["CST_LITERAL", "'0'"]}
463
                                ]]}
464
                              ]]}
465
                            ]]}
466
                          ]]}
467
                        ]}
468
                      ]}
469
                    ]]}
470
                  ]]}
471
                ]]}
472
              ]]}
473
            ]}
474
          ]}
475
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
476
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemAdr"], "rhs" : [{
477
            "expr" : [{
478
              "value" : ["EXPRESSION", {
479
                "args" : [["EXPRESSION", {
480
                  "args" : [["EXPRESSION", {
481
                    "args" : [["EXPRESSION", {
482
                      "id" : "&", "args" : [["EXPRESSION", {
483
                        "id" : "&", "args" : [["EXPRESSION", {
484
                          "args" : [["CONSTANT_VALUE", {
485
                            "value" : ["CST_LITERAL", "'0'"]}
486
                          ]]}
487
                        ], ["EXPRESSION", {
488
                          "args" : [["CALL", ["SIMPLE_NAME", "mem_addr_high"]]]}
489
                        ]]}
490
                      ], ["EXPRESSION", {
491
                        "args" : [["CALL", ["SLICE_NAME", {
492
                          "id" : ["SIMPLE_NAME", "mem_addr_low"], "range" : ["RANGE_WITH_DIRECTION", {
493
                            "direction" : "downto", "from" : ["EXPRESSION", {
494
                              "args" : [["EXPRESSION", {
495
                                "args" : [["CALL", ["ATTRIBUTE_NAME", {
496
                                  "id" : ["SIMPLE_NAME", "mem_addr_low"], "designator" : ["SIMPLE_NAME", "high"]}
497
                                ]]]}
498
                              ]]}
499
                            ], "_to" : ["EXPRESSION", {
500
                              "args" : [["EXPRESSION", {
501
                                "id" : "+", "args" : [["EXPRESSION", {
502
                                  "args" : [["CALL", ["ATTRIBUTE_NAME", {
503
                                    "id" : ["SIMPLE_NAME", "mem_addr_low"], "designator" : ["SIMPLE_NAME", "low"]}
504
                                  ]]]}
505
                                ], ["EXPRESSION", {
506
                                  "args" : [["CONSTANT_VALUE", {
507
                                    "value" : ["CST_LITERAL", "1"]}
508
                                  ]]}
509
                                ]]}
510
                              ]]}
511
                            ]}
512
                          ]}
513
                        ]]]}
514
                      ]]}
515
                    ]]}
516
                  ]]}
517
                ]]}
518
              ]}
519
            ]}
520
          ]}
521
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
522
          "name" : ["IDENTIFIER", "mem_addr_16_1_reg"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "generic_map" : [{
523
            "formal_name" : ["SIMPLE_NAME", "N"], "actual_designator" : ["ATTRIBUTE_NAME", {
524
              "id" : ["SIMPLE_NAME", "mem_addr_16_1"], "designator" : ["SIMPLE_NAME", "length"]}
525
            ]}
526
          ], "port_map" : [{
527
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
528
          , {
529
            "formal_name" : ["SIMPLE_NAME", "rst"], "actual_designator" : ["SIMPLE_NAME", "rst"]}
530
          , {
531
            "formal_name" : ["SIMPLE_NAME", "we"], "actual_designator" : ["SIMPLE_NAME", "mem_addr_16_1_we"]}
532
          , {
533
            "formal_name" : ["SIMPLE_NAME", "di"], "actual_designator" : ["SIMPLE_NAME", "mem_addr_16_1"]}
534
          , {
535
            "formal_name" : ["SIMPLE_NAME", "do"], "actual_designator" : ["SIMPLE_NAME", "mem_addr_low"]}
536
          ]}
537
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
538
          "name" : ["IDENTIFIER", "mem_addr_26_17_reg"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "generic_map" : [{
539
            "formal_name" : ["SIMPLE_NAME", "N"], "actual_expr" : ["EXPRESSION", {
540
              "args" : [["EXPRESSION", {
541
                "args" : [["EXPRESSION", {
542
                  "args" : [["EXPRESSION", {
543
                    "args" : [["CONSTANT_VALUE", {
544
                      "value" : ["CST_LITERAL", "10"]}
545
                    ]]}
546
                  ]]}
547
                ]]}
548
              ]]}
549
            ]}
550
          ], "port_map" : [{
551
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
552
          , {
553
            "formal_name" : ["SIMPLE_NAME", "rst"], "actual_designator" : ["SIMPLE_NAME", "rst"]}
554
          , {
555
            "formal_name" : ["SIMPLE_NAME", "we"], "actual_designator" : ["SIMPLE_NAME", "mem_addr_26_17_we"]}
556
          , {
557
            "formal_name" : ["SIMPLE_NAME", "di"], "actual_designator" : ["SIMPLE_NAME", "mem_addr_26_17"]}
558
          , {
559
            "formal_name" : ["SIMPLE_NAME", "do"], "actual_designator" : ["SIMPLE_NAME", "mem_addr_high"]}
560
          ]}
561
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
562
          "name" : ["IDENTIFIER", "mem_control_reg"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "generic_map" : [{
563
            "formal_name" : ["SIMPLE_NAME", "N"], "actual_expr" : ["EXPRESSION", {
564
              "args" : [["EXPRESSION", {
565
                "args" : [["EXPRESSION", {
566
                  "args" : [["EXPRESSION", {
567
                    "args" : [["CONSTANT_VALUE", {
568
                      "value" : ["CST_LITERAL", "6"]}
569
                    ]]}
570
                  ]]}
571
                ]]}
572
              ]]}
573
            ]}
574
          ], "port_map" : [{
575
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
576
          , {
577
            "formal_name" : ["SIMPLE_NAME", "rst"], "actual_designator" : ["SIMPLE_NAME", "rst"]}
578
          , {
579
            "formal_name" : ["SIMPLE_NAME", "we"], "actual_designator" : ["SIMPLE_NAME", "mem_control_we"]}
580
          , {
581
            "formal_name" : ["SIMPLE_NAME", "di"], "actual_designator" : ["SIMPLE_NAME", "mem_control_i"]}
582
          , {
583
            "formal_name" : ["SIMPLE_NAME", "do"], "actual_designator" : ["SIMPLE_NAME", "mem_control_o"]}
584
          ]}
585
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
586
          "name" : ["IDENTIFIER", "mem_data_i_reg"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "reg"]]], "inst_unit_type" : "entity", "generic_map" : [{
587
            "formal_name" : ["SIMPLE_NAME", "N"], "actual_designator" : ["ATTRIBUTE_NAME", {
588
              "id" : ["SIMPLE_NAME", "mem_data_i"], "designator" : ["SIMPLE_NAME", "length"]}
589
            ]}
590
          ], "port_map" : [{
591
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
592
          , {
593
            "formal_name" : ["SIMPLE_NAME", "rst"], "actual_designator" : ["SIMPLE_NAME", "rst"]}
594
          , {
595
            "formal_name" : ["SIMPLE_NAME", "we"], "actual_designator" : ["SIMPLE_NAME", "mem_data_i_we"]}
596
          , {
597
            "formal_name" : ["SIMPLE_NAME", "di"], "actual_designator" : ["SIMPLE_NAME", "mem_data_i"]}
598
          , {
599
            "formal_name" : ["SIMPLE_NAME", "do"], "actual_designator" : ["SIMPLE_NAME", "mem_data_buf_i"]}
600
          ]}
601
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
602
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "FlashCS"], "rhs" : [{
603
            "expr" : [{
604
              "value" : ["EXPRESSION", {
605
                "args" : [["EXPRESSION", {
606
                  "args" : [["EXPRESSION", {
607
                    "args" : [["EXPRESSION", {
608
                      "args" : [["CONSTANT_VALUE", {
609
                        "value" : ["CST_LITERAL", "'0'"]}
610
                      ]]}
611
                    ]]}
612
                  ]]}
613
                ]]}
614
              ]}
615
            ], "cond" : ["EXPRESSION", {
616
              "id" : "and", "args" : [["EXPRESSION", {
617
                "id" : "/=", "args" : [["EXPRESSION", {
618
                  "args" : [["EXPRESSION", {
619
                    "args" : [["EXPRESSION", {
620
                      "args" : [["CALL", ["SLICE_NAME", {
621
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
622
                          "direction" : "downto", "from" : ["EXPRESSION", {
623
                            "args" : [["EXPRESSION", {
624
                              "args" : [["CONSTANT_VALUE", {
625
                                "value" : ["CST_LITERAL", "5"]}
626
                              ]]}
627
                            ]]}
628
                          ], "_to" : ["EXPRESSION", {
629
                            "args" : [["EXPRESSION", {
630
                              "args" : [["CONSTANT_VALUE", {
631
                                "value" : ["CST_LITERAL", "4"]}
632
                              ]]}
633
                            ]]}
634
                          ]}
635
                        ]}
636
                      ]]]}
637
                    ]]}
638
                  ]]}
639
                ], ["EXPRESSION", {
640
                  "args" : [["EXPRESSION", {
641
                    "args" : [["EXPRESSION", {
642
                      "args" : [["CONSTANT_VALUE", {
643
                        "value" : ["CST_LITERAL", "\"00\""]}
644
                      ]]}
645
                    ]]}
646
                  ]]}
647
                ]]}
648
              ], ["EXPRESSION", {
649
                "id" : "=", "args" : [["EXPRESSION", {
650
                  "args" : [["EXPRESSION", {
651
                    "args" : [["EXPRESSION", {
652
                      "args" : [["CALL", ["INDEXED_NAME", {
653
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "exprs" : [["EXPRESSION", {
654
                          "args" : [["EXPRESSION", {
655
                            "args" : [["EXPRESSION", {
656
                              "args" : [["EXPRESSION", {
657
                                "args" : [["CONSTANT_VALUE", {
658
                                  "value" : ["CST_LITERAL", "0"]}
659
                                ]]}
660
                              ]]}
661
                            ]]}
662
                          ]]}
663
                        ]]}
664
                      ]]]}
665
                    ]]}
666
                  ]]}
667
                ], ["EXPRESSION", {
668
                  "args" : [["EXPRESSION", {
669
                    "args" : [["EXPRESSION", {
670
                      "args" : [["CONSTANT_VALUE", {
671
                        "value" : ["CST_LITERAL", "'1'"]}
672
                      ]]}
673
                    ]]}
674
                  ]]}
675
                ]]}
676
              ]]}
677
            ]}
678
          , {
679
            "expr" : [{
680
              "value" : ["EXPRESSION", {
681
                "args" : [["EXPRESSION", {
682
                  "args" : [["EXPRESSION", {
683
                    "args" : [["EXPRESSION", {
684
                      "args" : [["CONSTANT_VALUE", {
685
                        "value" : ["CST_LITERAL", "'1'"]}
686
                      ]]}
687
                    ]]}
688
                  ]]}
689
                ]]}
690
              ]}
691
            ]}
692
          ]}
693
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
694
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "RamCS"], "rhs" : [{
695
            "expr" : [{
696
              "value" : ["EXPRESSION", {
697
                "args" : [["EXPRESSION", {
698
                  "args" : [["EXPRESSION", {
699
                    "args" : [["EXPRESSION", {
700
                      "args" : [["CONSTANT_VALUE", {
701
                        "value" : ["CST_LITERAL", "'0'"]}
702
                      ]]}
703
                    ]]}
704
                  ]]}
705
                ]]}
706
              ]}
707
            ], "cond" : ["EXPRESSION", {
708
              "id" : "and", "args" : [["EXPRESSION", {
709
                "id" : "/=", "args" : [["EXPRESSION", {
710
                  "args" : [["EXPRESSION", {
711
                    "args" : [["EXPRESSION", {
712
                      "args" : [["CALL", ["SLICE_NAME", {
713
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
714
                          "direction" : "downto", "from" : ["EXPRESSION", {
715
                            "args" : [["EXPRESSION", {
716
                              "args" : [["CONSTANT_VALUE", {
717
                                "value" : ["CST_LITERAL", "5"]}
718
                              ]]}
719
                            ]]}
720
                          ], "_to" : ["EXPRESSION", {
721
                            "args" : [["EXPRESSION", {
722
                              "args" : [["CONSTANT_VALUE", {
723
                                "value" : ["CST_LITERAL", "4"]}
724
                              ]]}
725
                            ]]}
726
                          ]}
727
                        ]}
728
                      ]]]}
729
                    ]]}
730
                  ]]}
731
                ], ["EXPRESSION", {
732
                  "args" : [["EXPRESSION", {
733
                    "args" : [["EXPRESSION", {
734
                      "args" : [["CONSTANT_VALUE", {
735
                        "value" : ["CST_LITERAL", "\"00\""]}
736
                      ]]}
737
                    ]]}
738
                  ]]}
739
                ]]}
740
              ], ["EXPRESSION", {
741
                "id" : "=", "args" : [["EXPRESSION", {
742
                  "args" : [["EXPRESSION", {
743
                    "args" : [["EXPRESSION", {
744
                      "args" : [["CALL", ["INDEXED_NAME", {
745
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "exprs" : [["EXPRESSION", {
746
                          "args" : [["EXPRESSION", {
747
                            "args" : [["EXPRESSION", {
748
                              "args" : [["EXPRESSION", {
749
                                "args" : [["CONSTANT_VALUE", {
750
                                  "value" : ["CST_LITERAL", "1"]}
751
                                ]]}
752
                              ]]}
753
                            ]]}
754
                          ]]}
755
                        ]]}
756
                      ]]]}
757
                    ]]}
758
                  ]]}
759
                ], ["EXPRESSION", {
760
                  "args" : [["EXPRESSION", {
761
                    "args" : [["EXPRESSION", {
762
                      "args" : [["CONSTANT_VALUE", {
763
                        "value" : ["CST_LITERAL", "'1'"]}
764
                      ]]}
765
                    ]]}
766
                  ]]}
767
                ]]}
768
              ]]}
769
            ]}
770
          , {
771
            "expr" : [{
772
              "value" : ["EXPRESSION", {
773
                "args" : [["EXPRESSION", {
774
                  "args" : [["EXPRESSION", {
775
                    "args" : [["EXPRESSION", {
776
                      "args" : [["CONSTANT_VALUE", {
777
                        "value" : ["CST_LITERAL", "'1'"]}
778
                      ]]}
779
                    ]]}
780
                  ]]}
781
                ]]}
782
              ]}
783
            ]}
784
          ]}
785
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
786
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemWait"], "rhs" : [{
787
            "expr" : [{
788
              "value" : ["EXPRESSION", {
789
                "args" : [["EXPRESSION", {
790
                  "args" : [["EXPRESSION", {
791
                    "args" : [["EXPRESSION", {
792
                      "args" : [["CALL", ["INDEXED_NAME", {
793
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "exprs" : [["EXPRESSION", {
794
                          "args" : [["EXPRESSION", {
795
                            "args" : [["EXPRESSION", {
796
                              "args" : [["EXPRESSION", {
797
                                "args" : [["CONSTANT_VALUE", {
798
                                  "value" : ["CST_LITERAL", "2"]}
799
                                ]]}
800
                              ]]}
801
                            ]]}
802
                          ]]}
803
                        ]]}
804
                      ]]]}
805
                    ]]}
806
                  ]]}
807
                ]]}
808
              ]}
809
            ]}
810
          ]}
811
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
812
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "FlashRp"], "rhs" : [{
813
            "expr" : [{
814
              "value" : ["EXPRESSION", {
815
                "args" : [["EXPRESSION", {
816
                  "args" : [["EXPRESSION", {
817
                    "args" : [["EXPRESSION", {
818
                      "args" : [["CONSTANT_VALUE", {
819
                        "value" : ["CST_LITERAL", "'0'"]}
820
                      ]]}
821
                    ]]}
822
                  ]]}
823
                ]]}
824
              ]}
825
            ], "cond" : ["EXPRESSION", {
826
              "id" : "=", "args" : [["EXPRESSION", {
827
                "args" : [["EXPRESSION", {
828
                  "args" : [["EXPRESSION", {
829
                    "args" : [["CALL", ["INDEXED_NAME", {
830
                      "id" : ["SIMPLE_NAME", "mem_control_o"], "exprs" : [["EXPRESSION", {
831
                        "args" : [["EXPRESSION", {
832
                          "args" : [["EXPRESSION", {
833
                            "args" : [["EXPRESSION", {
834
                              "args" : [["CONSTANT_VALUE", {
835
                                "value" : ["CST_LITERAL", "3"]}
836
                              ]]}
837
                            ]]}
838
                          ]]}
839
                        ]]}
840
                      ]]}
841
                    ]]]}
842
                  ]]}
843
                ]]}
844
              ], ["EXPRESSION", {
845
                "args" : [["EXPRESSION", {
846
                  "args" : [["EXPRESSION", {
847
                    "args" : [["CONSTANT_VALUE", {
848
                      "value" : ["CST_LITERAL", "'1'"]}
849
                    ]]}
850
                  ]]}
851
                ]]}
852
              ]]}
853
            ]}
854
          , {
855
            "expr" : [{
856
              "value" : ["EXPRESSION", {
857
                "args" : [["EXPRESSION", {
858
                  "args" : [["EXPRESSION", {
859
                    "args" : [["EXPRESSION", {
860
                      "args" : [["CONSTANT_VALUE", {
861
                        "value" : ["CST_LITERAL", "'1'"]}
862
                      ]]}
863
                    ]]}
864
                  ]]}
865
                ]]}
866
              ]}
867
            ]}
868
          ]}
869
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
870
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemAdv"], "rhs" : [{
871
            "expr" : [{
872
              "value" : ["EXPRESSION", {
873
                "args" : [["EXPRESSION", {
874
                  "args" : [["EXPRESSION", {
875
                    "args" : [["EXPRESSION", {
876
                      "args" : [["CONSTANT_VALUE", {
877
                        "value" : ["CST_LITERAL", "'0'"]}
878
                      ]]}
879
                    ]]}
880
                  ]]}
881
                ]]}
882
              ]}
883
            ], "cond" : ["EXPRESSION", {
884
              "id" : "or", "args" : [["EXPRESSION", {
885
                "id" : "=", "args" : [["EXPRESSION", {
886
                  "args" : [["EXPRESSION", {
887
                    "args" : [["EXPRESSION", {
888
                      "args" : [["CALL", ["SIMPLE_NAME", "mem_oe"]]]}
889
                    ]]}
890
                  ]]}
891
                ], ["EXPRESSION", {
892
                  "args" : [["EXPRESSION", {
893
                    "args" : [["EXPRESSION", {
894
                      "args" : [["CONSTANT_VALUE", {
895
                        "value" : ["CST_LITERAL", "'1'"]}
896
                      ]]}
897
                    ]]}
898
                  ]]}
899
                ]]}
900
              ], ["EXPRESSION", {
901
                "id" : "=", "args" : [["EXPRESSION", {
902
                  "args" : [["EXPRESSION", {
903
                    "args" : [["EXPRESSION", {
904
                      "args" : [["CALL", ["SIMPLE_NAME", "mem_we"]]]}
905
                    ]]}
906
                  ]]}
907
                ], ["EXPRESSION", {
908
                  "args" : [["EXPRESSION", {
909
                    "args" : [["EXPRESSION", {
910
                      "args" : [["CONSTANT_VALUE", {
911
                        "value" : ["CST_LITERAL", "'1'"]}
912
                      ]]}
913
                    ]]}
914
                  ]]}
915
                ]]}
916
              ]]}
917
            ]}
918
          , {
919
            "expr" : [{
920
              "value" : ["EXPRESSION", {
921
                "args" : [["EXPRESSION", {
922
                  "args" : [["EXPRESSION", {
923
                    "args" : [["EXPRESSION", {
924
                      "args" : [["CONSTANT_VALUE", {
925
                        "value" : ["CST_LITERAL", "'1'"]}
926
                      ]]}
927
                    ]]}
928
                  ]]}
929
                ]]}
930
              ]}
931
            ]}
932
          ]}
933
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
934
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem_oe"], "rhs" : [{
935
            "expr" : [{
936
              "value" : ["EXPRESSION", {
937
                "args" : [["EXPRESSION", {
938
                  "args" : [["EXPRESSION", {
939
                    "args" : [["EXPRESSION", {
940
                      "args" : [["CONSTANT_VALUE", {
941
                        "value" : ["CST_LITERAL", "'1'"]}
942
                      ]]}
943
                    ]]}
944
                  ]]}
945
                ]]}
946
              ]}
947
            ], "cond" : ["EXPRESSION", {
948
              "id" : "=", "args" : [["EXPRESSION", {
949
                "args" : [["EXPRESSION", {
950
                  "args" : [["EXPRESSION", {
951
                    "args" : [["CALL", ["SLICE_NAME", {
952
                      "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
953
                        "direction" : "downto", "from" : ["EXPRESSION", {
954
                          "args" : [["EXPRESSION", {
955
                            "args" : [["CONSTANT_VALUE", {
956
                              "value" : ["CST_LITERAL", "5"]}
957
                            ]]}
958
                          ]]}
959
                        ], "_to" : ["EXPRESSION", {
960
                          "args" : [["EXPRESSION", {
961
                            "args" : [["CONSTANT_VALUE", {
962
                              "value" : ["CST_LITERAL", "4"]}
963
                            ]]}
964
                          ]]}
965
                        ]}
966
                      ]}
967
                    ]]]}
968
                  ]]}
969
                ]]}
970
              ], ["EXPRESSION", {
971
                "args" : [["EXPRESSION", {
972
                  "args" : [["EXPRESSION", {
973
                    "args" : [["CONSTANT_VALUE", {
974
                      "value" : ["CST_LITERAL", "\"01\""]}
975
                    ]]}
976
                  ]]}
977
                ]]}
978
              ]]}
979
            ]}
980
          , {
981
            "expr" : [{
982
              "value" : ["EXPRESSION", {
983
                "args" : [["EXPRESSION", {
984
                  "args" : [["EXPRESSION", {
985
                    "args" : [["EXPRESSION", {
986
                      "args" : [["CONSTANT_VALUE", {
987
                        "value" : ["CST_LITERAL", "'0'"]}
988
                      ]]}
989
                    ]]}
990
                  ]]}
991
                ]]}
992
              ]}
993
            ]}
994
          ]}
995
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
996
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem_we"], "rhs" : [{
997
            "expr" : [{
998
              "value" : ["EXPRESSION", {
999
                "args" : [["EXPRESSION", {
1000
                  "args" : [["EXPRESSION", {
1001
                    "args" : [["EXPRESSION", {
1002
                      "args" : [["CONSTANT_VALUE", {
1003
                        "value" : ["CST_LITERAL", "'1'"]}
1004
                      ]]}
1005
                    ]]}
1006
                  ]]}
1007
                ]]}
1008
              ]}
1009
            ], "cond" : ["EXPRESSION", {
1010
              "id" : "=", "args" : [["EXPRESSION", {
1011
                "args" : [["EXPRESSION", {
1012
                  "args" : [["EXPRESSION", {
1013
                    "args" : [["CALL", ["SLICE_NAME", {
1014
                      "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
1015
                        "direction" : "downto", "from" : ["EXPRESSION", {
1016
                          "args" : [["EXPRESSION", {
1017
                            "args" : [["CONSTANT_VALUE", {
1018
                              "value" : ["CST_LITERAL", "5"]}
1019
                            ]]}
1020
                          ]]}
1021
                        ], "_to" : ["EXPRESSION", {
1022
                          "args" : [["EXPRESSION", {
1023
                            "args" : [["CONSTANT_VALUE", {
1024
                              "value" : ["CST_LITERAL", "4"]}
1025
                            ]]}
1026
                          ]]}
1027
                        ]}
1028
                      ]}
1029
                    ]]]}
1030
                  ]]}
1031
                ]]}
1032
              ], ["EXPRESSION", {
1033
                "args" : [["EXPRESSION", {
1034
                  "args" : [["EXPRESSION", {
1035
                    "args" : [["CONSTANT_VALUE", {
1036
                      "value" : ["CST_LITERAL", "\"10\""]}
1037
                    ]]}
1038
                  ]]}
1039
                ]]}
1040
              ]]}
1041
            ]}
1042
          , {
1043
            "expr" : [{
1044
              "value" : ["EXPRESSION", {
1045
                "args" : [["EXPRESSION", {
1046
                  "args" : [["EXPRESSION", {
1047
                    "args" : [["EXPRESSION", {
1048
                      "args" : [["CONSTANT_VALUE", {
1049
                        "value" : ["CST_LITERAL", "'0'"]}
1050
                      ]]}
1051
                    ]]}
1052
                  ]]}
1053
                ]]}
1054
              ]}
1055
            ]}
1056
          ]}
1057
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1058
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemOE"], "rhs" : [{
1059
            "expr" : [{
1060
              "value" : ["EXPRESSION", {
1061
                "args" : [["EXPRESSION", {
1062
                  "args" : [["EXPRESSION", {
1063
                    "args" : [["EXPRESSION", {
1064
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "mem_oe"]]]}
1065
                    ]]}
1066
                  ]]}
1067
                ]]}
1068
              ]}
1069
            ]}
1070
          ]}
1071
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1072
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemWR"], "rhs" : [{
1073
            "expr" : [{
1074
              "value" : ["EXPRESSION", {
1075
                "args" : [["EXPRESSION", {
1076
                  "args" : [["EXPRESSION", {
1077
                    "args" : [["EXPRESSION", {
1078
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "mem_we"]]]}
1079
                    ]]}
1080
                  ]]}
1081
                ]]}
1082
              ]}
1083
            ]}
1084
          ]}
1085
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1086
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem_data_o"], "rhs" : [{
1087
            "expr" : [{
1088
              "value" : ["EXPRESSION", {
1089
                "args" : [["EXPRESSION", {
1090
                  "args" : [["EXPRESSION", {
1091
                    "args" : [["EXPRESSION", {
1092
                      "args" : [["CALL", ["INDEXED_NAME", {
1093
                        "id" : ["SIMPLE_NAME", "std_ulogic_vector"], "exprs" : [["EXPRESSION", {
1094
                          "args" : [["EXPRESSION", {
1095
                            "args" : [["EXPRESSION", {
1096
                              "args" : [["EXPRESSION", {
1097
                                "args" : [["CALL", ["SIMPLE_NAME", "MemDB"]]]}
1098
                              ]]}
1099
                            ]]}
1100
                          ]]}
1101
                        ]]}
1102
                      ]]]}
1103
                    ]]}
1104
                  ]]}
1105
                ]]}
1106
              ]}
1107
            ], "cond" : ["EXPRESSION", {
1108
              "id" : "=", "args" : [["EXPRESSION", {
1109
                "args" : [["EXPRESSION", {
1110
                  "args" : [["EXPRESSION", {
1111
                    "args" : [["CALL", ["SIMPLE_NAME", "mem_oe"]]]}
1112
                  ]]}
1113
                ]]}
1114
              ], ["EXPRESSION", {
1115
                "args" : [["EXPRESSION", {
1116
                  "args" : [["EXPRESSION", {
1117
                    "args" : [["CONSTANT_VALUE", {
1118
                      "value" : ["CST_LITERAL", "'1'"]}
1119
                    ]]}
1120
                  ]]}
1121
                ]]}
1122
              ]]}
1123
            ]}
1124
          , {
1125
            "expr" : [{
1126
              "value" : ["EXPRESSION", {
1127
                "args" : [["EXPRESSION", {
1128
                  "args" : [["EXPRESSION", {
1129
                    "args" : [["EXPRESSION", {
1130
                      "args" : [["AGGREGATE", {
1131
                        "elems" : [{
1132
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
1133
                            "args" : [["EXPRESSION", {
1134
                              "args" : [["EXPRESSION", {
1135
                                "args" : [["EXPRESSION", {
1136
                                  "args" : [["CONSTANT_VALUE", {
1137
                                    "value" : ["CST_LITERAL", "'0'"]}
1138
                                  ]]}
1139
                                ]]}
1140
                              ]]}
1141
                            ]]}
1142
                          ]}
1143
                        ]}
1144
                      ]]}
1145
                    ]]}
1146
                  ]]}
1147
                ]]}
1148
              ]}
1149
            ]}
1150
          ]}
1151
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1152
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemDB"], "rhs" : [{
1153
            "expr" : [{
1154
              "value" : ["EXPRESSION", {
1155
                "args" : [["EXPRESSION", {
1156
                  "args" : [["EXPRESSION", {
1157
                    "args" : [["EXPRESSION", {
1158
                      "args" : [["CALL", ["INDEXED_NAME", {
1159
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
1160
                          "args" : [["EXPRESSION", {
1161
                            "args" : [["EXPRESSION", {
1162
                              "args" : [["EXPRESSION", {
1163
                                "args" : [["CALL", ["SIMPLE_NAME", "mem_data_buf_i"]]]}
1164
                              ]]}
1165
                            ]]}
1166
                          ]]}
1167
                        ]]}
1168
                      ]]]}
1169
                    ]]}
1170
                  ]]}
1171
                ]]}
1172
              ]}
1173
            ], "cond" : ["EXPRESSION", {
1174
              "id" : "=", "args" : [["EXPRESSION", {
1175
                "args" : [["EXPRESSION", {
1176
                  "args" : [["EXPRESSION", {
1177
                    "args" : [["CALL", ["SIMPLE_NAME", "mem_we"]]]}
1178
                  ]]}
1179
                ]]}
1180
              ], ["EXPRESSION", {
1181
                "args" : [["EXPRESSION", {
1182
                  "args" : [["EXPRESSION", {
1183
                    "args" : [["CONSTANT_VALUE", {
1184
                      "value" : ["CST_LITERAL", "'1'"]}
1185
                    ]]}
1186
                  ]]}
1187
                ]]}
1188
              ]]}
1189
            ]}
1190
          , {
1191
            "expr" : [{
1192
              "value" : ["EXPRESSION", {
1193
                "args" : [["EXPRESSION", {
1194
                  "args" : [["EXPRESSION", {
1195
                    "args" : [["EXPRESSION", {
1196
                      "args" : [["AGGREGATE", {
1197
                        "elems" : [{
1198
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
1199
                            "args" : [["EXPRESSION", {
1200
                              "args" : [["EXPRESSION", {
1201
                                "args" : [["EXPRESSION", {
1202
                                  "args" : [["CONSTANT_VALUE", {
1203
                                    "value" : ["CST_LITERAL", "'Z'"]}
1204
                                  ]]}
1205
                                ]]}
1206
                              ]]}
1207
                            ]]}
1208
                          ]}
1209
                        ]}
1210
                      ]]}
1211
                    ]]}
1212
                  ]]}
1213
                ]]}
1214
              ]}
1215
            ]}
1216
          ]}
1217
        ]]}
1218
      ]}
1219
    ]}
1220
  }