Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (9.05 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s08b00x00p04n03i01486ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s08b00x00p04n03i01486arch"], "entity" : ["IDENTIFIER", "c08s08b00x00p04n03i01486ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "m"]], "typ" : {
13
                "name" : ["SIMPLE_NAME", "character"]}
14
              , "init_val" : ["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["CONSTANT_VALUE", {
19
                        "value" : ["CST_LITERAL", "'j'"]}
20
                      ]]}
21
                    ]]}
22
                  ]]}
23
                ]]}
24
              ]}
25
            ]}
26
          , {
27
            "declaration" : ["VARIABLE_DECLARATION", {
28
              "names" : [["IDENTIFIER", "k"]], "typ" : {
29
                "name" : ["SIMPLE_NAME", "integer"]}
30
              , "init_val" : ["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["EXPRESSION", {
34
                      "args" : [["CONSTANT_VALUE", {
35
                        "value" : ["CST_LITERAL", "0"]}
36
                      ]]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]}
41
            ]}
42
          ], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
43
            "guard" : ["EXPRESSION", {
44
              "args" : [["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["CALL", ["SIMPLE_NAME", "m"]]]}
48
                  ]]}
49
                ]]}
50
              ]]}
51
            ], "branches" : [{
52
              "when_cond" : [["EXPRESSION", {
53
                "args" : [["EXPRESSION", {
54
                  "args" : [["CONSTANT_VALUE", {
55
                    "value" : ["CST_LITERAL", "'a'"]}
56
                  ]]}
57
                ]]}
58
              ], ["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["CONSTANT_VALUE", {
61
                    "value" : ["CST_LITERAL", "'b'"]}
62
                  ]]}
63
                ]]}
64
              ], ["EXPRESSION", {
65
                "args" : [["EXPRESSION", {
66
                  "args" : [["CONSTANT_VALUE", {
67
                    "value" : ["CST_LITERAL", "'c'"]}
68
                  ]]}
69
                ]]}
70
              ], ["EXPRESSION", {
71
                "args" : [["EXPRESSION", {
72
                  "args" : [["CONSTANT_VALUE", {
73
                    "value" : ["CST_LITERAL", "'d'"]}
74
                  ]]}
75
                ]]}
76
              ], ["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["CONSTANT_VALUE", {
79
                    "value" : ["CST_LITERAL", "'j'"]}
80
                  ]]}
81
                ]]}
82
              ]], "when_stmt" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
83
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["EXPRESSION", {
87
                        "args" : [["CONSTANT_VALUE", {
88
                          "value" : ["CST_LITERAL", "5"]}
89
                        ]]}
90
                      ]]}
91
                    ]]}
92
                  ]]}
93
                ]}
94
              ]]}
95
            , {
96
              "when_cond" : [["EXPRESSION", {
97
                "args" : [["EXPRESSION", {
98
                  "args" : [["CONSTANT_VALUE", {
99
                    "value" : ["CST_LITERAL", "'e'"]}
100
                  ]]}
101
                ]]}
102
              ], ["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["CONSTANT_VALUE", {
105
                    "value" : ["CST_LITERAL", "'f'"]}
106
                  ]]}
107
                ]]}
108
              ], ["EXPRESSION", {
109
                "args" : [["EXPRESSION", {
110
                  "args" : [["CONSTANT_VALUE", {
111
                    "value" : ["CST_LITERAL", "'g'"]}
112
                  ]]}
113
                ]]}
114
              ], ["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["CONSTANT_VALUE", {
117
                    "value" : ["CST_LITERAL", "'h'"]}
118
                  ]]}
119
                ]]}
120
              ], ["EXPRESSION", {
121
                "args" : [["EXPRESSION", {
122
                  "args" : [["CONSTANT_VALUE", {
123
                    "value" : ["CST_LITERAL", "'i'"]}
124
                  ]]}
125
                ]]}
126
              ]], "when_stmt" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
