Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (8.81 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c06s03b00x00p10n02i01024ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c06s03b00x00p10n02i01024arch"], "entity" : ["IDENTIFIER", "c06s03b00x00p10n02i01024ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "pop"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "bit"]}
13
            }
14
          ]}
15
        , {
16
          "declaration" : ["SIGNAL_DECLARATION", {
17
            "names" : [["IDENTIFIER", "done"]], "typ" : {
18
              "name" : ["SIMPLE_NAME", "bit"]}
19
            }
20
          ]}
21
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
22
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
23
            "declaration" : ["VARIABLE_DECLARATION", {
24
              "names" : [["IDENTIFIER", "done"]], "typ" : {
25
                "name" : ["SIMPLE_NAME", "bit"]}
26
              , "init_val" : ["EXPRESSION", {
27
                "args" : [["EXPRESSION", {
28
                  "args" : [["EXPRESSION", {
29
                    "args" : [["EXPRESSION", {
30
                      "args" : [["CONSTANT_VALUE", {
31
                        "value" : ["CST_LITERAL", "'1'"]}
32
                      ]]}
33
                    ]]}
34
                  ]]}
35
                ]]}
36
              ]}
37
            ]}
38
          , {
39
            "declaration" : ["VARIABLE_DECLARATION", {
40
              "names" : [["IDENTIFIER", "pop"]], "typ" : {
41
                "name" : ["SIMPLE_NAME", "bit"]}
42
              }
43
            ]}
44
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
45
            "lhs" : ["SIMPLE_NAME", "pop"], "rhs" : ["EXPRESSION", {
46
              "args" : [["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["CALL", ["SIMPLE_NAME", "done"]]]}
50
                  ]]}
51
                ]]}
52
              ]]}
53
            ]}
54
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
55
            "lhs" : ["SELECTED_NAME", [["SIMPLE_NAME", "c06s03b00x00p10n02i01024arch"], ["IDENTIFIER", "pop"]]], "rhs" : [{
56
              "value" : ["EXPRESSION", {
57
                "args" : [["EXPRESSION", {
58
                  "args" : [["EXPRESSION", {
59
                    "args" : [["EXPRESSION", {
60
                      "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "TESTING"], ["IDENTIFIER", "done"]]]]]}
61
                    ]]}
62
                  ]]}
63
                ]]}
64
              ]}
65
            ]}
66
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
67
            "lhs" : ["SELECTED_NAME", [["SIMPLE_NAME", "c06s03b00x00p10n02i01024arch"], ["IDENTIFIER", "done"]]], "rhs" : [{
68
              "value" : ["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["EXPRESSION", {
72
                      "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "TESTING"], ["IDENTIFIER", "pop"]]]]]}
73
                    ]]}
74
                  ]]}
75
                ]]}
76
              ]}
77
            ]}
78
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
79
            "cond" : ["EXPRESSION", {
80
              "args" : [["EXPRESSION", {
81
                "args" : [["EXPRESSION", {
82
                  "args" : [["EXPRESSION", {
83
                    "id" : "NOT", "args" : [["EXPRESSION", {
84
                      "id" : "and", "args" : [["EXPRESSION", {
85
                        "id" : "=", "args" : [["EXPRESSION", {
86
                          "args" : [["EXPRESSION", {
87
                            "args" : [["EXPRESSION", {
88
                              "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "c06s03b00x00p10n02i01024arch"], ["IDENTIFIER", "pop"]]]]]}
89
                            ]]}
90
                          ]]}
91
                        ], ["EXPRESSION", {
92
                          "args" : [["EXPRESSION", {
93
                            "args" : [["EXPRESSION", {
94
                              "args" : [["CONSTANT_VALUE", {
95
                                "value" : ["CST_LITERAL", "'1'"]}
96
                              ]]}
97
                            ]]}
98
                          ]]}
99
                        ]]}
100
                      ], ["EXPRESSION", {
101
                        "id" : "=", "args" : [["EXPRESSION", {
102
                          "args" : [["EXPRESSION", {
103
                            "args" : [["EXPRESSION", {
104
                              "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "c06s03b00x00p10n02i01024arch"], ["IDENTIFIER", "done"]]]]]}
105
                            ]]}
106
                          ]]}
107
                        ], ["EXPRESSION", {
108
                          "args" : [["EXPRESSION", {
109
                            "args" : [["EXPRESSION", {
110
                              "args" : [["CONSTANT_VALUE", {
111
                                "value" : ["CST_LITERAL", "'1'"]}
112
                              ]]}
113
                            ]]}
114
                          ]]}
115
                        ]]}
116
                      ]]}
117
                    ]]}
118
                  ]]}
119
                ]]}
120
              ]]}
121
            ], "report" : ["EXPRESSION", {
122
              "args" : [["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["CONSTANT_VALUE", {
126
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c06s03b00x00p10n02i01024\""]}
127
                    ]]}
128
                  ]]}
