Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / forth-cpu / ram.json @ 2051e520

History | View | Annotate | Download (48.5 KB)

1 2051e520 Arnaud Dieumegard
{
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"]]], "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"]]], "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"]]], "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"]]], "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", ["FUNCTION_CALL", {
653
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "assoc_list" : [{
654
                          "actual_expr" : ["EXPRESSION", {
655
                            "args" : [["EXPRESSION", {
656
                              "args" : [["EXPRESSION", {
657
                                "args" : [["EXPRESSION", {
658
                                  "args" : [["CONSTANT_VALUE", {
659
                                    "value" : ["CST_LITERAL", "0"]}
660
                                  ]]}
661
                                ]]}
662
                              ]]}
663
                            ]]}
664
                          ]}
665
                        ]}
666
                      ]]]}
667
                    ]]}
668
                  ]]}
669
                ], ["EXPRESSION", {
670
                  "args" : [["EXPRESSION", {
671
                    "args" : [["EXPRESSION", {
672
                      "args" : [["CONSTANT_VALUE", {
673
                        "value" : ["CST_LITERAL", "'1'"]}
674
                      ]]}
675
                    ]]}
676
                  ]]}
677
                ]]}
678
              ]]}
679
            ]}
680
          , {
681
            "expr" : [{
682
              "value" : ["EXPRESSION", {
683
                "args" : [["EXPRESSION", {
684
                  "args" : [["EXPRESSION", {
685
                    "args" : [["EXPRESSION", {
686
                      "args" : [["CONSTANT_VALUE", {
687
                        "value" : ["CST_LITERAL", "'1'"]}
688
                      ]]}
689
                    ]]}
690
                  ]]}
691
                ]]}
692
              ]}
693
            ]}
694
          ]}
695
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
696
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "RamCS"], "rhs" : [{
697
            "expr" : [{
698
              "value" : ["EXPRESSION", {
699
                "args" : [["EXPRESSION", {
700
                  "args" : [["EXPRESSION", {
701
                    "args" : [["EXPRESSION", {
702
                      "args" : [["CONSTANT_VALUE", {
703
                        "value" : ["CST_LITERAL", "'0'"]}
704
                      ]]}
705
                    ]]}
706
                  ]]}
707
                ]]}
708
              ]}
709
            ], "cond" : ["EXPRESSION", {
710
              "id" : "and", "args" : [["EXPRESSION", {
711
                "id" : "/=", "args" : [["EXPRESSION", {
712
                  "args" : [["EXPRESSION", {
713
                    "args" : [["EXPRESSION", {
714
                      "args" : [["CALL", ["SLICE_NAME", {
715
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
716
                          "direction" : "downto", "from" : ["EXPRESSION", {
717
                            "args" : [["EXPRESSION", {
718
                              "args" : [["CONSTANT_VALUE", {
719
                                "value" : ["CST_LITERAL", "5"]}
720
                              ]]}
721
                            ]]}
722
                          ], "_to" : ["EXPRESSION", {
723
                            "args" : [["EXPRESSION", {
724
                              "args" : [["CONSTANT_VALUE", {
725
                                "value" : ["CST_LITERAL", "4"]}
726
                              ]]}
727
                            ]]}
728
                          ]}
729
                        ]}
730
                      ]]]}
731
                    ]]}
732
                  ]]}
733
                ], ["EXPRESSION", {
734
                  "args" : [["EXPRESSION", {
735
                    "args" : [["EXPRESSION", {
736
                      "args" : [["CONSTANT_VALUE", {
737
                        "value" : ["CST_LITERAL", "\"00\""]}
738
                      ]]}
739
                    ]]}
740
                  ]]}
741
                ]]}
742
              ], ["EXPRESSION", {
743
                "id" : "=", "args" : [["EXPRESSION", {
744
                  "args" : [["EXPRESSION", {
745
                    "args" : [["EXPRESSION", {
746
                      "args" : [["CALL", ["FUNCTION_CALL", {
747
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "assoc_list" : [{
748
                          "actual_expr" : ["EXPRESSION", {
749
                            "args" : [["EXPRESSION", {
750
                              "args" : [["EXPRESSION", {
751
                                "args" : [["EXPRESSION", {
752
                                  "args" : [["CONSTANT_VALUE", {
753
                                    "value" : ["CST_LITERAL", "1"]}
754
                                  ]]}
755
                                ]]}
756
                              ]]}
757
                            ]]}
758
                          ]}
759
                        ]}
760
                      ]]]}
761
                    ]]}
762
                  ]]}
763
                ], ["EXPRESSION", {
764
                  "args" : [["EXPRESSION", {
765
                    "args" : [["EXPRESSION", {
766
                      "args" : [["CONSTANT_VALUE", {
767
                        "value" : ["CST_LITERAL", "'1'"]}
768
                      ]]}
769
                    ]]}
770
                  ]]}
771
                ]]}
772
              ]]}
773
            ]}
