Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.9 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s08b00x00p07n01i01493ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s08b00x00p07n01i01493arch"], "entity" : ["IDENTIFIER", "c08s08b00x00p07n01i01493ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "definition" : ["TYPE_DECLARATION", {
12
              "name" : ["IDENTIFIER", "Scal"], "definition" : ["ARRAY_TYPE_DEFINITION", {
13
                "const" : ["INDEX_CONSTRAINT", {
14
                  "ranges" : [["RANGE_WITH_DIRECTION", {
15
                    "direction" : "to", "from" : ["EXPRESSION", {
16
                      "args" : [["EXPRESSION", {
17
                        "args" : [["CONSTANT_VALUE", {
18
                          "value" : ["CST_LITERAL", "0"]}
19
                        ]]}
20
                      ]]}
21
                    ], "_to" : ["EXPRESSION", {
22
                      "args" : [["EXPRESSION", {
23
                        "args" : [["CONSTANT_VALUE", {
24
                          "value" : ["CST_LITERAL", "1"]}
25
                        ]]}
26
                      ]]}
27
                    ]}
28
                  ]]}
29
                ], "definition" : {
30
                  "name" : ["SIMPLE_NAME", "CHARACTER"]}
31
                }
32
              ]}
33
            ]}
34
          , {
35
            "declaration" : ["VARIABLE_DECLARATION", {
36
              "names" : [["IDENTIFIER", "kk"]], "typ" : {
37
                "name" : ["SIMPLE_NAME", "Scal"]}
38
              , "init_val" : ["EXPRESSION", {
39
                "args" : [["EXPRESSION", {
40
                  "args" : [["EXPRESSION", {
41
                    "args" : [["EXPRESSION", {
42
                      "args" : [["CONSTANT_VALUE", {
43
                        "value" : ["CST_LITERAL", "\"TH\""]}
44
                      ]]}
45
                    ]]}
46
                  ]]}
47
                ]]}
48
              ]}
49
            ]}
50
          , {
51
            "declaration" : ["VARIABLE_DECLARATION", {
52
              "names" : [["IDENTIFIER", "k"]], "typ" : {
53
                "name" : ["SIMPLE_NAME", "integer"]}
54
              , "init_val" : ["EXPRESSION", {
55
                "args" : [["EXPRESSION", {
56
                  "args" : [["EXPRESSION", {
57
                    "args" : [["EXPRESSION", {
58
                      "args" : [["CONSTANT_VALUE", {
59
                        "value" : ["CST_LITERAL", "0"]}
60
                      ]]}
61
                    ]]}
62
                  ]]}
63
                ]]}
64
              ]}
65
            ]}
66
          ], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
67
            "guard" : ["EXPRESSION", {
68
              "args" : [["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["CALL", ["SIMPLE_NAME", "kk"]]]}
72
                  ]]}
73
                ]]}
74
              ]]}
75
            ], "branches" : [{
76
              "when_cond" : [["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["CONSTANT_VALUE", {
79
                    "value" : ["CST_LITERAL", "\"TH\""]}
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", "\"AB\""]}
100
                  ]]}
101
                ]]}
102
              ]], "when_stmt" : [["NULL_STATEMENT", {
103
                }
104
              ]]}
105
            , {
106
              "when_cond" : [["OTHERS"]], "when_stmt" : [["NULL_STATEMENT", {
107
                }
108
              ]]}
109
            ]}
110
          ], ["ASSERTION_STATEMENT", {
111
            "cond" : ["EXPRESSION", {
112
              "args" : [["EXPRESSION", {
113
                "args" : [["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "id" : "NOT", "args" : [["EXPRESSION", {
116
                      "id" : "=", "args" : [["EXPRESSION", {
117
                        "args" : [["EXPRESSION", {
118
                          "args" : [["EXPRESSION", {
119
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
120
                          ]]}
121
                        ]]}
122
                      ], ["EXPRESSION", {
123
                        "args" : [["EXPRESSION", {
124
                          "args" : [["EXPRESSION", {
125
                            "args" : [["CONSTANT_VALUE", {
126
                              "value" : ["CST_LITERAL", "5"]}
127
                            ]]}
128
                          ]]}
129
                        ]]}
130
                      ]]}
131
                    ]]}
132
                  ]]}
133
                ]]}
134
              ]]}
135
            ], "report" : ["EXPRESSION", {
136
              "args" : [["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["CONSTANT_VALUE", {
140
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s08b00x00p07n01i01493\""]}
141
                    ]]}
142
                  ]]}
143
                ]]}
144
              ]]}
145
            ], "severity" : ["EXPRESSION", {
146
              "args" : [["EXPRESSION", {
147
                "args" : [["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
150
                  ]]}
151
                ]]}
152
              ]]}
153
            ]}
154
          ], ["ASSERTION_STATEMENT", {
155
            "cond" : ["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", "5"]}
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: c08s08b00x00p07n01i01493 - case expression is the name of an object whose subtype is locally static, when it is a one-dimensional character array 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
  }