Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / vests / vhdl-93 / billowitch / compliant / tc1166.json @ 3fd18385

History | View | Annotate | Download (8.81 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c06s06b00x00p02n01i01166ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c06s06b00x00p02n01i01166arch"], "entity" : ["IDENTIFIER", "c06s06b00x00p02n01i01166ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "definition" : ["TYPE_DECLARATION", {
12
              "name" : ["IDENTIFIER", "A1"], "definition" : ["ARRAY_TYPE_DEFINITION", {
13
                "const" : ["INDEX_CONSTRAINT", {
14
                  "ranges" : [["RANGE_WITH_DIRECTION", {
15
                    "direction" : "to", "from" : ["EXPRESSION", {
16
                      "args" : [["EXPRESSION", {
17
                        "args" : [["CONSTANT_VALUE", {
18
                          "value" : ["CST_LITERAL", "1"]}
19
                        ]]}
20
                      ]]}
21
                    ], "_to" : ["EXPRESSION", {
22
                      "args" : [["EXPRESSION", {
23
                        "args" : [["CONSTANT_VALUE", {
24
                          "value" : ["CST_LITERAL", "2"]}
25
                        ]]}
26
                      ]]}
27
                    ]}
28
                  ]]}
29
                ], "definition" : {
30
                  "name" : ["SIMPLE_NAME", "BOOLEAN"]}
31
                }
32
              ]}
33
            ]}
34
          , {
35
            "definition" : ["TYPE_DECLARATION", {
36
              "name" : ["IDENTIFIER", "A2"], "definition" : ["ARRAY_TYPE_DEFINITION", {
37
                "const" : ["INDEX_CONSTRAINT", {
38
                  "ranges" : [["RANGE_WITH_DIRECTION", {
39
                    "direction" : "to", "from" : ["EXPRESSION", {
40
                      "args" : [["EXPRESSION", {
41
                        "args" : [["CONSTANT_VALUE", {
42
                          "value" : ["CST_LITERAL", "1"]}
43
                        ]]}
44
                      ]]}
45
                    ], "_to" : ["EXPRESSION", {
46
                      "args" : [["EXPRESSION", {
47
                        "args" : [["CONSTANT_VALUE", {
48
                          "value" : ["CST_LITERAL", "2"]}
49
                        ]]}
50
                      ]]}
51
                    ]}
52
                  ]]}
53
                ], "definition" : {
54
                  "name" : ["SIMPLE_NAME", "A1"]}
55
                }
56
              ]}
57
            ]}
58
          , {
59
            "declaration" : ["VARIABLE_DECLARATION", {
60
              "names" : [["IDENTIFIER", "V"]], "typ" : {
61
                "name" : ["SIMPLE_NAME", "A2"]}
62
              }
63
            ]}
64
          , {
65
            "declaration" : ["VARIABLE_DECLARATION", {
66
              "names" : [["IDENTIFIER", "k"]], "typ" : {
67
                "name" : ["SIMPLE_NAME", "integer"]}
68
              , "init_val" : ["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["EXPRESSION", {
72
                      "args" : [["CONSTANT_VALUE", {
73
                        "value" : ["CST_LITERAL", "0"]}
74
                      ]]}
75
                    ]]}
76
                  ]]}
77
                ]]}
78
              ]}
79
            ]}
80
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
81
            "if_cases" : [{
82
              "if_cond" : ["EXPRESSION", {
83
                "id" : "=", "args" : [["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["CALL", ["ATTRIBUTE_NAME", {
87
                        "id" : ["FUNCTION_CALL", {
88
                          "id" : ["SIMPLE_NAME", "V"], "assoc_list" : [{
89
                            "actual_expr" : ["EXPRESSION", {
90
                              "args" : [["EXPRESSION", {
91
                                "args" : [["EXPRESSION", {
92
                                  "args" : [["EXPRESSION", {
93
                                    "args" : [["CONSTANT_VALUE", {
94
                                      "value" : ["CST_LITERAL", "1"]}
95
                                    ]]}
96
                                  ]]}
97
                                ]]}
98
                              ]]}
99
                            ]}
100
                          ]}
101
                        ], "designator" : ["SIMPLE_NAME", "HIGH"]}
102
                      ]]]}
103
                    ]]}
104
                  ]]}