774
          , {
775
            "expr" : [{
776
              "value" : ["EXPRESSION", {
777
                "args" : [["EXPRESSION", {
778
                  "args" : [["EXPRESSION", {
779
                    "args" : [["EXPRESSION", {
780
                      "args" : [["CONSTANT_VALUE", {
781
                        "value" : ["CST_LITERAL", "'1'"]}
782
                      ]]}
783
                    ]]}
784
                  ]]}
785
                ]]}
786
              ]}
787
            ]}
788
          ]}
789
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
790
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemWait"], "rhs" : [{
791
            "expr" : [{
792
              "value" : ["EXPRESSION", {
793
                "args" : [["EXPRESSION", {
794
                  "args" : [["EXPRESSION", {
795
                    "args" : [["EXPRESSION", {
796
                      "args" : [["CALL", ["FUNCTION_CALL", {
797
                        "id" : ["SIMPLE_NAME", "mem_control_o"], "assoc_list" : [{
798
                          "actual_expr" : ["EXPRESSION", {
799
                            "args" : [["EXPRESSION", {
800
                              "args" : [["EXPRESSION", {
801
                                "args" : [["EXPRESSION", {
802
                                  "args" : [["CONSTANT_VALUE", {
803
                                    "value" : ["CST_LITERAL", "2"]}
804
                                  ]]}
805
                                ]]}
806
                              ]]}
807
                            ]]}
808
                          ]}
809
                        ]}
810
                      ]]]}
811
                    ]]}
812
                  ]]}
813
                ]]}
814
              ]}
815
            ]}
816
          ]}
817
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
818
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "FlashRp"], "rhs" : [{
819
            "expr" : [{
820
              "value" : ["EXPRESSION", {
821
                "args" : [["EXPRESSION", {
822
                  "args" : [["EXPRESSION", {
823
                    "args" : [["EXPRESSION", {
824
                      "args" : [["CONSTANT_VALUE", {
825
                        "value" : ["CST_LITERAL", "'0'"]}
826
                      ]]}
827
                    ]]}
828
                  ]]}
829
                ]]}
830
              ]}
831
            ], "cond" : ["EXPRESSION", {
832
              "id" : "=", "args" : [["EXPRESSION", {
833
                "args" : [["EXPRESSION", {
834
                  "args" : [["EXPRESSION", {
835
                    "args" : [["CALL", ["FUNCTION_CALL", {
836
                      "id" : ["SIMPLE_NAME", "mem_control_o"], "assoc_list" : [{
837
                        "actual_expr" : ["EXPRESSION", {
838
                          "args" : [["EXPRESSION", {
839
                            "args" : [["EXPRESSION", {
840
                              "args" : [["EXPRESSION", {
841
                                "args" : [["CONSTANT_VALUE", {
842
                                  "value" : ["CST_LITERAL", "3"]}
843
                                ]]}
844
                              ]]}
845
                            ]]}
846
                          ]]}
847
                        ]}
848
                      ]}
849
                    ]]]}
850
                  ]]}
851
                ]]}
852
              ], ["EXPRESSION", {
853
                "args" : [["EXPRESSION", {
854
                  "args" : [["EXPRESSION", {
855
                    "args" : [["CONSTANT_VALUE", {
856
                      "value" : ["CST_LITERAL", "'1'"]}
857
                    ]]}
858
                  ]]}
859
                ]]}
860
              ]]}
861
            ]}
862
          , {
863
            "expr" : [{
864
              "value" : ["EXPRESSION", {
865
                "args" : [["EXPRESSION", {
866
                  "args" : [["EXPRESSION", {
867
                    "args" : [["EXPRESSION", {
868
                      "args" : [["CONSTANT_VALUE", {
869
                        "value" : ["CST_LITERAL", "'1'"]}
870
                      ]]}
871
                    ]]}
872
                  ]]}
873
                ]]}
874
              ]}
875
            ]}
876
          ]}
