Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.98 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s07b00x00p02n01i01442ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s07b00x00p02n01i01442arch"], "entity" : ["IDENTIFIER", "c08s07b00x00p02n01i01442ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "k"]], "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", "0"]}
20
                      ]]}
21
                    ]]}
22
                  ]]}
23
                ]]}
24
              ]}
25
            ]}
26
          , {
27
            "declaration" : ["VARIABLE_DECLARATION", {
28
              "names" : [["IDENTIFIER", "m"]], "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", "6"]}
36
                      ]]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]}
41
            ]}
42
          , {
43
            "declaration" : ["VARIABLE_DECLARATION", {
44
              "names" : [["IDENTIFIER", "j"]], "typ" : {
45
                "name" : ["SIMPLE_NAME", "boolean"]}
46
              , "init_val" : ["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "args" : [["CALL", ["SIMPLE_NAME", "TRUE"]]]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]}
55
            ]}
56
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
57
            "if_cases" : [{
58
              "if_cond" : ["EXPRESSION", {
59
                "id" : ">", "args" : [["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "args" : [["EXPRESSION", {
62
                      "args" : [["CALL", ["SIMPLE_NAME", "m"]]]}
63
                    ]]}
64
                  ]]}
65
                ], ["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "args" : [["EXPRESSION", {
68
                      "args" : [["CONSTANT_VALUE", {
69
                        "value" : ["CST_LITERAL", "5"]}
70
                      ]]}
71
                    ]]}
72
                  ]]}
73
                ]]}
74
              ], "if_block" : [["CASE_STATEMENT_TREE", {
75
                "guard" : ["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "args" : [["EXPRESSION", {
78
                      "args" : [["EXPRESSION", {
79
                        "args" : [["CALL", ["SIMPLE_NAME", "j"]]]}
80
                      ]]}
81
                    ]]}
82
                  ]]}
83
                ], "branches" : [{
84
                  "when_cond" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["CALL", ["SIMPLE_NAME", "TRUE"]]]}
87
                    ]]}
88
                  ]], "when_stmt" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
89
                    "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
90
                      "args" : [["EXPRESSION", {
91
                        "args" : [["EXPRESSION", {
92
                          "args" : [["EXPRESSION", {
93
                            "args" : [["CONSTANT_VALUE", {
94
                              "value" : ["CST_LITERAL", "1"]}
95
                            ]]}
96
                          ]]}
97
                        ]]}
98
                      ]]}
99
                    ]}
100
                  ]]}
101
                , {
102
                  "when_cond" : [["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "args" : [["CALL", ["SIMPLE_NAME", "FALSE"]]]}
105
                    ]]}
106
                  ]], "when_stmt" : [["NULL_STATEMENT", {
107
                    }
108
                  ]]}
109
                ]}
110
              ]]}
111
            ]}
112
          ], ["ASSERTION_STATEMENT", {
113
            "cond" : ["EXPRESSION", {
114
              "args" : [["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "id" : "NOT", "args" : [["EXPRESSION", {
118
                      "id" : "=", "args" : [["EXPRESSION", {
119
                        "args" : [["EXPRESSION", {
120
                          "args" : [["EXPRESSION", {
121
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
122
                          ]]}
123
                        ]]}
124
                      ], ["EXPRESSION", {
125
                        "args" : [["EXPRESSION", {
126
                          "args" : [["EXPRESSION", {
127
                            "args" : [["CONSTANT_VALUE", {
128
                              "value" : ["CST_LITERAL", "1"]}
129
                            ]]}
130
                          ]]}
131
                        ]]}
132
                      ]]}
133
                    ]]}
134
                  ]]}
135
                ]]}
136
              ]]}
137
            ], "report" : ["EXPRESSION", {
138
              "args" : [["EXPRESSION", {
139
                "args" : [["EXPRESSION", {
140
                  "args" : [["EXPRESSION", {
141
                    "args" : [["CONSTANT_VALUE", {
142
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s07b00x00p02n01i01442\""]}
143
                    ]]}
144
                  ]]}
145
                ]]}
146
              ]]}
147
            ], "severity" : ["EXPRESSION", {
148
              "args" : [["EXPRESSION", {
149
                "args" : [["EXPRESSION", {
150
                  "args" : [["EXPRESSION", {
151
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
152
                  ]]}
153
                ]]}
154
              ]]}
155
            ]}
156
          ], ["ASSERTION_STATEMENT", {
157
            "cond" : ["EXPRESSION", {
158
              "args" : [["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "args" : [["EXPRESSION", {
162
                      "id" : "=", "args" : [["EXPRESSION", {
163
                        "args" : [["EXPRESSION", {
164
                          "args" : [["EXPRESSION", {
165
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
166
                          ]]}
167
                        ]]}
168
                      ], ["EXPRESSION", {
169
                        "args" : [["EXPRESSION", {
170
                          "args" : [["EXPRESSION", {
171
                            "args" : [["CONSTANT_VALUE", {
172
                              "value" : ["CST_LITERAL", "1"]}
173
                            ]]}
174
                          ]]}
175
                        ]]}
176
                      ]]}
177
                    ]]}
178
                  ]]}
179
                ]]}
180
              ]]}
181
            ], "report" : ["EXPRESSION", {
182
              "args" : [["EXPRESSION", {
183
                "args" : [["EXPRESSION", {
184
                  "args" : [["EXPRESSION", {
185
                    "args" : [["CONSTANT_VALUE", {
186
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s07b00x00p02n01i01442 - CASE statement to be sequence statements of IF statement\""]}
187
                    ]]}
188
                  ]]}
189
                ]]}
190
              ]]}
191
            ], "severity" : ["EXPRESSION", {
192
              "args" : [["EXPRESSION", {
193
                "args" : [["EXPRESSION", {
194
                  "args" : [["EXPRESSION", {
195
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
196
                  ]]}
197
                ]]}
198
              ]]}
199
            ]}
200
          ], ["WAIT_STATEMENT"]]}
201
        ]]}
202
      ]}
203
    ]}
204
  }