Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / bug20597 / 20597.json @ 2051e520

History | View | Annotate | Download (4.25 KB)

1 2051e520 Arnaud Dieumegard
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "e"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "a"], "entity" : ["IDENTIFIER", "e"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "operator_for_cmp"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
13
                "ranges" : [["RANGE_WITH_DIRECTION", {
14
                  "direction" : "downto", "from" : ["EXPRESSION", {
15
                    "args" : [["EXPRESSION", {
16
                      "args" : [["CONSTANT_VALUE", {
17
                        "value" : ["CST_LITERAL", "7"]}
18
                      ]]}
19
                    ]]}
20
                  ], "_to" : ["EXPRESSION", {
21
                    "args" : [["EXPRESSION", {
22
                      "args" : [["CONSTANT_VALUE", {
23
                        "value" : ["CST_LITERAL", "0"]}
24
                      ]]}
25
                    ]]}
26
                  ]}
27
                ]]}
28
              ]}
29
            , "init_val" : ["EXPRESSION", {
30
              "args" : [["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["AGGREGATE", {
34
                      "elems" : [{
35
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
36
                          "args" : [["EXPRESSION", {
37
                            "args" : [["EXPRESSION", {
38
                              "args" : [["EXPRESSION", {
39
                                "args" : [["CONSTANT_VALUE", {
40
                                  "value" : ["CST_LITERAL", "'X'"]}
41
                                ]]}
42
                              ]]}
43
                            ]]}
44
                          ]]}
45
                        ]}
46
                      ]}
47
                    ]]}
48
                  ]]}
49
                ]]}
50
              ]]}
51
            ]}
52
          ]}
53
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
54
          "active_sigs" : [["SIMPLE_NAME", "operator_for_cmp"]], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
55
            "guard" : ["EXPRESSION", {
56
              "args" : [["EXPRESSION", {
57
                "args" : [["EXPRESSION", {
58
                  "args" : [["EXPRESSION", {
59
                    "args" : [["CALL", ["SIMPLE_NAME", "operator_for_cmp"]]]}
60
                  ]]}
61
                ]]}
62
              ]]}
63
            ], "branches" : [{
64
              "when_cond" : [["EXPRESSION", {
65
                "args" : [["EXPRESSION", {
66
                  "args" : [["CONSTANT_VALUE", {
67
                    "value" : ["CST_LITERAL", "\"00000000\""]}
68
                  ]]}
69
                ]]}
70
              ]], "when_stmt" : [["NULL_STATEMENT", {
71
                }
72
              ]]}
73
            , {
74
              "when_cond" : [["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["CONSTANT_VALUE", {
77
                    "value" : ["CST_LITERAL", "\"00000001\""]}
78
                  ]]}
79
                ]]}
80
              ]], "when_stmt" : [["NULL_STATEMENT", {
81
                }
82
              ]]}
83
            , {
84
              "when_cond" : [["EXPRESSION", {
85
                "args" : [["EXPRESSION", {
86
                  "args" : [["CONSTANT_VALUE", {
87
                    "value" : ["CST_LITERAL", "\"00000002\""]}
88
                  ]]}
89
                ]]}
90
              ]], "when_stmt" : [["NULL_STATEMENT", {
91
                }
92
              ]]}
93
            , {
94
              "when_cond" : [["EXPRESSION", {
95
                "args" : [["EXPRESSION", {
96
                  "args" : [["CONSTANT_VALUE", {
97
                    "value" : ["CST_LITERAL", "\"00000003\""]}
98
                  ]]}
99
                ]]}
100
              ]], "when_stmt" : []}
101
            , {
102
              "when_cond" : [["OTHERS"]], "when_stmt" : [["NULL_STATEMENT", {
103
                }
104
              ]]}
105
            ]}
106
          ]]}
107
        ]]}
108
      ]}
109
    ]}
110
  }