877
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
878
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemAdv"], "rhs" : [{
879
            "expr" : [{
880
              "value" : ["EXPRESSION", {
881
                "args" : [["EXPRESSION", {
882
                  "args" : [["EXPRESSION", {
883
                    "args" : [["EXPRESSION", {
884
                      "args" : [["CONSTANT_VALUE", {
885
                        "value" : ["CST_LITERAL", "'0'"]}
886
                      ]]}
887
                    ]]}
888
                  ]]}
889
                ]]}
890
              ]}
891
            ], "cond" : ["EXPRESSION", {
892
              "id" : "or", "args" : [["EXPRESSION", {
893
                "id" : "=", "args" : [["EXPRESSION", {
894
                  "args" : [["EXPRESSION", {
895
                    "args" : [["EXPRESSION", {
896
                      "args" : [["CALL", ["SIMPLE_NAME", "mem_oe"]]]}
897
                    ]]}
898
                  ]]}
899
                ], ["EXPRESSION", {
900
                  "args" : [["EXPRESSION", {
901
                    "args" : [["EXPRESSION", {
902
                      "args" : [["CONSTANT_VALUE", {
903
                        "value" : ["CST_LITERAL", "'1'"]}
904
                      ]]}
905
                    ]]}
906
                  ]]}
907
                ]]}
908
              ], ["EXPRESSION", {
909
                "id" : "=", "args" : [["EXPRESSION", {
910
                  "args" : [["EXPRESSION", {
911
                    "args" : [["EXPRESSION", {
912
                      "args" : [["CALL", ["SIMPLE_NAME", "mem_we"]]]}
913
                    ]]}
914
                  ]]}
915
                ], ["EXPRESSION", {
916
                  "args" : [["EXPRESSION", {
917
                    "args" : [["EXPRESSION", {
918
                      "args" : [["CONSTANT_VALUE", {
919
                        "value" : ["CST_LITERAL", "'1'"]}
920
                      ]]}
921
                    ]]}
922
                  ]]}
923
                ]]}
924
              ]]}
925
            ]}
926
          , {
927
            "expr" : [{
928
              "value" : ["EXPRESSION", {
929
                "args" : [["EXPRESSION", {
930
                  "args" : [["EXPRESSION", {
931
                    "args" : [["EXPRESSION", {
932
                      "args" : [["CONSTANT_VALUE", {
933
                        "value" : ["CST_LITERAL", "'1'"]}
934
                      ]]}
935
                    ]]}
936
                  ]]}
937
                ]]}
938
              ]}
939
            ]}
940
          ]}
941
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
942
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem_oe"], "rhs" : [{
943
            "expr" : [{
944
              "value" : ["EXPRESSION", {
945
                "args" : [["EXPRESSION", {
946
                  "args" : [["EXPRESSION", {
947
                    "args" : [["EXPRESSION", {
948
                      "args" : [["CONSTANT_VALUE", {
949
                        "value" : ["CST_LITERAL", "'1'"]}
950
                      ]]}
951
                    ]]}
952
                  ]]}
953
                ]]}
954
              ]}
955
            ], "cond" : ["EXPRESSION", {
956
              "id" : "=", "args" : [["EXPRESSION", {
957
                "args" : [["EXPRESSION", {
958
                  "args" : [["EXPRESSION", {
959
                    "args" : [["CALL", ["SLICE_NAME", {
960
                      "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
961
                        "direction" : "downto", "from" : ["EXPRESSION", {
962
                          "args" : [["EXPRESSION", {
963
                            "args" : [["CONSTANT_VALUE", {
964
                              "value" : ["CST_LITERAL", "5"]}
965
                            ]]}
966
                          ]]}
967
                        ], "_to" : ["EXPRESSION", {
968
                          "args" : [["EXPRESSION", {
969
                            "args" : [["CONSTANT_VALUE", {
970
                              "value" : ["CST_LITERAL", "4"]}
971
                            ]]}
972
                          ]]}
973
                        ]}
974
                      ]}
975
                    ]]]}
976
                  ]]}
977
                ]]}
978
              ], ["EXPRESSION", {
979
                "args" : [["EXPRESSION", {
980
                  "args" : [["EXPRESSION", {
981
                    "args" : [["CONSTANT_VALUE", {
982
                      "value" : ["CST_LITERAL", "\"01\""]}
983
                    ]]}
984
                  ]]}
985
                ]]}
986
              ]]}
987
            ]}
