Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.11 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s08b00x00p05n01i01491ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s08b00x00p05n01i01491arch"], "entity" : ["IDENTIFIER", "c08s08b00x00p05n01i01491ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "definition" : ["TYPE_DECLARATION", {
12
              "name" : ["IDENTIFIER", "x"], "definition" : ["ENUMERATION_TYPE_DEFINITION", [["IDENTIFIER", "Jan"], ["IDENTIFIER", "Feb"], ["IDENTIFIER", "Mar"]]]}
13
            ]}
14
          , {
15
            "declaration" : ["VARIABLE_DECLARATION", {
16
              "names" : [["IDENTIFIER", "y"]], "typ" : {
17
                "name" : ["SIMPLE_NAME", "x"]}
18
              , "init_val" : ["EXPRESSION", {
19
                "args" : [["EXPRESSION", {
20
                  "args" : [["EXPRESSION", {
21
                    "args" : [["EXPRESSION", {
22
                      "args" : [["CALL", ["SIMPLE_NAME", "Jan"]]]}
23
                    ]]}
24
                  ]]}
25
                ]]}
26
              ]}
27
            ]}
28
          , {
29
            "declaration" : ["VARIABLE_DECLARATION", {
30
              "names" : [["IDENTIFIER", "k"]], "typ" : {
31
                "name" : ["SIMPLE_NAME", "integer"]}
32
              , "init_val" : ["EXPRESSION", {
33
                "args" : [["EXPRESSION", {
34
                  "args" : [["EXPRESSION", {
35
                    "args" : [["EXPRESSION", {
36
                      "args" : [["CONSTANT_VALUE", {
37
                        "value" : ["CST_LITERAL", "5"]}
38
                      ]]}
39
                    ]]}
40
                  ]]}
41
                ]]}
42
              ]}
43
            ]}
44
          ], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
45
            "guard" : ["EXPRESSION", {
46
              "args" : [["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["CALL", ["SIMPLE_NAME", "y"]]]}
50
                  ]]}
51
                ]]}
52
              ]]}
53
            ], "branches" : [{
54
              "when_cond" : [["EXPRESSION", {
55
                "args" : [["EXPRESSION", {
56
                  "args" : [["CALL", ["SIMPLE_NAME", "Jan"]]]}
57
                ]]}
58
              ]], "when_stmt" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
59
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "args" : [["EXPRESSION", {
62
                      "args" : [["EXPRESSION", {
63
                        "args" : [["CONSTANT_VALUE", {
64
                          "value" : ["CST_LITERAL", "5"]}
65
                        ]]}
66
                      ]]}
67
                    ]]}
68
                  ]]}
69
                ]}
70
              ]]}
71
            , {
72
              "when_cond" : [["EXPRESSION", {
73
                "args" : [["EXPRESSION", {
74
                  "args" : [["CALL", ["SIMPLE_NAME", "Feb"]]]}
75
                ]]}
76
              ]], "when_stmt" : [["NULL_STATEMENT", {
77
                }
78
              ]]}
79
            , {
80
              "when_cond" : [["EXPRESSION", {
81
                "args" : [["EXPRESSION", {
82
                  "args" : [["CALL", ["SIMPLE_NAME", "Mar"]]]}
83
                ]]}
84
              ]], "when_stmt" : [["NULL_STATEMENT", {
85
                }
86
              ]]}
87
            ]}
88
          ], ["ASSERTION_STATEMENT", {
89
            "cond" : ["EXPRESSION", {
90
              "args" : [["EXPRESSION", {
91
                "args" : [["EXPRESSION", {
92
                  "args" : [["EXPRESSION", {
93
                    "id" : "NOT", "args" : [["EXPRESSION", {
94
                      "id" : "=", "args" : [["EXPRESSION", {
95
                        "args" : [["EXPRESSION", {
96
                          "args" : [["EXPRESSION", {
97
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
98
                          ]]}
99
                        ]]}
100
                      ], ["EXPRESSION", {
101
                        "args" : [["EXPRESSION", {
102
                          "args" : [["EXPRESSION", {
103
                            "args" : [["CONSTANT_VALUE", {
104
                              "value" : ["CST_LITERAL", "5"]}
105
                            ]]}
106
                          ]]}
107
                        ]]}
108
                      ]]}
109
                    ]]}
110
                  ]]}
111
                ]]}
112
              ]]}
113
            ], "report" : ["EXPRESSION", {
114
              "args" : [["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["CONSTANT_VALUE", {
118
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s08b00x00p05n01i01491\""]}
119
                    ]]}
120
                  ]]}
121
                ]]}
122
              ]]}
123
            ], "severity" : ["EXPRESSION", {
124
              "args" : [["EXPRESSION", {
125
                "args" : [["EXPRESSION", {
126
                  "args" : [["EXPRESSION", {
127
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
128
                  ]]}
129
                ]]}
130
              ]]}
131
            ]}
132
          ], ["ASSERTION_STATEMENT", {
133
            "cond" : ["EXPRESSION", {
134
              "args" : [["EXPRESSION", {
135
                "args" : [["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["EXPRESSION", {
138
                      "id" : "=", "args" : [["EXPRESSION", {
139
                        "args" : [["EXPRESSION", {
140
                          "args" : [["EXPRESSION", {
141
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
142
                          ]]}
143
                        ]]}
144
                      ], ["EXPRESSION", {
145
                        "args" : [["EXPRESSION", {
146
                          "args" : [["EXPRESSION", {
147
                            "args" : [["CONSTANT_VALUE", {
148
                              "value" : ["CST_LITERAL", "5"]}
149
                            ]]}
150
                          ]]}
151
                        ]]}
152
                      ]]}
153
                    ]]}
154
                  ]]}
155
                ]]}
156
              ]]}
157
            ], "report" : ["EXPRESSION", {
158
              "args" : [["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "args" : [["CONSTANT_VALUE", {
162
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s08b00x00p05n01i01491 - each value of the subtype of the object of scalar type is represented only once in the set of choices of the case statement\""]}
163
                    ]]}
164
                  ]]}
165
                ]]}
166
              ]]}
167
            ], "severity" : ["EXPRESSION", {
168
              "args" : [["EXPRESSION", {
169
                "args" : [["EXPRESSION", {
170
                  "args" : [["EXPRESSION", {
171
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
172
                  ]]}
173
                ]]}
174
              ]]}
175
            ]}
176
          ], ["WAIT_STATEMENT"]]}
177
        ]]}
178
      ]}
179
    ]}
180
  }