Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (10.4 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s07b00x00p04n01i01460ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s07b00x00p04n01i01460arch"], "entity" : ["IDENTIFIER", "c08s07b00x00p04n01i01460ent"], "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
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
59
            "if_cases" : [{
60
              "if_cond" : ["EXPRESSION", {
61
                "id" : "=", "args" : [["EXPRESSION", {
62
                  "args" : [["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["CALL", ["SIMPLE_NAME", "delay"]]]}
65
                    ]]}
66
                  ]]}
67
                ], ["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["EXPRESSION", {
70
                      "args" : [["CONSTANT_VALUE", {
71
                        "value" : ["CST_LITERAL", "0"]}
72
                      ]]}
73
                    ]]}
74
                  ]]}
75
                ]]}
76
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
77
                "lhs" : ["SIMPLE_NAME", "m"], "rhs" : ["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["EXPRESSION", {
81
                        "args" : [["CONSTANT_VALUE", {
82
                          "value" : ["CST_LITERAL", "1"]}
83
                        ]]}
84
                      ]]}
85
                    ]]}
86
                  ]]}
87
                ]}
88
              ]]}
89
            ], "default" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
90
              "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
91
                "args" : [["EXPRESSION", {
92
                  "args" : [["EXPRESSION", {
93
                    "args" : [["EXPRESSION", {
94
                      "args" : [["CONSTANT_VALUE", {
95
                        "value" : ["CST_LITERAL", "1"]}
96
                      ]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ]}
101
            ]]}
102
          ], ["ASSERTION_STATEMENT", {
103
            "cond" : ["EXPRESSION", {
104
              "args" : [["EXPRESSION", {
105
                "args" : [["EXPRESSION", {
106
                  "args" : [["EXPRESSION", {
107
                    "id" : "NOT", "args" : [["EXPRESSION", {
108
                      "id" : "and", "args" : [["EXPRESSION", {
109
                        "args" : [["EXPRESSION", {
110
                          "args" : [["EXPRESSION", {
111
                            "args" : [["EXPRESSION", {
112
                              "args" : [["EXPRESSION", {
113
                                "id" : "=", "args" : [["EXPRESSION", {
114
                                  "args" : [["EXPRESSION", {
115
                                    "args" : [["EXPRESSION", {
116
                                      "args" : [["CALL", ["SIMPLE_NAME", "m"]]]}
117
                                    ]]}
118
                                  ]]}
119
                                ], ["EXPRESSION", {
120
                                  "args" : [["EXPRESSION", {
121
                                    "args" : [["EXPRESSION", {
122
                                      "args" : [["CONSTANT_VALUE", {
123
                                        "value" : ["CST_LITERAL", "0"]}
124
                                      ]]}
125
                                    ]]}
126
                                  ]]}
127
                                ]]}
128
                              ]]}
129
                            ]]}
130
                          ]]}
131
                        ]]}
132
                      ], ["EXPRESSION", {
133
                        "args" : [["EXPRESSION", {
134
                          "args" : [["EXPRESSION", {
135
                            "args" : [["EXPRESSION", {
136
                              "args" : [["EXPRESSION", {
137
                                "id" : "=", "args" : [["EXPRESSION", {
138
                                  "args" : [["EXPRESSION", {
139
                                    "args" : [["EXPRESSION", {
140
                                      "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
141
                                    ]]}
142
                                  ]]}
143
                                ], ["EXPRESSION", {
144
                                  "args" : [["EXPRESSION", {
145
                                    "args" : [["EXPRESSION", {
146
                                      "args" : [["CONSTANT_VALUE", {
147
                                        "value" : ["CST_LITERAL", "1"]}
148
                                      ]]}
149
                                    ]]}
150
                                  ]]}
151
                                ]]}
152
                              ]]}
153
                            ]]}
154
                          ]]}
155
                        ]]}
156
                      ]]}
157
                    ]]}
158
                  ]]}
159
                ]]}
160
              ]]}
161
            ], "report" : ["EXPRESSION", {
162
              "args" : [["EXPRESSION", {
163
                "args" : [["EXPRESSION", {
164
                  "args" : [["EXPRESSION", {
165
                    "args" : [["CONSTANT_VALUE", {
166
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s07b00x00p04n01i01460\""]}
167
                    ]]}
168
                  ]]}
169
                ]]}
170
              ]]}
171
            ], "severity" : ["EXPRESSION", {
172
              "args" : [["EXPRESSION", {
173
                "args" : [["EXPRESSION", {
174
                  "args" : [["EXPRESSION", {
175
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
176
                  ]]}
177
                ]]}
178
              ]]}
179
            ]}
180
          ], ["ASSERTION_STATEMENT", {
181
            "cond" : ["EXPRESSION", {
182
              "id" : "and", "args" : [["EXPRESSION", {
183
                "args" : [["EXPRESSION", {
184
                  "args" : [["EXPRESSION", {
185
                    "args" : [["EXPRESSION", {
186
                      "args" : [["EXPRESSION", {
187
                        "id" : "=", "args" : [["EXPRESSION", {
188
                          "args" : [["EXPRESSION", {
189
                            "args" : [["EXPRESSION", {
190
                              "args" : [["CALL", ["SIMPLE_NAME", "m"]]]}
191
                            ]]}
192
                          ]]}
193
                        ], ["EXPRESSION", {
194
                          "args" : [["EXPRESSION", {
195
                            "args" : [["EXPRESSION", {
196
                              "args" : [["CONSTANT_VALUE", {
197
                                "value" : ["CST_LITERAL", "0"]}
198
                              ]]}
199
                            ]]}
200
                          ]]}
201
                        ]]}
202
                      ]]}
203
                    ]]}
204
                  ]]}
205
                ]]}
206
              ], ["EXPRESSION", {
207
                "args" : [["EXPRESSION", {
208
                  "args" : [["EXPRESSION", {
209
                    "args" : [["EXPRESSION", {
210
                      "args" : [["EXPRESSION", {
211
                        "id" : "=", "args" : [["EXPRESSION", {
212
                          "args" : [["EXPRESSION", {
213
                            "args" : [["EXPRESSION", {
214
                              "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
215
                            ]]}
216
                          ]]}
217
                        ], ["EXPRESSION", {
218
                          "args" : [["EXPRESSION", {
219
                            "args" : [["EXPRESSION", {
220
                              "args" : [["CONSTANT_VALUE", {
221
                                "value" : ["CST_LITERAL", "1"]}
222
                              ]]}
223
                            ]]}
224
                          ]]}
225
                        ]]}
226
                      ]]}
227
                    ]]}
228
                  ]]}
229
                ]]}
230
              ]]}
231
            ], "report" : ["EXPRESSION", {
232
              "args" : [["EXPRESSION", {
233
                "args" : [["EXPRESSION", {
234
                  "args" : [["EXPRESSION", {
235
                    "args" : [["CONSTANT_VALUE", {
236
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s07b00x00p04n01i01460 - conditions after the if is evalusted to be FALSE, so should treat a final else as elsif TRUE then\""]}
237
                    ]]}
238
                  ]]}
239
                ]]}
240
              ]]}
241
            ], "severity" : ["EXPRESSION", {
242
              "args" : [["EXPRESSION", {
243
                "args" : [["EXPRESSION", {
244
                  "args" : [["EXPRESSION", {
245
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
246
                  ]]}
247
                ]]}
248
              ]]}
249
            ]}
250
          ], ["WAIT_STATEMENT"]]}
251
        ]]}
252
      ]}
253
    ]}
254
  }