988
          , {
989
            "expr" : [{
990
              "value" : ["EXPRESSION", {
991
                "args" : [["EXPRESSION", {
992
                  "args" : [["EXPRESSION", {
993
                    "args" : [["EXPRESSION", {
994
                      "args" : [["CONSTANT_VALUE", {
995
                        "value" : ["CST_LITERAL", "'0'"]}
996
                      ]]}
997
                    ]]}
998
                  ]]}
999
                ]]}
1000
              ]}
1001
            ]}
1002
          ]}
1003
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1004
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem_we"], "rhs" : [{
1005
            "expr" : [{
1006
              "value" : ["EXPRESSION", {
1007
                "args" : [["EXPRESSION", {
1008
                  "args" : [["EXPRESSION", {
1009
                    "args" : [["EXPRESSION", {
1010
                      "args" : [["CONSTANT_VALUE", {
1011
                        "value" : ["CST_LITERAL", "'1'"]}
1012
                      ]]}
1013
                    ]]}
1014
                  ]]}
1015
                ]]}
1016
              ]}
1017
            ], "cond" : ["EXPRESSION", {
1018
              "id" : "=", "args" : [["EXPRESSION", {
1019
                "args" : [["EXPRESSION", {
1020
                  "args" : [["EXPRESSION", {
1021
                    "args" : [["CALL", ["SLICE_NAME", {
1022
                      "id" : ["SIMPLE_NAME", "mem_control_o"], "range" : ["RANGE_WITH_DIRECTION", {
1023
                        "direction" : "downto", "from" : ["EXPRESSION", {
1024
                          "args" : [["EXPRESSION", {
1025
                            "args" : [["CONSTANT_VALUE", {
1026
                              "value" : ["CST_LITERAL", "5"]}
1027
                            ]]}
1028
                          ]]}
1029
                        ], "_to" : ["EXPRESSION", {
1030
                          "args" : [["EXPRESSION", {
1031
                            "args" : [["CONSTANT_VALUE", {
1032
                              "value" : ["CST_LITERAL", "4"]}
1033
                            ]]}
1034
                          ]]}
1035
                        ]}
1036
                      ]}
1037
                    ]]]}
1038
                  ]]}
1039
                ]]}
1040
              ], ["EXPRESSION", {
1041
                "args" : [["EXPRESSION", {
1042
                  "args" : [["EXPRESSION", {
1043
                    "args" : [["CONSTANT_VALUE", {
1044
                      "value" : ["CST_LITERAL", "\"10\""]}
1045
                    ]]}
1046
                  ]]}
1047
                ]]}
1048
              ]]}
1049
            ]}
1050
          , {
1051
            "expr" : [{
1052
              "value" : ["EXPRESSION", {
1053
                "args" : [["EXPRESSION", {
1054
                  "args" : [["EXPRESSION", {
1055
                    "args" : [["EXPRESSION", {
1056
                      "args" : [["CONSTANT_VALUE", {
1057
                        "value" : ["CST_LITERAL", "'0'"]}
1058
                      ]]}
1059
                    ]]}
1060
                  ]]}
1061
                ]]}
1062
              ]}
1063
            ]}
1064
          ]}
1065
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1066
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemOE"], "rhs" : [{
1067
            "expr" : [{
1068
              "value" : ["EXPRESSION", {
1069
                "args" : [["EXPRESSION", {
1070
                  "args" : [["EXPRESSION", {
1071
                    "args" : [["EXPRESSION", {
1072
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "mem_oe"]]]}
1073
                    ]]}
1074
                  ]]}
1075
                ]]}
1076
              ]}
1077
            ]}
1078
          ]}
1079
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1080
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemWR"], "rhs" : [{
1081
            "expr" : [{
1082
              "value" : ["EXPRESSION", {
1083
                "args" : [["EXPRESSION", {
1084
                  "args" : [["EXPRESSION", {
1085
                    "args" : [["EXPRESSION", {
1086
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "mem_we"]]]}
1087
                    ]]}
1088
                  ]]}
1089
                ]]}
1090
              ]}
1091
            ]}
1092
          ]}