129
                ]]}
130
              ]]}
131
            ], "severity" : ["EXPRESSION", {
132
              "args" : [["EXPRESSION", {
133
                "args" : [["EXPRESSION", {
134
                  "args" : [["EXPRESSION", {
135
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
136
                  ]]}
137
                ]]}
138
              ]]}
139
            ]}
140
          ], ["ASSERTION_STATEMENT", {
141
            "cond" : ["EXPRESSION", {
142
              "args" : [["EXPRESSION", {
143
                "args" : [["EXPRESSION", {
144
                  "args" : [["EXPRESSION", {
145
                    "args" : [["EXPRESSION", {
146
                      "id" : "and", "args" : [["EXPRESSION", {
147
                        "id" : "=", "args" : [["EXPRESSION", {
148
                          "args" : [["EXPRESSION", {
149
                            "args" : [["EXPRESSION", {
150
                              "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "c06s03b00x00p10n02i01024arch"], ["IDENTIFIER", "pop"]]]]]}
151
                            ]]}
152
                          ]]}
153
                        ], ["EXPRESSION", {
154
                          "args" : [["EXPRESSION", {
155
                            "args" : [["EXPRESSION", {
156
                              "args" : [["CONSTANT_VALUE", {
157
                                "value" : ["CST_LITERAL", "'1'"]}
158
                              ]]}
159
                            ]]}
160
                          ]]}
161
                        ]]}
162
                      ], ["EXPRESSION", {
163
                        "id" : "=", "args" : [["EXPRESSION", {
164
                          "args" : [["EXPRESSION", {
165
                            "args" : [["EXPRESSION", {
166
                              "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "c06s03b00x00p10n02i01024arch"], ["IDENTIFIER", "done"]]]]]}
167
                            ]]}
168
                          ]]}
169
                        ], ["EXPRESSION", {
170
                          "args" : [["EXPRESSION", {
171
                            "args" : [["EXPRESSION", {
172
                              "args" : [["CONSTANT_VALUE", {
173
                                "value" : ["CST_LITERAL", "'1'"]}
174
                              ]]}
175
                            ]]}
176
                          ]]}
177
                        ]]}
178
                      ]]}
179
                    ]]}
180
                  ]]}
181
                ]]}
182
              ]]}
183
            ], "report" : ["EXPRESSION", {
184
              "args" : [["EXPRESSION", {
185
                "args" : [["EXPRESSION", {
186
                  "args" : [["EXPRESSION", {
187
                    "args" : [["CONSTANT_VALUE", {
188
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c06s03b00x00p10n02i01024 - An expanded name denoting an entity declared within a named construct is allowed only within the construct.\""]}
189
                    ]]}
190
                  ]]}
191
                ]]}
192
              ]]}
193
            ], "severity" : ["EXPRESSION", {
194
              "args" : [["EXPRESSION", {
195
                "args" : [["EXPRESSION", {
196
                  "args" : [["EXPRESSION", {
197
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
198
                  ]]}
199
                ]]}
200
              ]]}
201
            ]}
202
          ], ["WAIT_STATEMENT"]]}
203
        ]]}
204
      ]}
205
    ]}
206
  }