Project

General

Profile

Revision 3fd18385 vhdl_json/vhdl_files/2-exportOK/cnes_guidelines/rule/data/CNE_04500_good.json

View differences:

vhdl_json/vhdl_files/2-exportOK/cnes_guidelines/rule/data/CNE_04500_good.json
235 235
                        "args" : [["EXPRESSION", {
236 236
                          "args" : [["EXPRESSION", {
237 237
                            "args" : [["EXPRESSION", {
238
                              "args" : [["CALL", ["FUNCTION_CALL", {
239
                                "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
240
                                  "actual_designator" : ["SIMPLE_NAME", "i_Clock"]}
241
                                ]}
238
                              "args" : [["CALL", ["INDEXED_NAME", {
239
                                "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
240
                                  "args" : [["EXPRESSION", {
241
                                    "args" : [["EXPRESSION", {
242
                                      "args" : [["EXPRESSION", {
243
                                        "args" : [["CALL", ["SIMPLE_NAME", "i_Clock"]]]}
244
                                      ]]}
245
                                    ]]}
246
                                  ]]}
247
                                ]]}
242 248
                              ]]]}
243 249
                            ]]}
244 250
                          ]]}
......
265 271
                    "args" : [["EXPRESSION", {
266 272
                      "args" : [["EXPRESSION", {
267 273
                        "args" : [["EXPRESSION", {
268
                          "args" : [["CALL", ["FUNCTION_CALL", {
269
                            "id" : ["SIMPLE_NAME", "Data_Reg"], "assoc_list" : [{
270
                              "actual_expr" : ["EXPRESSION", {
274
                          "args" : [["CALL", ["INDEXED_NAME", {
275
                            "id" : ["SIMPLE_NAME", "Data_Reg"], "exprs" : [["EXPRESSION", {
276
                              "args" : [["EXPRESSION", {
271 277
                                "args" : [["EXPRESSION", {
272 278
                                  "args" : [["EXPRESSION", {
273
                                    "args" : [["EXPRESSION", {
274
                                      "args" : [["CONSTANT_VALUE", {
275
                                        "value" : ["CST_LITERAL", "2"]}
276
                                      ]]}
279
                                    "args" : [["CONSTANT_VALUE", {
280
                                      "value" : ["CST_LITERAL", "2"]}
277 281
                                    ]]}
278 282
                                  ]]}
279 283
                                ]]}
280
                              ]}
281
                            ]}
284
                              ]]}
285
                            ]]}
282 286
                          ]]]}
283 287
                        ]]}
284 288
                      ]]}
......
303 307
                    "args" : [["EXPRESSION", {
304 308
                      "args" : [["EXPRESSION", {
305 309
                        "args" : [["EXPRESSION", {
306
                          "args" : [["CALL", ["FUNCTION_CALL", {
307
                            "id" : ["SIMPLE_NAME", "Data_Reg"], "assoc_list" : [{
308
                              "actual_expr" : ["EXPRESSION", {
310
                          "args" : [["CALL", ["INDEXED_NAME", {
311
                            "id" : ["SIMPLE_NAME", "Data_Reg"], "exprs" : [["EXPRESSION", {
312
                              "args" : [["EXPRESSION", {
309 313
                                "args" : [["EXPRESSION", {
310 314
                                  "args" : [["EXPRESSION", {
311
                                    "args" : [["EXPRESSION", {
312
                                      "args" : [["CONSTANT_VALUE", {
313
                                        "value" : ["CST_LITERAL", "1"]}
314
                                      ]]}
315
                                    "args" : [["CONSTANT_VALUE", {
316
                                      "value" : ["CST_LITERAL", "1"]}
315 317
                                    ]]}
316 318
                                  ]]}
317 319
                                ]]}
318
                              ]}
319
                            ]}
320
                              ]]}
321
                            ]]}
320 322
                          ]]]}
321 323
                        ]]}
322 324
                      ]]}
......
341 343
                    "args" : [["EXPRESSION", {
342 344
                      "args" : [["EXPRESSION", {
343 345
                        "args" : [["EXPRESSION", {
344
                          "args" : [["CALL", ["FUNCTION_CALL", {
345
                            "id" : ["SIMPLE_NAME", "Data_Reg"], "assoc_list" : [{
346
                              "actual_expr" : ["EXPRESSION", {
346
                          "args" : [["CALL", ["INDEXED_NAME", {
347
                            "id" : ["SIMPLE_NAME", "Data_Reg"], "exprs" : [["EXPRESSION", {
348
                              "args" : [["EXPRESSION", {
347 349
                                "args" : [["EXPRESSION", {
348 350
                                  "args" : [["EXPRESSION", {
349
                                    "args" : [["EXPRESSION", {
350
                                      "args" : [["CONSTANT_VALUE", {
351
                                        "value" : ["CST_LITERAL", "0"]}
352
                                      ]]}
351
                                    "args" : [["CONSTANT_VALUE", {
352
                                      "value" : ["CST_LITERAL", "0"]}
353 353
                                    ]]}
354 354
                                  ]]}
355 355
                                ]]}
356
                              ]}
357
                            ]}
356
                              ]]}
357
                            ]]}
358 358
                          ]]]}
359 359
                        ]]}
360 360
                      ]]}
......
395 395
                "args" : [["EXPRESSION", {
396 396
                  "args" : [["EXPRESSION", {
397 397
                    "args" : [["EXPRESSION", {
398
                      "args" : [["CALL", ["FUNCTION_CALL", {
399
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "assoc_list" : [{
400
                          "actual_expr" : ["EXPRESSION", {
398
                      "args" : [["CALL", ["INDEXED_NAME", {
399
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
400
                          "args" : [["EXPRESSION", {
401 401
                            "args" : [["EXPRESSION", {
402 402
                              "args" : [["EXPRESSION", {
403
                                "args" : [["EXPRESSION", {
404
                                  "id" : "+", "args" : [["EXPRESSION", {
405
                                    "args" : [["CALL", ["FUNCTION_CALL", {
406
                                      "id" : ["SIMPLE_NAME", "unsigned"], "assoc_list" : [{
407
                                        "actual_expr" : ["EXPRESSION", {
403
                                "id" : "+", "args" : [["EXPRESSION", {
404
                                  "args" : [["CALL", ["INDEXED_NAME", {
405
                                    "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
406
                                      "args" : [["EXPRESSION", {
407
                                        "args" : [["EXPRESSION", {
408 408
                                          "args" : [["EXPRESSION", {
409
                                            "args" : [["EXPRESSION", {
410
                                              "args" : [["EXPRESSION", {
411
                                                "id" : "&", "args" : [["EXPRESSION", {
412
                                                  "args" : [["CONSTANT_VALUE", {
413
                                                    "value" : ["CST_LITERAL", "'0'"]}
414
                                                  ]]}
415
                                                ], ["EXPRESSION", {
416
                                                  "args" : [["CALL", ["FUNCTION_CALL", {
417
                                                    "id" : ["SIMPLE_NAME", "Data_Reg"], "assoc_list" : [{
418
                                                      "actual_expr" : ["EXPRESSION", {
419
                                                        "args" : [["EXPRESSION", {
420
                                                          "args" : [["EXPRESSION", {
421
                                                            "args" : [["EXPRESSION", {
422
                                                              "args" : [["CONSTANT_VALUE", {
423
                                                                "value" : ["CST_LITERAL", "3"]}
424
                                                              ]]}
425
                                                            ]]}
426
                                                          ]]}
409
                                            "id" : "&", "args" : [["EXPRESSION", {
410
                                              "args" : [["CONSTANT_VALUE", {
411
                                                "value" : ["CST_LITERAL", "'0'"]}
412
                                              ]]}
413
                                            ], ["EXPRESSION", {
414
                                              "args" : [["CALL", ["INDEXED_NAME", {
415
                                                "id" : ["SIMPLE_NAME", "Data_Reg"], "exprs" : [["EXPRESSION", {
416
                                                  "args" : [["EXPRESSION", {
417
                                                    "args" : [["EXPRESSION", {
418
                                                      "args" : [["EXPRESSION", {
419
                                                        "args" : [["CONSTANT_VALUE", {
420
                                                          "value" : ["CST_LITERAL", "3"]}
427 421
                                                        ]]}
428
                                                      ]}
429
                                                    ]}
430
                                                  ]]]}
422
                                                      ]]}
423
                                                    ]]}
424
                                                  ]]}
431 425
                                                ]]}
432
                                              ]]}
426
                                              ]]]}
433 427
                                            ]]}
434 428
                                          ]]}
435
                                        ]}
436
                                      ]}
437
                                    ]]]}
438
                                  ], ["EXPRESSION", {
439
                                    "args" : [["CALL", ["FUNCTION_CALL", {
440
                                      "id" : ["SIMPLE_NAME", "unsigned"], "assoc_list" : [{
441
                                        "actual_expr" : ["EXPRESSION", {
429
                                        ]]}
430
                                      ]]}
431
                                    ]]}
432
                                  ]]]}
433
                                ], ["EXPRESSION", {
434
                                  "args" : [["CALL", ["INDEXED_NAME", {
435
                                    "id" : ["SIMPLE_NAME", "unsigned"], "exprs" : [["EXPRESSION", {
436
                                      "args" : [["EXPRESSION", {
437
                                        "args" : [["EXPRESSION", {
442 438
                                          "args" : [["EXPRESSION", {
443
                                            "args" : [["EXPRESSION", {
444
                                              "args" : [["EXPRESSION", {
445
                                                "id" : "&", "args" : [["EXPRESSION", {
446
                                                  "args" : [["CONSTANT_VALUE", {
447
                                                    "value" : ["CST_LITERAL", "'0'"]}
448
                                                  ]]}
449
                                                ], ["EXPRESSION", {
450
                                                  "args" : [["CALL", ["FUNCTION_CALL", {
451
                                                    "id" : ["SIMPLE_NAME", "Data_Reg"], "assoc_list" : [{
452
                                                      "actual_expr" : ["EXPRESSION", {
453
                                                        "args" : [["EXPRESSION", {
454
                                                          "args" : [["EXPRESSION", {
455
                                                            "args" : [["EXPRESSION", {
456
                                                              "args" : [["CONSTANT_VALUE", {
457
                                                                "value" : ["CST_LITERAL", "2"]}
458
                                                              ]]}
459
                                                            ]]}
460
                                                          ]]}
439
                                            "id" : "&", "args" : [["EXPRESSION", {
440
                                              "args" : [["CONSTANT_VALUE", {
441
                                                "value" : ["CST_LITERAL", "'0'"]}
442
                                              ]]}
443
                                            ], ["EXPRESSION", {
444
                                              "args" : [["CALL", ["INDEXED_NAME", {
445
                                                "id" : ["SIMPLE_NAME", "Data_Reg"], "exprs" : [["EXPRESSION", {
446
                                                  "args" : [["EXPRESSION", {
447
                                                    "args" : [["EXPRESSION", {
448
                                                      "args" : [["EXPRESSION", {
449
                                                        "args" : [["CONSTANT_VALUE", {
450
                                                          "value" : ["CST_LITERAL", "2"]}
461 451
                                                        ]]}
462
                                                      ]}
463
                                                    ]}
464
                                                  ]]]}
452
                                                      ]]}
453
                                                    ]]}
454
                                                  ]]}
465 455
                                                ]]}
466
                                              ]]}
456
                                              ]]]}
467 457
                                            ]]}
468 458
                                          ]]}
469
                                        ]}
470
                                      ]}
471
                                    ]]]}
472
                                  ]]}
459
                                        ]]}
460
                                      ]]}
461
                                    ]]}
462
                                  ]]]}
473 463
                                ]]}
474 464
                              ]]}
475 465
                            ]]}
476
                          ]}
477
                        ]}
466
                          ]]}
467
                        ]]}
478 468
                      ]]]}
479 469
                    ]]}
480 470
                  ]]}
......
545 535
                        "args" : [["EXPRESSION", {
546 536
                          "args" : [["EXPRESSION", {
547 537
                            "args" : [["EXPRESSION", {
548
                              "args" : [["CALL", ["FUNCTION_CALL", {
549
                                "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
550
                                  "actual_designator" : ["SIMPLE_NAME", "i_Clock"]}
551
                                ]}
538
                              "args" : [["CALL", ["INDEXED_NAME", {
539
                                "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
540
                                  "args" : [["EXPRESSION", {
541
                                    "args" : [["EXPRESSION", {
542
                                      "args" : [["EXPRESSION", {
543
                                        "args" : [["CALL", ["SIMPLE_NAME", "i_Clock"]]]}
544
                                      ]]}
545
                                    ]]}
546
                                  ]]}
547
                                ]]}
552 548
                              ]]]}
553 549
                            ]]}
554 550
                          ]]}

Also available in: Unified diff