Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.64 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s13b00x00p03n01i01647ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s13b00x00p03n01i01647arch"], "entity" : ["IDENTIFIER", "c08s13b00x00p03n01i01647ent"], "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", "boolean"]}
14
              , "init_val" : ["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["CALL", ["SIMPLE_NAME", "true"]]]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]}
23
            ]}
24
          , {
25
            "declaration" : ["VARIABLE_DECLARATION", {
26
              "names" : [["IDENTIFIER", "kk"]], "typ" : {
27
                "name" : ["SIMPLE_NAME", "integer"]}
28
              , "init_val" : ["EXPRESSION", {
29
                "args" : [["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["EXPRESSION", {
32
                      "args" : [["CONSTANT_VALUE", {
33
                        "value" : ["CST_LITERAL", "0"]}
34
                      ]]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]}
39
            ]}
40
          ], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
41
            "guard" : ["EXPRESSION", {
42
              "args" : [["EXPRESSION", {
43
                "args" : [["EXPRESSION", {
44
                  "args" : [["EXPRESSION", {
45
                    "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
46
                  ]]}
47
                ]]}
48
              ]]}
49
            ], "branches" : [{
50
              "when_cond" : [["EXPRESSION", {
51
                "args" : [["EXPRESSION", {
52
                  "args" : [["CALL", ["SIMPLE_NAME", "false"]]]}
53
                ]]}
54
              ]], "when_stmt" : [["NULL_STATEMENT", {
55
                }
56
              ]]}
57
            , {
58
              "when_cond" : [["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["CALL", ["SIMPLE_NAME", "true"]]]}
61
                ]]}
62
              ]], "when_stmt" : [["NULL_STATEMENT", {
63
                }
64
              ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
65
                "lhs" : ["SIMPLE_NAME", "kk"], "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
          ], ["ASSERTION_STATEMENT", {
79
            "cond" : ["EXPRESSION", {
80
              "args" : [["EXPRESSION", {
81
                "args" : [["EXPRESSION", {
82
                  "args" : [["EXPRESSION", {
83
                    "id" : "NOT", "args" : [["EXPRESSION", {
84
                      "id" : "=", "args" : [["EXPRESSION", {
85
                        "args" : [["EXPRESSION", {
86
                          "args" : [["EXPRESSION", {
87
                            "args" : [["CALL", ["SIMPLE_NAME", "kk"]]]}
88
                          ]]}
89
                        ]]}
90
                      ], ["EXPRESSION", {
91
                        "args" : [["EXPRESSION", {
92
                          "args" : [["EXPRESSION", {
93
                            "args" : [["CONSTANT_VALUE", {
94
                              "value" : ["CST_LITERAL", "5"]}
95
                            ]]}
96
                          ]]}
97
                        ]]}
98
                      ]]}
99
                    ]]}
100
                  ]]}
101
                ]]}
102
              ]]}
103
            ], "report" : ["EXPRESSION", {
104
              "args" : [["EXPRESSION", {
105
                "args" : [["EXPRESSION", {
106
                  "args" : [["EXPRESSION", {
107
                    "args" : [["CONSTANT_VALUE", {
108
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s13b00x00p03n01i01647\""]}
109
                    ]]}
110
                  ]]}
111
                ]]}
112
              ]]}
113
            ], "severity" : ["EXPRESSION", {
114
              "args" : [["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
118
                  ]]}
119
                ]]}
120
              ]]}
121
            ]}
122
          ], ["ASSERTION_STATEMENT", {
123
            "cond" : ["EXPRESSION", {
124
              "args" : [["EXPRESSION", {
125
                "args" : [["EXPRESSION", {
126
                  "args" : [["EXPRESSION", {
127
                    "args" : [["EXPRESSION", {
128
                      "id" : "=", "args" : [["EXPRESSION", {
129
                        "args" : [["EXPRESSION", {
130
                          "args" : [["EXPRESSION", {
131
                            "args" : [["CALL", ["SIMPLE_NAME", "kk"]]]}
132
                          ]]}
133
                        ]]}
134
                      ], ["EXPRESSION", {
135
                        "args" : [["EXPRESSION", {
136
                          "args" : [["EXPRESSION", {
137
                            "args" : [["CONSTANT_VALUE", {
138
                              "value" : ["CST_LITERAL", "5"]}
139
                            ]]}
140
                          ]]}
141
                        ]]}
142
                      ]]}
143
                    ]]}
144
                  ]]}
145
                ]]}
146
              ]]}
147
            ], "report" : ["EXPRESSION", {
148
              "args" : [["EXPRESSION", {
149
                "args" : [["EXPRESSION", {
150
                  "args" : [["EXPRESSION", {
151
                    "args" : [["CONSTANT_VALUE", {
152
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s13b00x00p03n01i01647 - The execution of the null statement has no effect other than to pass on to the next statement.\""]}
153
                    ]]}
154
                  ]]}
155
                ]]}
156
              ]]}
157
            ], "severity" : ["EXPRESSION", {
158
              "args" : [["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
162
                  ]]}
163
                ]]}
164
              ]]}
165
            ]}
166
          ], ["WAIT_STATEMENT"]]}
167
        ]]}
168
      ]}
169
    ]}
170
  }