Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (9.03 KB)

1 3fd18385 Arnaud Dieumegard
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c07s02b07x00p10n01i02363ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c07s02b07x00p10n01i02363arch"], "entity" : ["IDENTIFIER", "c07s02b07x00p10n01i02363ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "INTV"]], "typ" : {
13
                "name" : ["SIMPLE_NAME", "INTEGER"]}
14
              }
15
            ]}
16
          , {
17
            "declaration" : ["VARIABLE_DECLARATION", {
18
              "names" : [["IDENTIFIER", "res"]], "typ" : {
19
                "name" : ["SIMPLE_NAME", "real"]}
20
              }
21
            ]}
22
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
23
            "lhs" : ["SIMPLE_NAME", "INTV"], "rhs" : ["EXPRESSION", {
24
              "args" : [["EXPRESSION", {
25
                "args" : [["EXPRESSION", {
26
                  "id" : "-", "args" : [["EXPRESSION", {
27
                    "args" : [["CONSTANT_VALUE", {
28
                      "value" : ["CST_LITERAL", "2"]}
29
                    ]]}
30
                  ]]}
31
                ]]}
32
              ]]}
33
            ]}
34
          ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
35
            "lhs" : ["SIMPLE_NAME", "res"], "rhs" : ["EXPRESSION", {
36
              "args" : [["EXPRESSION", {
37
                "args" : [["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "id" : "**", "args" : [["CONSTANT_VALUE", {
40
                      "value" : ["CST_LITERAL", "3.0"]}
41
                    ], ["CALL", ["SIMPLE_NAME", "INTV"]]]}
42
                  ]]}
43
                ]]}
44
              ]]}
45
            ]}
46
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
47
            "cond" : ["EXPRESSION", {
48
              "args" : [["EXPRESSION", {
49
                "args" : [["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "id" : "NOT", "args" : [["EXPRESSION", {
52
                      "id" : "and", "args" : [["EXPRESSION", {
53
                        "args" : [["EXPRESSION", {
54
                          "args" : [["EXPRESSION", {
55
                            "args" : [["EXPRESSION", {
56
                              "args" : [["EXPRESSION", {
57
                                "id" : "<", "args" : [["EXPRESSION", {
58
                                  "args" : [["EXPRESSION", {
59
                                    "args" : [["EXPRESSION", {
60
                                      "args" : [["CONSTANT_VALUE", {
61
                                        "value" : ["CST_LITERAL", "0.1111111"]}
62
                                      ]]}
63
                                    ]]}
64
                                  ]]}
65
                                ], ["EXPRESSION", {
66
                                  "args" : [["EXPRESSION", {
67
                                    "args" : [["EXPRESSION", {
68
                                      "args" : [["CALL", ["SIMPLE_NAME", "res"]]]}
69
                                    ]]}
70
                                  ]]}
71
                                ]]}
72
                              ]]}
73
                            ]]}
74
                          ]]}
75
                        ]]}
76
                      ], ["EXPRESSION", {
77
                        "args" : [["EXPRESSION", {
78
                          "args" : [["EXPRESSION", {
79
                            "args" : [["EXPRESSION", {
80
                              "args" : [["EXPRESSION", {
81
                                "id" : "<", "args" : [["EXPRESSION", {
82
                                  "args" : [["EXPRESSION", {
83
                                    "args" : [["EXPRESSION", {
84
                                      "args" : [["CALL", ["SIMPLE_NAME", "res"]]]}
85
                                    ]]}
86
                                  ]]}
87
                                ], ["EXPRESSION", {
88
                                  "args" : [["EXPRESSION", {
89
                                    "args" : [["EXPRESSION", {
90
                                      "args" : [["CONSTANT_VALUE", {
91
                                        "value" : ["CST_LITERAL", "0.1111112"]}
92
                                      ]]}
93
                                    ]]}
94
                                  ]]}
95
                                ]]}
96
                              ]]}
97
                            ]]}
98
                          ]]}
99
                        ]]}
100
                      ]]}
101
                    ]]}
102
                  ]]}
103
                ]]}
104
              ]]}
105
            ], "report" : ["EXPRESSION", {
106
              "args" : [["EXPRESSION", {
107
                "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["CONSTANT_VALUE", {
110
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c07s02b07x00p10n01i02363\""]}
111
                    ]]}
112
                  ]]}
113
                ]]}
114
              ]]}
115
            ], "severity" : ["EXPRESSION", {
116
              "args" : [["EXPRESSION", {
117
                "args" : [["EXPRESSION", {
118
                  "args" : [["EXPRESSION", {
119
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
120
                  ]]}
121
                ]]}
122
              ]]}
123
            ]}
124
          ], ["ASSERTION_STATEMENT", {
125
            "cond" : ["EXPRESSION", {
126
              "args" : [["EXPRESSION", {
127
                "args" : [["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["EXPRESSION", {
130
                      "id" : "and", "args" : [["EXPRESSION", {
131
                        "args" : [["EXPRESSION", {
132
                          "args" : [["EXPRESSION", {
133
                            "args" : [["EXPRESSION", {
134
                              "args" : [["EXPRESSION", {
135
                                "id" : "<", "args" : [["EXPRESSION", {
136
                                  "args" : [["EXPRESSION", {
137
                                    "args" : [["EXPRESSION", {
138
                                      "args" : [["CONSTANT_VALUE", {
139
                                        "value" : ["CST_LITERAL", "0.1111111"]}
140
                                      ]]}
141
                                    ]]}
142
                                  ]]}
143
                                ], ["EXPRESSION", {
144
                                  "args" : [["EXPRESSION", {
145
                                    "args" : [["EXPRESSION", {
146
                                      "args" : [["CALL", ["SIMPLE_NAME", "res"]]]}
147
                                    ]]}
148
                                  ]]}
149
                                ]]}
150
                              ]]}
151
                            ]]}
152
                          ]]}
153
                        ]]}
154
                      ], ["EXPRESSION", {
155
                        "args" : [["EXPRESSION", {
156
                          "args" : [["EXPRESSION", {
157
                            "args" : [["EXPRESSION", {
158
                              "args" : [["EXPRESSION", {
159
                                "id" : "<", "args" : [["EXPRESSION", {
160
                                  "args" : [["EXPRESSION", {
161
                                    "args" : [["EXPRESSION", {
162
                                      "args" : [["CALL", ["SIMPLE_NAME", "res"]]]}
163
                                    ]]}
164
                                  ]]}
165
                                ], ["EXPRESSION", {
166
                                  "args" : [["EXPRESSION", {
167
                                    "args" : [["EXPRESSION", {
168
                                      "args" : [["CONSTANT_VALUE", {
169
                                        "value" : ["CST_LITERAL", "0.1111112"]}
170
                                      ]]}
171
                                    ]]}
172
                                  ]]}
173
                                ]]}
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: c07s02b07x00p10n01i02363 - Exponentiation of a real with a negative exponent test failed.\""]}
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
  }