Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (9.92 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s05b01x00p01n01i01409ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s05b01x00p01n01i01409arch"], "entity" : ["IDENTIFIER", "c08s05b01x00p01n01i01409ent"], "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
                "indexes" : [["SIMPLE_NAME", "positive"]], "definition" : {
14
                  "name" : ["SIMPLE_NAME", "integer"]}
15
                }
16
              ]}
17
            ]}
18
          , {
19
            "definition" : ["TYPE_DECLARATION", {
20
              "name" : ["IDENTIFIER", "A2"], "definition" : ["ARRAY_TYPE_DEFINITION", {
21
                "const" : ["INDEX_CONSTRAINT", {
22
                  "ranges" : [["RANGE_WITH_DIRECTION", {
23
                    "direction" : "to", "from" : ["EXPRESSION", {
24
                      "args" : [["EXPRESSION", {
25
                        "args" : [["CONSTANT_VALUE", {
26
                          "value" : ["CST_LITERAL", "0"]}
27
                        ]]}
28
                      ]]}
29
                    ], "_to" : ["EXPRESSION", {
30
                      "args" : [["EXPRESSION", {
31
                        "args" : [["CONSTANT_VALUE", {
32
                          "value" : ["CST_LITERAL", "10"]}
33
                        ]]}
34
                      ]]}
35
                    ]}
36
                  ]]}
37
                ], "definition" : {
38
                  "name" : ["SIMPLE_NAME", "A1"], "const" : ["INDEX_CONSTRAINT", {
39
                    "ranges" : [["RANGE_WITH_DIRECTION", {
40
                      "direction" : "downto", "from" : ["EXPRESSION", {
41
                        "args" : [["EXPRESSION", {
42
                          "args" : [["CONSTANT_VALUE", {
43
                            "value" : ["CST_LITERAL", "4"]}
44
                          ]]}
45
                        ]]}
46
                      ], "_to" : ["EXPRESSION", {
47
                        "args" : [["EXPRESSION", {
48
                          "args" : [["CONSTANT_VALUE", {
49
                            "value" : ["CST_LITERAL", "1"]}
50
                          ]]}
51
                        ]]}
52
                      ]}
53
                    ]]}
54
                  ]}
55
                }
56
              ]}
57
            ]}
58
          , {
59
            "declaration" : ["VARIABLE_DECLARATION", {
60
              "names" : [["IDENTIFIER", "XC"]], "typ" : {
61
                "name" : ["SIMPLE_NAME", "A2"]}
62
              }
63
            ]}
64
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
65
            "lhs" : ["INDEXED_NAME", {
66
              "id" : ["SIMPLE_NAME", "XC"], "exprs" : [["EXPRESSION", {
67
                "args" : [["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["EXPRESSION", {
70
                      "args" : [["CONSTANT_VALUE", {
71
                        "value" : ["CST_LITERAL", "4"]}
72
                      ]]}
73
                    ]]}
74
                  ]]}
75
                ]]}
76
              ], ["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["CONSTANT_VALUE", {
81
                        "value" : ["CST_LITERAL", "1"]}
82
                      ]]}
83
                    ]]}
84
                  ]]}
85
                ]]}
86
              ]]}
87
            ], "rhs" : ["EXPRESSION", {
88
              "args" : [["EXPRESSION", {
89
                "args" : [["EXPRESSION", {
90
                  "args" : [["EXPRESSION", {
91
                    "args" : [["CONSTANT_VALUE", {
92
                      "value" : ["CST_LITERAL", "1"]}
93
                    ]]}
94
                  ]]}
95
                ]]}
96
              ]]}
97
            ]}
