Project

General

Profile

Revision 47142ed7 vhdl_json/vhdl_files/2-exportOK/valencia/d-latch-and-gate.json

View differences:

vhdl_json/vhdl_files/2-exportOK/valencia/d-latch-and-gate.json
14 14
      ]}
15 15
    , {
16 16
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
17
        "name" : ["IDENTIFIER", "behav"], "entity" : ["IDENTIFIER", "reg4"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
17
        "name" : ["IDENTIFIER", "behav"], "entity" : ["IDENTIFIER", "reg4"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
18
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "q1"], "rhs" : [{
19
            "expr" : [{
20
              "value" : ["EXPRESSION", {
21
                "args" : [["EXPRESSION", {
22
                  "args" : [["EXPRESSION", {
23
                    "args" : [["EXPRESSION", {
24
                      "args" : [["CONSTANT_VALUE", {
25
                        "value" : ["CST_LITERAL", "'1'"]}
26
                      ]]}
27
                    ]]}
28
                  ]]}
29
                ]]}
30
              ]}
31
            ]}
32
          ]}
33
        ], ["PROCESS_STATEMENT", {
18 34
          "id" : ["IDENTIFIER", "storage"], "PROCESS_DECLARATIVE_PART" : [{
19 35
            "declaration" : ["VARIABLE_DECLARATION", {
20 36
              "names" : [["IDENTIFIER", "stored_d0"], ["IDENTIFIER", "stored_d1"], ["IDENTIFIER", "stored_d2"], ["IDENTIFIER", "stored_d3"]], "typ" : {
......
187 203
                ]]}
188 204
              ]}
189 205
            ]}
190
          ], ["WAIT_STATEMENT"]]}
206
          ]]}
191 207
        ]]}
192 208
      ]}
193 209
    , {
......
247 263
                ]}
248 264
              ]]}
249 265
            ]}
250
          ], ["WAIT_STATEMENT"]]}
266
          ]]}
251 267
        ]]}
252 268
      ]}
253 269
    , {
......
297 313
                ]]}
298 314
              ]}
299 315
            ]}
300
          ], ["WAIT_STATEMENT"]]}
316
          ]]}
301 317
        ]]}
302 318
      ]}
303 319
    , {
......
308 324
              "name" : ["SIMPLE_NAME", "bit"]}
309 325
            }
310 326
          ]}
327
        , {
328
          "declaration" : ["SIGNAL_DECLARATION", {
329
            "names" : [["IDENTIFIER", "mem"]], "typ" : {
330
              "name" : ["SIMPLE_NAME", "bit"]}
331
            }
332
          ]}
311 333
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
312 334
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "q0"], "rhs" : [{
313 335
            "expr" : [{
314 336
              "value" : ["EXPRESSION", {
315
                "args" : [["EXPRESSION", {
337
                "id" : "and", "args" : [["EXPRESSION", {
316 338
                  "args" : [["EXPRESSION", {
317 339
                    "args" : [["EXPRESSION", {
318
                      "id" : "&", "args" : [["EXPRESSION", {
340
                      "args" : [["EXPRESSION", {
319 341
                        "args" : [["CALL", ["SIMPLE_NAME", "d0"]]]}
320
                      ], ["EXPRESSION", {
321
                        "args" : [["CALL", ["SIMPLE_NAME", "d1"]]]}
342
                      ]]}
343
                    ]]}
344
                  ]]}
345
                ], ["EXPRESSION", {
346
                  "args" : [["EXPRESSION", {
347
                    "args" : [["EXPRESSION", {
348
                      "args" : [["EXPRESSION", {
349
                        "args" : [["CALL", ["SIMPLE_NAME", "mem"]]]}
322 350
                      ]]}
323 351
                    ]]}
324 352
                  ]]}
......
327 355
            ]}
328 356
          ]}
329 357
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
330
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "q1"], "rhs" : [{
358
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "mem"], "rhs" : [{
331 359
            "expr" : [{
332 360
              "value" : ["EXPRESSION", {
333 361
                "args" : [["EXPRESSION", {
334 362
                  "args" : [["EXPRESSION", {
335 363
                    "args" : [["EXPRESSION", {
336
                      "id" : "&", "args" : [["EXPRESSION", {
337
                        "args" : [["CALL", ["SIMPLE_NAME", "d2"]]]}
338
                      ], ["EXPRESSION", {
364
                      "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "d1"]]]}
365
                    ]]}
366
                  ]]}
367
                ]]}
368
              ]}
369
            ]}
370
          ]}
371
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
372
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "q1"], "rhs" : [{
373
            "expr" : [{
374
              "value" : ["EXPRESSION", {
375
                "id" : "and", "args" : [["EXPRESSION", {
376
                  "id" : "and", "args" : [["EXPRESSION", {
377
                    "args" : [["EXPRESSION", {
378
                      "args" : [["EXPRESSION", {
379
                        "args" : [["EXPRESSION", {
380
                          "args" : [["CALL", ["SIMPLE_NAME", "d2"]]]}
381
                        ]]}
382
                      ]]}
383
                    ]]}
384
                  ], ["EXPRESSION", {
385
                    "args" : [["EXPRESSION", {
386
                      "args" : [["EXPRESSION", {
387
                        "args" : [["EXPRESSION", {
388
                          "args" : [["EXPRESSION", {
389
                            "args" : [["EXPRESSION", {
390
                              "args" : [["EXPRESSION", {
391
                                "args" : [["EXPRESSION", {
392
                                  "id" : "not", "args" : [["CALL", ["SIMPLE_NAME", "mem"]]]}
393
                                ]]}
394
                              ]]}
395
                            ]]}
396
                          ]]}
397
                        ]]}
398
                      ]]}
399
                    ]]}
400
                  ]]}
401
                ], ["EXPRESSION", {
402
                  "args" : [["EXPRESSION", {
403
                    "args" : [["EXPRESSION", {
404
                      "args" : [["EXPRESSION", {
339 405
                        "args" : [["CALL", ["SIMPLE_NAME", "d3"]]]}
340 406
                      ]]}
341 407
                    ]]}
......
354 420
          ]}
355 421
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
356 422
          "name" : ["IDENTIFIER", "bit1"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "d_latch"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "basic"], "port_map" : [{
357
            "actual_designator" : ["SIMPLE_NAME", "d1"]}
423
            "formal_name" : ["SIMPLE_NAME", "q"], "actual_designator" : ["SIMPLE_NAME", "q1"]}
358 424
          , {
359
            "actual_designator" : ["SIMPLE_NAME", "int_clk"]}
425
            "formal_name" : ["SIMPLE_NAME", "d"], "actual_designator" : ["SIMPLE_NAME", "d1"]}
360 426
          , {
361
            "actual_designator" : ["SIMPLE_NAME", "q1"]}
427
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "int_clk"]}
362 428
          ]}
363 429
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
364 430
          "name" : ["IDENTIFIER", "bit2"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "d_latch"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "basic"], "port_map" : [{

Also available in: Unified diff