Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (10 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c07s02b00x00p09n03i01909ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c07s02b00x00p09n03i01909arch"], "entity" : ["IDENTIFIER", "c07s02b00x00p09n03i01909ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "Q"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "BIT"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "'1'"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "R"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "BIT"]}
29
            , "init_val" : ["EXPRESSION", {
30
              "args" : [["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["CONSTANT_VALUE", {
34
                      "value" : ["CST_LITERAL", "'0'"]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]]}
39
            ]}
40
          ]}
41
        , {
42
          "declaration" : ["SIGNAL_DECLARATION", {
43
            "names" : [["IDENTIFIER", "S"]], "typ" : {
44
              "name" : ["SIMPLE_NAME", "BIT"]}
45
            , "init_val" : ["EXPRESSION", {
46
              "args" : [["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["CONSTANT_VALUE", {
50
                      "value" : ["CST_LITERAL", "'1'"]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]]}
55
            ]}
56
          ]}
57
        , {
58
          "declaration" : ["SIGNAL_DECLARATION", {
59
            "names" : [["IDENTIFIER", "PP"], ["IDENTIFIER", "P2"]], "typ" : {
60
              "name" : ["SIMPLE_NAME", "BIT"]}
61
            , "init_val" : ["EXPRESSION", {
62
              "args" : [["EXPRESSION", {
63
                "args" : [["EXPRESSION", {
64
                  "args" : [["EXPRESSION", {
65
                    "args" : [["CONSTANT_VALUE", {
66
                      "value" : ["CST_LITERAL", "'1'"]}
67
                    ]]}
68
                  ]]}
69
                ]]}
70
              ]]}
71
            ]}
72
          ]}
73
        , {
74
          "declaration" : ["SIGNAL_DECLARATION", {
75
            "names" : [["IDENTIFIER", "R1"]], "typ" : {
76
              "name" : ["SIMPLE_NAME", "BIT"]}
77
            }
78
          ]}
79
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
80
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
81
            "lhs" : ["SIMPLE_NAME", "R1"], "rhs" : [{
82
              "value" : ["EXPRESSION", {
83
                "id" : "and", "args" : [["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["EXPRESSION", {
87
                        "args" : [["EXPRESSION", {
88
                          "id" : "or", "args" : [["EXPRESSION", {
89
                            "args" : [["EXPRESSION", {
90
                              "args" : [["EXPRESSION", {
91
                                "args" : [["EXPRESSION", {
92
                                  "args" : [["EXPRESSION", {
93
                                    "id" : "and", "args" : [["EXPRESSION", {
94
                                      "args" : [["EXPRESSION", {
95
                                        "args" : [["EXPRESSION", {
96
                                          "args" : [["EXPRESSION", {
97
                                            "args" : [["CALL", ["SIMPLE_NAME", "Q"]]]}
98
                                          ]]}
99
                                        ]]}
100
                                      ]]}
101
                                    ], ["EXPRESSION", {
102
                                      "args" : [["EXPRESSION", {
103
                                        "args" : [["EXPRESSION", {
104
                                          "args" : [["EXPRESSION", {
105
                                            "args" : [["CALL", ["SIMPLE_NAME", "S"]]]}
106
                                          ]]}
107
                                        ]]}
108
                                      ]]}
109
                                    ]]}
110
                                  ]]}
111
                                ]]}
112
                              ]]}
113
                            ]]}
114
                          ], ["EXPRESSION", {
115
                            "args" : [["EXPRESSION", {
116
                              "args" : [["EXPRESSION", {
117
                                "args" : [["EXPRESSION", {
118
                                  "args" : [["CALL", ["SIMPLE_NAME", "R"]]]}
119
                                ]]}
120
                              ]]}
121
                            ]]}
122
                          ]]}
123
                        ]]}
124
                      ]]}
125
                    ]]}
126
                  ]]}
127
                ], ["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["EXPRESSION", {
130
                      "args" : [["EXPRESSION", {
131
                        "args" : [["EXPRESSION", {
132
                          "id" : "and", "args" : [["EXPRESSION", {
133
                            "args" : [["EXPRESSION", {
134
                              "args" : [["EXPRESSION", {
135
                                "args" : [["EXPRESSION", {
136
                                  "args" : [["CALL", ["SIMPLE_NAME", "P2"]]]}
137
                                ]]}
138
                              ]]}
139
                            ]]}
140
                          ], ["EXPRESSION", {
141
                            "args" : [["EXPRESSION", {
142
                              "args" : [["EXPRESSION", {
143
                                "args" : [["EXPRESSION", {
144
                                  "args" : [["CALL", ["SIMPLE_NAME", "PP"]]]}
145
                                ]]}
146
                              ]]}
147
                            ]]}
148
                          ]]}
149
                        ]]}
150
                      ]]}
151
                    ]]}
152
                  ]]}
153
                ]]}
154
              ]}
155
            ]}
156
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
157
            "cond" : ["EXPRESSION", {
158
              "args" : [["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "id" : "NOT", "args" : [["EXPRESSION", {
162
                      "id" : "=", "args" : [["EXPRESSION", {
163
                        "args" : [["EXPRESSION", {
164
                          "args" : [["EXPRESSION", {
165
                            "args" : [["CALL", ["SIMPLE_NAME", "R1"]]]}
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", "\"***PASSED TEST: c07s02b00x00p09n03i01909\""]}
187
                    ]]}
188
                  ]]}
189
                ]]}
190
              ]]}
191
            ], "severity" : ["EXPRESSION", {
192
              "args" : [["EXPRESSION", {
193
                "args" : [["EXPRESSION", {
194
                  "args" : [["EXPRESSION", {
195
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
196
                  ]]}
197
                ]]}
198
              ]]}
199
            ]}
200
          ], ["ASSERTION_STATEMENT", {
201
            "cond" : ["EXPRESSION", {
202
              "args" : [["EXPRESSION", {
203
                "args" : [["EXPRESSION", {
204
                  "args" : [["EXPRESSION", {
205
                    "args" : [["EXPRESSION", {
206
                      "id" : "=", "args" : [["EXPRESSION", {
207
                        "args" : [["EXPRESSION", {
208
                          "args" : [["EXPRESSION", {
209
                            "args" : [["CALL", ["SIMPLE_NAME", "R1"]]]}
210
                          ]]}
211
                        ]]}
212
                      ], ["EXPRESSION", {
213
                        "args" : [["EXPRESSION", {
214
                          "args" : [["EXPRESSION", {
215
                            "args" : [["CONSTANT_VALUE", {
216
                              "value" : ["CST_LITERAL", "'1'"]}
217
                            ]]}
218
                          ]]}
219
                        ]]}
220
                      ]]}
221
                    ]]}
222
                  ]]}
223
                ]]}
224
              ]]}
225
            ], "report" : ["EXPRESSION", {
226
              "args" : [["EXPRESSION", {
227
                "args" : [["EXPRESSION", {
228
                  "args" : [["EXPRESSION", {
229
                    "args" : [["CONSTANT_VALUE", {
230
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c07s02b00x00p09n03i01909 - The parentheses can be used to control the association of operators and operands.\""]}
231
                    ]]}
232
                  ]]}
233
                ]]}
234
              ]]}
235
            ], "severity" : ["EXPRESSION", {
236
              "args" : [["EXPRESSION", {
237
                "args" : [["EXPRESSION", {
238
                  "args" : [["EXPRESSION", {
239
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
240
                  ]]}
241
                ]]}
242
              ]]}
243
            ]}
244
          ], ["WAIT_STATEMENT"]]}
245
        ]]}
246
      ]}
247
    ]}
248
  }