98
          ], ["ASSERTION_STATEMENT", {
99
            "cond" : ["EXPRESSION", {
100
              "args" : [["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "id" : "NOT", "args" : [["EXPRESSION", {
104
                      "id" : "=", "args" : [["EXPRESSION", {
105
                        "args" : [["EXPRESSION", {
106
                          "args" : [["EXPRESSION", {
107
                            "args" : [["CALL", ["INDEXED_NAME", {
108
                              "id" : ["SIMPLE_NAME", "XC"], "exprs" : [["EXPRESSION", {
109
                                "args" : [["EXPRESSION", {
110
                                  "args" : [["EXPRESSION", {
111
                                    "args" : [["EXPRESSION", {
112
                                      "args" : [["CONSTANT_VALUE", {
113
                                        "value" : ["CST_LITERAL", "4"]}
114
                                      ]]}
115
                                    ]]}
116
                                  ]]}
117
                                ]]}
118
                              ], ["EXPRESSION", {
119
                                "args" : [["EXPRESSION", {
120
                                  "args" : [["EXPRESSION", {
121
                                    "args" : [["EXPRESSION", {
122
                                      "args" : [["CONSTANT_VALUE", {
123
                                        "value" : ["CST_LITERAL", "1"]}
124
                                      ]]}
125
                                    ]]}
126
                                  ]]}
127
                                ]]}
128
                              ]]}
129
                            ]]]}
130
                          ]]}
131
                        ]]}
132
                      ], ["EXPRESSION", {
133
                        "args" : [["EXPRESSION", {
134
                          "args" : [["EXPRESSION", {
135
                            "args" : [["CONSTANT_VALUE", {
136
                              "value" : ["CST_LITERAL", "1"]}
137
                            ]]}
138
                          ]]}
139
                        ]]}
140
                      ]]}
141
                    ]]}
142
                  ]]}
143
                ]]}
144
              ]]}
145
            ], "report" : ["EXPRESSION", {
146
              "args" : [["EXPRESSION", {
147
                "args" : [["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "args" : [["CONSTANT_VALUE", {
150
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s05b01x00p01n01i01409\""]}
151
                    ]]}
152
                  ]]}
153
                ]]}
154
              ]]}
155
            ], "severity" : ["EXPRESSION", {
156
              "args" : [["EXPRESSION", {
157
                "args" : [["EXPRESSION", {
158
                  "args" : [["EXPRESSION", {
159
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
160
                  ]]}
161
                ]]}
162
              ]]}
163
            ]}
164
          ], ["ASSERTION_STATEMENT", {
165
            "cond" : ["EXPRESSION", {
166
              "args" : [["EXPRESSION", {
167
                "args" : [["EXPRESSION", {
168
                  "args" : [["EXPRESSION", {
169
                    "args" : [["EXPRESSION", {
170
                      "id" : "=", "args" : [["EXPRESSION", {
171
                        "args" : [["EXPRESSION", {
172
                          "args" : [["EXPRESSION", {
173
                            "args" : [["CALL", ["INDEXED_NAME", {
174
                              "id" : ["SIMPLE_NAME", "XC"], "exprs" : [["EXPRESSION", {
175
                                "args" : [["EXPRESSION", {
176
                                  "args" : [["EXPRESSION", {
177
                                    "args" : [["EXPRESSION", {
178
                                      "args" : [["CONSTANT_VALUE", {
179
                                        "value" : ["CST_LITERAL", "4"]}
180
                                      ]]}
181
                                    ]]}
182
                                  ]]}
183
                                ]]}
184
                              ], ["EXPRESSION", {
185
                                "args" : [["EXPRESSION", {
186
                                  "args" : [["EXPRESSION", {
187
                                    "args" : [["EXPRESSION", {
188
                                      "args" : [["CONSTANT_VALUE", {
189
                                        "value" : ["CST_LITERAL", "1"]}
190
                                      ]]}
191
                                    ]]}
192
                                  ]]}
193
                                ]]}
194
                              ]]}
195
                            ]]]}
196
                          ]]}
197
                        ]]}
198
                      ], ["EXPRESSION", {
199
                        "args" : [["EXPRESSION", {
200
                          "args" : [["EXPRESSION", {
201
                            "args" : [["CONSTANT_VALUE", {
202
                              "value" : ["CST_LITERAL", "1"]}
203
                            ]]}
204
                          ]]}
205
                        ]]}
206
                      ]]}
207
                    ]]}
208
                  ]]}
209
                ]]}
210
              ]]}
211
            ], "report" : ["EXPRESSION", {
212
              "args" : [["EXPRESSION", {
213
                "args" : [["EXPRESSION", {
214
                  "args" : [["EXPRESSION", {
215
                    "args" : [["CONSTANT_VALUE", {
216
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s05b01x00p01n01i01409 - The types of the right hand side and left hand side are the same and for each element of the array variable there is a matching element on the right hand side.\""]}
217
                    ]]}
218
                  ]]}
219
                ]]}
220
              ]]}
221
            ], "severity" : ["EXPRESSION", {
222
              "args" : [["EXPRESSION", {
223
                "args" : [["EXPRESSION", {
224
                  "args" : [["EXPRESSION", {
225
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
226
                  ]]}
227
                ]]}
228
              ]]}
229
            ]}
230
          ], ["WAIT_STATEMENT"]]}
231
        ]]}
232
      ]}
233
    ]}
234
  }