Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (14.7 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s07b00x00p04n01i01456ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s07b00x00p04n01i01456arch"], "entity" : ["IDENTIFIER", "c08s07b00x00p04n01i01456ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "transmit"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "delay"]], "typ" : {
13
                "name" : ["SIMPLE_NAME", "integer"]}
14
              , "init_val" : ["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["CONSTANT_VALUE", {
19
                        "value" : ["CST_LITERAL", "1"]}
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
          , {
43
            "declaration" : ["VARIABLE_DECLARATION", {
44
              "names" : [["IDENTIFIER", "m"]], "typ" : {
45
                "name" : ["SIMPLE_NAME", "integer"]}
46
              , "init_val" : ["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "args" : [["CONSTANT_VALUE", {
51
                        "value" : ["CST_LITERAL", "0"]}
52
                      ]]}
53
                    ]]}
54
                  ]]}
55
                ]]}
56
              ]}
57
            ]}
58
          , {
59
            "declaration" : ["VARIABLE_DECLARATION", {
60
              "names" : [["IDENTIFIER", "n"]], "typ" : {
61
                "name" : ["SIMPLE_NAME", "integer"]}
62
              , "init_val" : ["EXPRESSION", {
63
                "args" : [["EXPRESSION", {
64
                  "args" : [["EXPRESSION", {
65
                    "args" : [["EXPRESSION", {
66
                      "args" : [["CONSTANT_VALUE", {
67
                        "value" : ["CST_LITERAL", "0"]}
68
                      ]]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]}
73
            ]}
74
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
75
            "if_cases" : [{
76
              "if_cond" : ["EXPRESSION", {
77
                "id" : "=", "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["CALL", ["SIMPLE_NAME", "delay"]]]}
81
                    ]]}
82
                  ]]}
83
                ], ["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["CONSTANT_VALUE", {
87
                        "value" : ["CST_LITERAL", "1"]}
88
                      ]]}
89
                    ]]}
90
                  ]]}
91
                ]]}
92
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
93
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "args" : [["EXPRESSION", {
97
                        "args" : [["CONSTANT_VALUE", {
98
                          "value" : ["CST_LITERAL", "1"]}
99
                        ]]}
100
                      ]]}
101
                    ]]}
102
                  ]]}
103
                ]}
104
              ]]}
105
            , {
106
              "if_cond" : ["EXPRESSION", {
107
                "id" : "=", "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["EXPRESSION", {
110
                      "args" : [["CALL", ["SIMPLE_NAME", "delay"]]]}
111
                    ]]}
112
                  ]]}
113
                ], ["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "args" : [["EXPRESSION", {
116
                      "args" : [["CONSTANT_VALUE", {
117
                        "value" : ["CST_LITERAL", "0"]}
118
                      ]]}
119
                    ]]}
120
                  ]]}
121
                ]]}
122
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
123
                "lhs" : ["SIMPLE_NAME", "m"], "rhs" : ["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["EXPRESSION", {
126
                      "args" : [["EXPRESSION", {
127
                        "args" : [["CONSTANT_VALUE", {
128
                          "value" : ["CST_LITERAL", "1"]}
129
                        ]]}
130
                      ]]}
131
                    ]]}
132
                  ]]}
133
                ]}
134
              ]]}
135
            ], "default" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
136
              "lhs" : ["SIMPLE_NAME", "n"], "rhs" : ["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["EXPRESSION", {
140
                      "args" : [["CONSTANT_VALUE", {
141
                        "value" : ["CST_LITERAL", "1"]}
142
                      ]]}
143
                    ]]}
144
                  ]]}
145
                ]]}
146
              ]}
147
            ]]}
