Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.73 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s08b00x00p04n03i01483ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s08b00x00p04n03i01483arch"], "entity" : ["IDENTIFIER", "c08s08b00x00p04n03i01483ent"], "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", "i"]], "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", "2"]}
36
                      ]]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]}
41
            ]}
42
          ], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
43
            "guard" : ["EXPRESSION", {
44
              "args" : [["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["CALL", ["SIMPLE_NAME", "i"]]]}
48
                  ]]}
49
                ]]}
50
              ]]}
51
            ], "branches" : [{
52
              "when_cond" : [["EXPRESSION", {
53
                "args" : [["EXPRESSION", {
54
                  "args" : [["CONSTANT_VALUE", {
55
                    "value" : ["CST_LITERAL", "1"]}
56
                  ]]}
57
                ]]}
58
              ], ["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["CONSTANT_VALUE", {
61
                    "value" : ["CST_LITERAL", "2"]}
62
                  ]]}
63
                ]]}
64
              ]], "when_stmt" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
65
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "args" : [["EXPRESSION", {
68
                      "args" : [["EXPRESSION", {
69
                        "args" : [["CONSTANT_VALUE", {
70
                          "value" : ["CST_LITERAL", "5"]}
71
                        ]]}
72
                      ]]}
73
                    ]]}
74
                  ]]}
75
                ]}
76
              ]]}
77
            , {
78
              "when_cond" : [["OTHERS"]], "when_stmt" : [["NULL_STATEMENT", {
79
                }
80
              ]]}
81
            ]}
82
          ], ["ASSERTION_STATEMENT", {
83
            "cond" : ["EXPRESSION", {
84
              "args" : [["EXPRESSION", {
85
                "args" : [["EXPRESSION", {
86
                  "args" : [["EXPRESSION", {
87
                    "id" : "NOT", "args" : [["EXPRESSION", {
88
                      "id" : "=", "args" : [["EXPRESSION", {
89
                        "args" : [["EXPRESSION", {
90
                          "args" : [["EXPRESSION", {
91
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
92
                          ]]}
93
                        ]]}
94
                      ], ["EXPRESSION", {
95
                        "args" : [["EXPRESSION", {
96
                          "args" : [["EXPRESSION", {
97
                            "args" : [["CONSTANT_VALUE", {
98
                              "value" : ["CST_LITERAL", "5"]}
99
                            ]]}
100
                          ]]}
101
                        ]]}
102
                      ]]}
103
                    ]]}
104
                  ]]}
105
                ]]}
106
              ]]}
107
            ], "report" : ["EXPRESSION", {
108
              "args" : [["EXPRESSION", {
109
                "args" : [["EXPRESSION", {
110
                  "args" : [["EXPRESSION", {
111
                    "args" : [["CONSTANT_VALUE", {
112
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s08b00x00p04n03i01483\""]}
113
                    ]]}
114
                  ]]}
115
                ]]}
116
              ]]}
117
            ], "severity" : ["EXPRESSION", {
118
              "args" : [["EXPRESSION", {
119
                "args" : [["EXPRESSION", {
120
                  "args" : [["EXPRESSION", {
121
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
122
                  ]]}
123
                ]]}
124
              ]]}
125
            ]}
126
          ], ["ASSERTION_STATEMENT", {
127
            "cond" : ["EXPRESSION", {
128
              "args" : [["EXPRESSION", {
129
                "args" : [["EXPRESSION", {
130
                  "args" : [["EXPRESSION", {
131
                    "args" : [["EXPRESSION", {
132
                      "id" : "=", "args" : [["EXPRESSION", {
133
                        "args" : [["EXPRESSION", {
134
                          "args" : [["EXPRESSION", {
135
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
136
                          ]]}
137
                        ]]}
138
                      ], ["EXPRESSION", {
139
                        "args" : [["EXPRESSION", {
140
                          "args" : [["EXPRESSION", {
141
                            "args" : [["CONSTANT_VALUE", {
142
                              "value" : ["CST_LITERAL", "5"]}
143
                            ]]}
144
                          ]]}
145
                        ]]}
146
                      ]]}
147
                    ]]}
148
                  ]]}
149
                ]]}
150
              ]]}
151
            ], "report" : ["EXPRESSION", {
152
              "args" : [["EXPRESSION", {
153
                "args" : [["EXPRESSION", {
154
                  "args" : [["EXPRESSION", {
155
                    "args" : [["CONSTANT_VALUE", {
156
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s08b00x00p04n03i01483 - one alternative can consist of serveral choices\""]}
157
                    ]]}
158
                  ]]}
159
                ]]}
160
              ]]}
161
            ], "severity" : ["EXPRESSION", {
162
              "args" : [["EXPRESSION", {
163
                "args" : [["EXPRESSION", {
164
                  "args" : [["EXPRESSION", {
165
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
166
                  ]]}
167
                ]]}
168
              ]]}
169
            ]}
170
          ], ["WAIT_STATEMENT"]]}
171
        ]]}
172
      ]}
173
    ]}
174
  }