Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (8.52 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c06s05b00x00p07n02i01151ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c06s05b00x00p07n02i01151arch"], "entity" : ["IDENTIFIER", "c06s05b00x00p07n02i01151ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "definition" : ["TYPE_DECLARATION", {
11
            "name" : ["IDENTIFIER", "A"], "definition" : ["ARRAY_TYPE_DEFINITION", {
12
              "const" : ["INDEX_CONSTRAINT", {
13
                "ranges" : [["RANGE_WITH_DIRECTION", {
14
                  "direction" : "to", "from" : ["EXPRESSION", {
15
                    "args" : [["EXPRESSION", {
16
                      "args" : [["CONSTANT_VALUE", {
17
                        "value" : ["CST_LITERAL", "1"]}
18
                      ]]}
19
                    ]]}
20
                  ], "_to" : ["EXPRESSION", {
21
                    "args" : [["EXPRESSION", {
22
                      "args" : [["CONSTANT_VALUE", {
23
                        "value" : ["CST_LITERAL", "10"]}
24
                      ]]}
25
                    ]]}
26
                  ]}
27
                ]]}
28
              ], "definition" : {
29
                "name" : ["SIMPLE_NAME", "integer"]}
30
              }
31
            ]}
32
          ]}
33
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
34
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
35
            "declaration" : ["VARIABLE_DECLARATION", {
36
              "names" : [["IDENTIFIER", "var"]], "typ" : {
37
                "name" : ["SIMPLE_NAME", "A"]}
38
              , "init_val" : ["EXPRESSION", {
39
                "args" : [["EXPRESSION", {
40
                  "args" : [["EXPRESSION", {
41
                    "args" : [["EXPRESSION", {
42
                      "args" : [["AGGREGATE", {
43
                        "elems" : [{
44
                          "expr" : ["EXPRESSION", {
45
                            "args" : [["EXPRESSION", {
46
                              "args" : [["EXPRESSION", {
47
                                "args" : [["EXPRESSION", {
48
                                  "args" : [["CONSTANT_VALUE", {
49
                                    "value" : ["CST_LITERAL", "6"]}
50
                                  ]]}
51
                                ]]}
52
                              ]]}
53
                            ]]}
54
                          ]}
55
                        , {
56
                          "expr" : ["EXPRESSION", {
57
                            "args" : [["EXPRESSION", {
58
                              "args" : [["EXPRESSION", {
59
                                "args" : [["EXPRESSION", {
60
                                  "args" : [["CONSTANT_VALUE", {
61
                                    "value" : ["CST_LITERAL", "6"]}
62
                                  ]]}
63
                                ]]}
64
                              ]]}
65
                            ]]}
66
                          ]}
67
                        , {
68
                          "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
69
                            "args" : [["EXPRESSION", {
70
                              "args" : [["EXPRESSION", {
71
                                "args" : [["EXPRESSION", {
72
                                  "args" : [["CONSTANT_VALUE", {
73
                                    "value" : ["CST_LITERAL", "88"]}
74
                                  ]]}
75
                                ]]}
76
                              ]]}
77
                            ]]}
78
                          ]}
79
                        ]}
80
                      ]]}
81
                    ]]}
82
                  ]]}
83
                ]]}
84
              ]}
85
            ]}