148
          ], ["ASSERTION_STATEMENT", {
149
            "cond" : ["EXPRESSION", {
150
              "args" : [["EXPRESSION", {
151
                "args" : [["EXPRESSION", {
152
                  "args" : [["EXPRESSION", {
153
                    "id" : "NOT", "args" : [["EXPRESSION", {
154
                      "id" : "and", "args" : [["EXPRESSION", {
155
                        "id" : "and", "args" : [["EXPRESSION", {
156
                          "args" : [["EXPRESSION", {
157
                            "args" : [["EXPRESSION", {
158
                              "args" : [["EXPRESSION", {
159
                                "args" : [["EXPRESSION", {
160
                                  "id" : "=", "args" : [["EXPRESSION", {
161
                                    "args" : [["EXPRESSION", {
162
                                      "args" : [["EXPRESSION", {
163
                                        "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
164
                                      ]]}
165
                                    ]]}
166
                                  ], ["EXPRESSION", {
167
                                    "args" : [["EXPRESSION", {
168
                                      "args" : [["EXPRESSION", {
169
                                        "args" : [["CONSTANT_VALUE", {
170
                                          "value" : ["CST_LITERAL", "1"]}
171
                                        ]]}
172
                                      ]]}
173
                                    ]]}
174
                                  ]]}
175
                                ]]}
176
                              ]]}
177
                            ]]}
178
                          ]]}
179
                        ], ["EXPRESSION", {
180
                          "args" : [["EXPRESSION", {
181
                            "args" : [["EXPRESSION", {
182
                              "args" : [["EXPRESSION", {
183
                                "args" : [["EXPRESSION", {
184
                                  "id" : "=", "args" : [["EXPRESSION", {
185
                                    "args" : [["EXPRESSION", {
186
                                      "args" : [["EXPRESSION", {
187
                                        "args" : [["CALL", ["SIMPLE_NAME", "m"]]]}
188
                                      ]]}
189
                                    ]]}
190
                                  ], ["EXPRESSION", {
191
                                    "args" : [["EXPRESSION", {
192
                                      "args" : [["EXPRESSION", {
193
                                        "args" : [["CONSTANT_VALUE", {
194
                                          "value" : ["CST_LITERAL", "0"]}
195
                                        ]]}
196
                                      ]]}
197
                                    ]]}
198
                                  ]]}
199
                                ]]}
200
                              ]]}
201
                            ]]}
202
                          ]]}
203
                        ]]}
204
                      ], ["EXPRESSION", {
205
                        "args" : [["EXPRESSION", {
206
                          "args" : [["EXPRESSION", {
207
                            "args" : [["EXPRESSION", {
208
                              "args" : [["EXPRESSION", {
209
                                "id" : "=", "args" : [["EXPRESSION", {
210
                                  "args" : [["EXPRESSION", {
211
                                    "args" : [["EXPRESSION", {
212
                                      "args" : [["CALL", ["SIMPLE_NAME", "n"]]]}
213
                                    ]]}
214
                                  ]]}
215
                                ], ["EXPRESSION", {
216
                                  "args" : [["EXPRESSION", {
217
                                    "args" : [["EXPRESSION", {
218
                                      "args" : [["CONSTANT_VALUE", {
219
                                        "value" : ["CST_LITERAL", "0"]}
220
                                      ]]}
221
                                    ]]}
222
                                  ]]}
223
                                ]]}
224
                              ]]}
225
                            ]]}
226
                          ]]}
227
                        ]]}
228
                      ]]}
229
                    ]]}
230
                  ]]}
231
                ]]}
232
              ]]}
233
            ], "report" : ["EXPRESSION", {
234
              "args" : [["EXPRESSION", {
235
                "args" : [["EXPRESSION", {
236
                  "args" : [["EXPRESSION", {
237
                    "args" : [["CONSTANT_VALUE", {
238
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s07b00x00p04n01i01456\""]}
239
                    ]]}
240
                  ]]}
241
                ]]}
242
              ]]}
243
            ], "severity" : ["EXPRESSION", {
244
              "args" : [["EXPRESSION", {
245
                "args" : [["EXPRESSION", {
246
                  "args" : [["EXPRESSION", {
247
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
248
                  ]]}
249
                ]]}
250
              ]]}
251
            ]}
252
          ], ["ASSERTION_STATEMENT", {
253
            "cond" : ["EXPRESSION", {
254
              "id" : "and", "args" : [["EXPRESSION", {
255
                "id" : "and", "args" : [["EXPRESSION", {
256
                  "args" : [["EXPRESSION", {
257
                    "args" : [["EXPRESSION", {
258
                      "args" : [["EXPRESSION", {
259
                        "args" : [["EXPRESSION", {
260
                          "id" : "=", "args" : [["EXPRESSION", {
261
                            "args" : [["EXPRESSION", {
262
                              "args" : [["EXPRESSION", {
263
                                "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
264
                              ]]}
265
                            ]]}
266
                          ], ["EXPRESSION", {
267
                            "args" : [["EXPRESSION", {
268
                              "args" : [["EXPRESSION", {
269
                                "args" : [["CONSTANT_VALUE", {
270
                                  "value" : ["CST_LITERAL", "1"]}
271
                                ]]}
272
                              ]]}
273
                            ]]}
274
                          ]]}
275
                        ]]}
276
                      ]]}
277
                    ]]}
278
                  ]]}
279
                ], ["EXPRESSION", {
280
                  "args" : [["EXPRESSION", {
281
                    "args" : [["EXPRESSION", {
282
                      "args" : [["EXPRESSION", {
283
                        "args" : [["EXPRESSION", {
284
                          "id" : "=", "args" : [["EXPRESSION", {
285
                            "args" : [["EXPRESSION", {
286
                              "args" : [["EXPRESSION", {
287
                                "args" : [["CALL", ["SIMPLE_NAME", "m"]]]}
288
                              ]]}
289
                            ]]}
290
                          ], ["EXPRESSION", {
291
                            "args" : [["EXPRESSION", {
292
                              "args" : [["EXPRESSION", {
293
                                "args" : [["CONSTANT_VALUE", {
294
                                  "value" : ["CST_LITERAL", "0"]}
295
                                ]]}
296
                              ]]}
297
                            ]]}
298
                          ]]}
299
                        ]]}
300
                      ]]}
301
                    ]]}
302
                  ]]}
303
                ]]}
304
              ], ["EXPRESSION", {
305
                "args" : [["EXPRESSION", {
306
                  "args" : [["EXPRESSION", {
307
                    "args" : [["EXPRESSION", {
308
                      "args" : [["EXPRESSION", {
309
                        "id" : "=", "args" : [["EXPRESSION", {
310
                          "args" : [["EXPRESSION", {
311
                            "args" : [["EXPRESSION", {
312
                              "args" : [["CALL", ["SIMPLE_NAME", "n"]]]}
313
                            ]]}
314
                          ]]}
315
                        ], ["EXPRESSION", {
316
                          "args" : [["EXPRESSION", {
317
                            "args" : [["EXPRESSION", {
318
                              "args" : [["CONSTANT_VALUE", {
319
                                "value" : ["CST_LITERAL", "0"]}
320
                              ]]}
321
                            ]]}
322
                          ]]}
323
                        ]]}
324
                      ]]}
325
                    ]]}
326
                  ]]}
327
                ]]}
328
              ]]}
329
            ], "report" : ["EXPRESSION", {
330
              "args" : [["EXPRESSION", {
331
                "args" : [["EXPRESSION", {
332
                  "args" : [["EXPRESSION", {
333
                    "args" : [["CONSTANT_VALUE", {
334
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s07b00x00p04n01i01456 - only the condition after the IF statement is TRUE, all others are evaluated to be FALSE\""]}
335
                    ]]}
336
                  ]]}
337
                ]]}
338
              ]]}
339
            ], "severity" : ["EXPRESSION", {
340
              "args" : [["EXPRESSION", {
341
                "args" : [["EXPRESSION", {
342
                  "args" : [["EXPRESSION", {
343
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
344
                  ]]}
345
                ]]}
346
              ]]}
347
            ]}
348
          ], ["WAIT_STATEMENT"]]}
349
        ]]}
350
      ]}
351
    ]}
352
  }