Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.56 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s13b00x00p03n01i01646ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s13b00x00p03n01i01646arch"], "entity" : ["IDENTIFIER", "c08s13b00x00p03n01i01646ent"], "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
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
27
            "if_cases" : [{
28
              "if_cond" : ["EXPRESSION", {
29
                "args" : [["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["EXPRESSION", {
32
                      "args" : [["CALL", ["SIMPLE_NAME", "TRUE"]]]}
33
                    ]]}
34
                  ]]}
35
                ]]}
36
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
37
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["EXPRESSION", {
40
                      "args" : [["EXPRESSION", {
41
                        "args" : [["CONSTANT_VALUE", {
42
                          "value" : ["CST_LITERAL", "5"]}
43
                        ]]}
44
                      ]]}
45
                    ]]}
46
                  ]]}
47
                ]}
48
              ], ["NULL_STATEMENT", {
49
                }
50
              ]]}
51
            , {
52
              "if_cond" : ["EXPRESSION", {
53
                "args" : [["EXPRESSION", {
54
                  "args" : [["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["CALL", ["SIMPLE_NAME", "FALSE"]]]}
57
                    ]]}
58
                  ]]}
59
                ]]}
60
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
61
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
62
                  "args" : [["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["EXPRESSION", {
65
                        "args" : [["CONSTANT_VALUE", {
66
                          "value" : ["CST_LITERAL", "5"]}
67
                        ]]}
68
                      ]]}
69
                    ]]}
70
                  ]]}
71
                ]}
72
              ], ["NULL_STATEMENT", {
73
                }
74
              ]]}
75
            ]}
76
          ], ["ASSERTION_STATEMENT", {
77
            "cond" : ["EXPRESSION", {
78
              "args" : [["EXPRESSION", {
79
                "args" : [["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "id" : "NOT", "args" : [["EXPRESSION", {
82
                      "id" : "=", "args" : [["EXPRESSION", {
83
                        "args" : [["EXPRESSION", {
84
                          "args" : [["EXPRESSION", {
85
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
86
                          ]]}
87
                        ]]}
88
                      ], ["EXPRESSION", {
89
                        "args" : [["EXPRESSION", {
90
                          "args" : [["EXPRESSION", {
91
                            "args" : [["CONSTANT_VALUE", {
92
                              "value" : ["CST_LITERAL", "5"]}
93
                            ]]}
94
                          ]]}
95
                        ]]}
96
                      ]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ]]}
101
            ], "report" : ["EXPRESSION", {
102
              "args" : [["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["EXPRESSION", {
105
                    "args" : [["CONSTANT_VALUE", {
106
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s13b00x00p03n01i01646\""]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]]}
111
            ], "severity" : ["EXPRESSION", {
112
              "args" : [["EXPRESSION", {
113
                "args" : [["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
116
                  ]]}
117
                ]]}
118
              ]]}
119
            ]}
120
          ], ["ASSERTION_STATEMENT", {
121
            "cond" : ["EXPRESSION", {
122
              "args" : [["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["EXPRESSION", {
126
                      "id" : "=", "args" : [["EXPRESSION", {
127
                        "args" : [["EXPRESSION", {
128
                          "args" : [["EXPRESSION", {
129
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
130
                          ]]}
131
                        ]]}
132
                      ], ["EXPRESSION", {
133
                        "args" : [["EXPRESSION", {
134
                          "args" : [["EXPRESSION", {
135
                            "args" : [["CONSTANT_VALUE", {
136
                              "value" : ["CST_LITERAL", "5"]}
137
                            ]]}
138
                          ]]}
139
                        ]]}
140
                      ]]}
141
                    ]]}
142
                  ]]}
143
                ]]}
144
              ]]}
145
            ], "report" : ["EXPRESSION", {
146
              "args" : [["EXPRESSION", {
147
                "args" : [["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "args" : [["CONSTANT_VALUE", {
150
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s13b00x00p03n01i01646 - NULL statement has no effect other than to pass on to the next statement\""]}
151
                    ]]}
152
                  ]]}
153
                ]]}
154
              ]]}
155
            ], "severity" : ["EXPRESSION", {
156
              "args" : [["EXPRESSION", {
157
                "args" : [["EXPRESSION", {
158
                  "args" : [["EXPRESSION", {
159
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
160
                  ]]}
161
                ]]}
162
              ]]}
163
            ]}
164
          ], ["WAIT_STATEMENT"]]}
165
        ]]}
166
      ]}
167
    ]}
168
  }