127
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["EXPRESSION", {
130
                      "args" : [["EXPRESSION", {
131
                        "args" : [["CONSTANT_VALUE", {
132
                          "value" : ["CST_LITERAL", "4"]}
133
                        ]]}
134
                      ]]}
135
                    ]]}
136
                  ]]}
137
                ]}
138
              ]]}
139
            , {
140
              "when_cond" : [["OTHERS"]], "when_stmt" : [["NULL_STATEMENT", {
141
                }
142
              ]]}
143
            ]}
144
          ], ["ASSERTION_STATEMENT", {
145
            "cond" : ["EXPRESSION", {
146
              "args" : [["EXPRESSION", {
147
                "args" : [["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "id" : "NOT", "args" : [["EXPRESSION", {
150
                      "id" : "=", "args" : [["EXPRESSION", {
151
                        "args" : [["EXPRESSION", {
152
                          "args" : [["EXPRESSION", {
153
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
154
                          ]]}
155
                        ]]}
156
                      ], ["EXPRESSION", {
157
                        "args" : [["EXPRESSION", {
158
                          "args" : [["EXPRESSION", {
159
                            "args" : [["CONSTANT_VALUE", {
160
                              "value" : ["CST_LITERAL", "5"]}
161
                            ]]}
162
                          ]]}
163
                        ]]}
164
                      ]]}
165
                    ]]}
166
                  ]]}
167
                ]]}
168
              ]]}
169
            ], "report" : ["EXPRESSION", {
170
              "args" : [["EXPRESSION", {
171
                "args" : [["EXPRESSION", {
172
                  "args" : [["EXPRESSION", {
173
                    "args" : [["CONSTANT_VALUE", {
174
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s08b00x00p04n03i01486\""]}
175
                    ]]}
176
                  ]]}
177
                ]]}
178
              ]]}
179
            ], "severity" : ["EXPRESSION", {
180
              "args" : [["EXPRESSION", {
181
                "args" : [["EXPRESSION", {
182
                  "args" : [["EXPRESSION", {
183
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
184
                  ]]}
185
                ]]}
186
              ]]}
187
            ]}
188
          ], ["ASSERTION_STATEMENT", {
189
            "cond" : ["EXPRESSION", {
190
              "args" : [["EXPRESSION", {
191
                "args" : [["EXPRESSION", {
192
                  "args" : [["EXPRESSION", {
193
                    "args" : [["EXPRESSION", {
194
                      "id" : "=", "args" : [["EXPRESSION", {
195
                        "args" : [["EXPRESSION", {
196
                          "args" : [["EXPRESSION", {
197
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
198
                          ]]}
199
                        ]]}
200
                      ], ["EXPRESSION", {
201
                        "args" : [["EXPRESSION", {
202
                          "args" : [["EXPRESSION", {
203
                            "args" : [["CONSTANT_VALUE", {
204
                              "value" : ["CST_LITERAL", "5"]}
205
                            ]]}
206
                          ]]}
207
                        ]]}
208
                      ]]}
209
                    ]]}
210
                  ]]}
211
                ]]}
212
              ]]}
213
            ], "report" : ["EXPRESSION", {
214
              "args" : [["EXPRESSION", {
215
                "args" : [["EXPRESSION", {
216
                  "args" : [["EXPRESSION", {
217
                    "args" : [["CONSTANT_VALUE", {
218
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s08b00x00p04n03i01486 - Each choice in a case statement alternative must be of the same type as the expression.\""]}
219
                    ]]}
220
                  ]]}
221
                ]]}
222
              ]]}
223
            ], "severity" : ["EXPRESSION", {
224
              "args" : [["EXPRESSION", {
225
                "args" : [["EXPRESSION", {
226
                  "args" : [["EXPRESSION", {
227
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
228
                  ]]}
229
                ]]}
230
              ]]}
231
            ]}
232
          ], ["WAIT_STATEMENT"]]}
233
        ]]}
234
      ]}
235
    ]}
236
  }