1093
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1094
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem_data_o"], "rhs" : [{
1095
            "expr" : [{
1096
              "value" : ["EXPRESSION", {
1097
                "args" : [["EXPRESSION", {
1098
                  "args" : [["EXPRESSION", {
1099
                    "args" : [["EXPRESSION", {
1100
                      "args" : [["CALL", ["FUNCTION_CALL", {
1101
                        "id" : ["SIMPLE_NAME", "std_ulogic_vector"], "assoc_list" : [{
1102
                          "actual_designator" : ["SIMPLE_NAME", "MemDB"]}
1103
                        ]}
1104
                      ]]]}
1105
                    ]]}
1106
                  ]]}
1107
                ]]}
1108
              ]}
1109
            ], "cond" : ["EXPRESSION", {
1110
              "id" : "=", "args" : [["EXPRESSION", {
1111
                "args" : [["EXPRESSION", {
1112
                  "args" : [["EXPRESSION", {
1113
                    "args" : [["CALL", ["SIMPLE_NAME", "mem_oe"]]]}
1114
                  ]]}
1115
                ]]}
1116
              ], ["EXPRESSION", {
1117
                "args" : [["EXPRESSION", {
1118
                  "args" : [["EXPRESSION", {
1119
                    "args" : [["CONSTANT_VALUE", {
1120
                      "value" : ["CST_LITERAL", "'1'"]}
1121
                    ]]}
1122
                  ]]}
1123
                ]]}
1124
              ]]}
1125
            ]}
1126
          , {
1127
            "expr" : [{
1128
              "value" : ["EXPRESSION", {
1129
                "args" : [["EXPRESSION", {
1130
                  "args" : [["EXPRESSION", {
1131
                    "args" : [["EXPRESSION", {
1132
                      "args" : [["AGGREGATE", {
1133
                        "elems" : [{
1134
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
1135
                            "args" : [["EXPRESSION", {
1136
                              "args" : [["EXPRESSION", {
1137
                                "args" : [["EXPRESSION", {
1138
                                  "args" : [["CONSTANT_VALUE", {
1139
                                    "value" : ["CST_LITERAL", "'0'"]}
1140
                                  ]]}
1141
                                ]]}
1142
                              ]]}
1143
                            ]]}
1144
                          ]}
1145
                        ]}
1146
                      ]]}
1147
                    ]]}
1148
                  ]]}
1149
                ]]}
1150
              ]}
1151
            ]}
1152
          ]}
1153
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
1154
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "MemDB"], "rhs" : [{
1155
            "expr" : [{
1156
              "value" : ["EXPRESSION", {
1157
                "args" : [["EXPRESSION", {
1158
                  "args" : [["EXPRESSION", {
1159
                    "args" : [["EXPRESSION", {
1160
                      "args" : [["CALL", ["FUNCTION_CALL", {
1161
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "assoc_list" : [{
1162
                          "actual_designator" : ["SIMPLE_NAME", "mem_data_buf_i"]}
1163
                        ]}
1164
                      ]]]}
1165
                    ]]}
1166
                  ]]}
1167
                ]]}
1168
              ]}
1169
            ], "cond" : ["EXPRESSION", {
1170
              "id" : "=", "args" : [["EXPRESSION", {
1171
                "args" : [["EXPRESSION", {
1172
                  "args" : [["EXPRESSION", {
1173
                    "args" : [["CALL", ["SIMPLE_NAME", "mem_we"]]]}
1174
                  ]]}
1175
                ]]}
1176
              ], ["EXPRESSION", {
1177
                "args" : [["EXPRESSION", {
1178
                  "args" : [["EXPRESSION", {
1179
                    "args" : [["CONSTANT_VALUE", {
1180
                      "value" : ["CST_LITERAL", "'1'"]}
1181
                    ]]}
1182
                  ]]}
1183
                ]]}
1184
              ]]}
1185
            ]}
1186
          , {
1187
            "expr" : [{
1188
              "value" : ["EXPRESSION", {
1189
                "args" : [["EXPRESSION", {
1190
                  "args" : [["EXPRESSION", {
1191
                    "args" : [["EXPRESSION", {
1192
                      "args" : [["AGGREGATE", {
1193
                        "elems" : [{
1194
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
1195
                            "args" : [["EXPRESSION", {
1196
                              "args" : [["EXPRESSION", {
1197
                                "args" : [["EXPRESSION", {
1198
                                  "args" : [["CONSTANT_VALUE", {
1199
                                    "value" : ["CST_LITERAL", "'Z'"]}
1200
                                  ]]}
1201
                                ]]}
1202
                              ]]}
1203
                            ]]}
1204
                          ]}
1205
                        ]}
1206
                      ]]}
1207
                    ]]}
1208
                  ]]}
1209
                ]]}
1210
              ]}
1211
            ]}
1212
          ]}
1213
        ]]}
1214
      ]}
1215
    ]}
1216
  }