86
          ], "PROCESS_STATEMENT_PART" : [["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
87
            "cond" : ["EXPRESSION", {
88
              "args" : [["EXPRESSION", {
89
                "args" : [["EXPRESSION", {
90
                  "args" : [["EXPRESSION", {
91
                    "id" : "NOT", "args" : [["EXPRESSION", {
92
                      "id" : "=", "args" : [["EXPRESSION", {
93
                        "args" : [["EXPRESSION", {
94
                          "args" : [["EXPRESSION", {
95
                            "args" : [["CALL", ["INDEXED_NAME", {
96
                              "id" : ["SIMPLE_NAME", "var"], "exprs" : [["EXPRESSION", {
97
                                "args" : [["EXPRESSION", {
98
                                  "args" : [["EXPRESSION", {
99
                                    "args" : [["EXPRESSION", {
100
                                      "args" : [["CONSTANT_VALUE", {
101
                                        "value" : ["CST_LITERAL", "1"]}
102
                                      ]]}
103
                                    ]]}
104
                                  ]]}
105
                                ]]}
106
                              ]]}
107
                            ]]]}
108
                          ]]}
109
                        ]]}
110
                      ], ["EXPRESSION", {
111
                        "args" : [["EXPRESSION", {
112
                          "args" : [["EXPRESSION", {
113
                            "args" : [["CONSTANT_VALUE", {
114
                              "value" : ["CST_LITERAL", "6"]}
115
                            ]]}
116
                          ]]}
117
                        ]]}
118
                      ]]}
119
                    ]]}
120
                  ]]}
121
                ]]}
122
              ]]}
123
            ], "report" : ["EXPRESSION", {
124
              "args" : [["EXPRESSION", {
125
                "args" : [["EXPRESSION", {
126
                  "args" : [["EXPRESSION", {
127
                    "args" : [["CONSTANT_VALUE", {
128
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c06s05b00x00p07n02i01151\""]}
129
                    ]]}
130
                  ]]}
131
                ]]}
132
              ]]}
133
            ], "severity" : ["EXPRESSION", {
134
              "args" : [["EXPRESSION", {
135
                "args" : [["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
138
                  ]]}
139
                ]]}
140
              ]]}
141
            ]}
142
          ], ["ASSERTION_STATEMENT", {
143
            "cond" : ["EXPRESSION", {
144
              "args" : [["EXPRESSION", {
145
                "args" : [["EXPRESSION", {
146
                  "args" : [["EXPRESSION", {
147
                    "args" : [["EXPRESSION", {
148
                      "id" : "=", "args" : [["EXPRESSION", {
149
                        "args" : [["EXPRESSION", {
150
                          "args" : [["EXPRESSION", {
151
                            "args" : [["CALL", ["INDEXED_NAME", {
152
                              "id" : ["SIMPLE_NAME", "var"], "exprs" : [["EXPRESSION", {
153
                                "args" : [["EXPRESSION", {
154
                                  "args" : [["EXPRESSION", {
155
                                    "args" : [["EXPRESSION", {
156
                                      "args" : [["CONSTANT_VALUE", {
157
                                        "value" : ["CST_LITERAL", "1"]}
158
                                      ]]}
159
                                    ]]}
160
                                  ]]}
161
                                ]]}
162
                              ]]}
163
                            ]]]}
164
                          ]]}
165
                        ]]}
166
                      ], ["EXPRESSION", {
167
                        "args" : [["EXPRESSION", {
168
                          "args" : [["EXPRESSION", {
169
                            "args" : [["CONSTANT_VALUE", {
170
                              "value" : ["CST_LITERAL", "6"]}
171
                            ]]}
172
                          ]]}
173
                        ]]}
174
                      ]]}
175
                    ]]}
176
                  ]]}
177
                ]]}
178
              ]]}
179
            ], "report" : ["EXPRESSION", {
180
              "args" : [["EXPRESSION", {
181
                "args" : [["EXPRESSION", {
182
                  "args" : [["EXPRESSION", {
183
                    "args" : [["CONSTANT_VALUE", {
184
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c06s05b00x00p07n02i01151 - A(N) is an element of the array A(ascending) and has the corresponding element type.\""]}
185
                    ]]}
186
                  ]]}
187
                ]]}
188
              ]]}
189
            ], "severity" : ["EXPRESSION", {
190
              "args" : [["EXPRESSION", {
191
                "args" : [["EXPRESSION", {
192
                  "args" : [["EXPRESSION", {
193
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
194
                  ]]}
195
                ]]}
196
              ]]}
197
            ]}
198
          ], ["WAIT_STATEMENT"]]}
199
        ]]}
200
      ]}
201
    ]}
202
  }