105
                ], ["EXPRESSION", {
106
                  "args" : [["EXPRESSION", {
107
                    "args" : [["EXPRESSION", {
108
                      "args" : [["CONSTANT_VALUE", {
109
                        "value" : ["CST_LITERAL", "2"]}
110
                      ]]}
111
                    ]]}
112
                  ]]}
113
                ]]}
114
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
115
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["EXPRESSION", {
118
                      "args" : [["EXPRESSION", {
119
                        "args" : [["CONSTANT_VALUE", {
120
                          "value" : ["CST_LITERAL", "5"]}
121
                        ]]}
122
                      ]]}
123
                    ]]}
124
                  ]]}
125
                ]}
126
              ]]}
127
            ]}
128
          ], ["ASSERTION_STATEMENT", {
129
            "cond" : ["EXPRESSION", {
130
              "args" : [["EXPRESSION", {
131
                "args" : [["EXPRESSION", {
132
                  "args" : [["EXPRESSION", {
133
                    "id" : "NOT", "args" : [["EXPRESSION", {
134
                      "id" : "=", "args" : [["EXPRESSION", {
135
                        "args" : [["EXPRESSION", {
136
                          "args" : [["EXPRESSION", {
137
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
138
                          ]]}
139
                        ]]}
140
                      ], ["EXPRESSION", {
141
                        "args" : [["EXPRESSION", {
142
                          "args" : [["EXPRESSION", {
143
                            "args" : [["CONSTANT_VALUE", {
144
                              "value" : ["CST_LITERAL", "5"]}
145
                            ]]}
146
                          ]]}
147
                        ]]}
148
                      ]]}
149
                    ]]}
150
                  ]]}
151
                ]]}
152
              ]]}
153
            ], "report" : ["EXPRESSION", {
154
              "args" : [["EXPRESSION", {
155
                "args" : [["EXPRESSION", {
156
                  "args" : [["EXPRESSION", {
157
                    "args" : [["CONSTANT_VALUE", {
158
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c06s06b00x00p02n01i01166\""]}
159
                    ]]}
160
                  ]]}
161
                ]]}
162
              ]]}
163
            ], "severity" : ["EXPRESSION", {
164
              "args" : [["EXPRESSION", {
165
                "args" : [["EXPRESSION", {
166
                  "args" : [["EXPRESSION", {
167
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
168
                  ]]}
169
                ]]}
170
              ]]}
171
            ]}
172
          ], ["ASSERTION_STATEMENT", {
173
            "cond" : ["EXPRESSION", {
174
              "args" : [["EXPRESSION", {
175
                "args" : [["EXPRESSION", {
176
                  "args" : [["EXPRESSION", {
177
                    "args" : [["EXPRESSION", {
178
                      "id" : "=", "args" : [["EXPRESSION", {
179
                        "args" : [["EXPRESSION", {
180
                          "args" : [["EXPRESSION", {
181
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
182
                          ]]}
183
                        ]]}
184
                      ], ["EXPRESSION", {
185
                        "args" : [["EXPRESSION", {
186
                          "args" : [["EXPRESSION", {
187
                            "args" : [["CONSTANT_VALUE", {
188
                              "value" : ["CST_LITERAL", "5"]}
189
                            ]]}
190
                          ]]}
191
                        ]]}
192
                      ]]}
193
                    ]]}
194
                  ]]}
195
                ]]}
196
              ]]}
197
            ], "report" : ["EXPRESSION", {
198
              "args" : [["EXPRESSION", {
199
                "args" : [["EXPRESSION", {
200
                  "args" : [["EXPRESSION", {
201
                    "args" : [["CONSTANT_VALUE", {
202
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c06s06b00x00p02n01i01166 - The prefix of an attribute name may be an indexed name.\""]}
203
                    ]]}
204
                  ]]}
205
                ]]}
206
              ]]}
207
            ], "severity" : ["EXPRESSION", {
208
              "args" : [["EXPRESSION", {
209
                "args" : [["EXPRESSION", {
210
                  "args" : [["EXPRESSION", {
211
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
212
                  ]]}
213
                ]]}
214
              ]]}
215
            ]}
216
          ], ["WAIT_STATEMENT"]]}
217
        ]]}
218
      ]}
219
    ]}
220
  }