Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.91 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s05b01x00p01n01i01414ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s05b01x00p01n01i01414arch"], "entity" : ["IDENTIFIER", "c08s05b01x00p01n01i01414ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "definition" : ["TYPE_DECLARATION", {
12
              "name" : ["IDENTIFIER", "array_type"], "definition" : ["ARRAY_TYPE_DEFINITION", {
13
                "const" : ["INDEX_CONSTRAINT", {
14
                  "ranges" : [["RANGE_WITH_DIRECTION", {
15
                    "direction" : "to", "from" : ["EXPRESSION", {
16
                      "args" : [["EXPRESSION", {
17
                        "args" : [["CONSTANT_VALUE", {
18
                          "value" : ["CST_LITERAL", "1"]}
19
                        ]]}
20
                      ]]}
21
                    ], "_to" : ["EXPRESSION", {
22
                      "args" : [["EXPRESSION", {
23
                        "args" : [["CONSTANT_VALUE", {
24
                          "value" : ["CST_LITERAL", "10"]}
25
                        ]]}
26
                      ]]}
27
                    ]}
28
                  ]]}
29
                ], "definition" : {
30
                  "name" : ["SIMPLE_NAME", "integer"]}
31
                }
32
              ]}
33
            ]}
34
          , {
35
            "declaration" : ["VARIABLE_DECLARATION", {
36
              "names" : [["IDENTIFIER", "v1"]], "typ" : {
37
                "name" : ["SIMPLE_NAME", "array_type"]}
38
              }
39
            ]}
40
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
41
            "lhs" : ["INDEXED_NAME", {
42
              "id" : ["SIMPLE_NAME", "v1"], "exprs" : [["EXPRESSION", {
43
                "args" : [["EXPRESSION", {
44
                  "args" : [["EXPRESSION", {
45
                    "args" : [["EXPRESSION", {
46
                      "args" : [["CONSTANT_VALUE", {
47
                        "value" : ["CST_LITERAL", "1"]}
48
                      ]]}
49
                    ]]}
50
                  ]]}
51
                ]]}
52
              ]]}
53
            ], "rhs" : ["EXPRESSION", {
54
              "args" : [["EXPRESSION", {
55
                "args" : [["EXPRESSION", {
56
                  "args" : [["EXPRESSION", {
57
                    "args" : [["QUALIFIED_EXPRESSION", {
58
                      "type_mark" : ["SIMPLE_NAME", "integer"], "expression" : ["EXPRESSION", {
59
                        "args" : [["EXPRESSION", {
60
                          "args" : [["EXPRESSION", {
61
                            "args" : [["EXPRESSION", {
62
                              "args" : [["CONSTANT_VALUE", {
63
                                "value" : ["CST_LITERAL", "12"]}
64
                              ]]}
65
                            ]]}
66
                          ]]}
67
                        ]]}
68
                      ]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]]}
73
            ]}
74
          ], ["ASSERTION_STATEMENT", {
75
            "cond" : ["EXPRESSION", {
76
              "args" : [["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "id" : "NOT", "args" : [["EXPRESSION", {
80
                      "id" : "=", "args" : [["EXPRESSION", {
81
                        "args" : [["EXPRESSION", {
82
                          "args" : [["EXPRESSION", {
83
                            "args" : [["CALL", ["INDEXED_NAME", {
84
                              "id" : ["SIMPLE_NAME", "v1"], "exprs" : [["EXPRESSION", {
85
                                "args" : [["EXPRESSION", {
86
                                  "args" : [["EXPRESSION", {
87
                                    "args" : [["EXPRESSION", {
88
                                      "args" : [["CONSTANT_VALUE", {
89
                                        "value" : ["CST_LITERAL", "1"]}
90
                                      ]]}
91
                                    ]]}
92
                                  ]]}
93
                                ]]}
94
                              ]]}
95
                            ]]]}
96
                          ]]}
97
                        ]]}
98
                      ], ["EXPRESSION", {
99
                        "args" : [["EXPRESSION", {
100
                          "args" : [["EXPRESSION", {
101
                            "args" : [["CONSTANT_VALUE", {
102
                              "value" : ["CST_LITERAL", "12"]}
103
                            ]]}
104
                          ]]}
105
                        ]]}
106
                      ]]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]]}
111
            ], "report" : ["EXPRESSION", {
112
              "args" : [["EXPRESSION", {
113
                "args" : [["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "args" : [["CONSTANT_VALUE", {
116
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s05b01x00p01n01i01414\""]}
117
                    ]]}
118
                  ]]}
119
                ]]}
120
              ]]}
121
            ], "severity" : ["EXPRESSION", {
122
              "args" : [["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
126
                  ]]}
127
                ]]}
128
              ]]}
129
            ]}
130
          ], ["ASSERTION_STATEMENT", {
131
            "cond" : ["EXPRESSION", {
132
              "args" : [["EXPRESSION", {
133
                "args" : [["EXPRESSION", {
134
                  "args" : [["EXPRESSION", {
135
                    "args" : [["EXPRESSION", {
136
                      "id" : "=", "args" : [["EXPRESSION", {
137
                        "args" : [["EXPRESSION", {
138
                          "args" : [["EXPRESSION", {
139
                            "args" : [["CALL", ["INDEXED_NAME", {
140
                              "id" : ["SIMPLE_NAME", "v1"], "exprs" : [["EXPRESSION", {
141
                                "args" : [["EXPRESSION", {
142
                                  "args" : [["EXPRESSION", {
143
                                    "args" : [["EXPRESSION", {
144
                                      "args" : [["CONSTANT_VALUE", {
145
                                        "value" : ["CST_LITERAL", "1"]}
146
                                      ]]}
147
                                    ]]}
148
                                  ]]}
149
                                ]]}
150
                              ]]}
151
                            ]]]}
152
                          ]]}
153
                        ]]}
154
                      ], ["EXPRESSION", {
155
                        "args" : [["EXPRESSION", {
156
                          "args" : [["EXPRESSION", {
157
                            "args" : [["CONSTANT_VALUE", {
158
                              "value" : ["CST_LITERAL", "12"]}
159
                            ]]}
160
                          ]]}
161
                        ]]}
162
                      ]]}
163
                    ]]}
164
                  ]]}
165
                ]]}
166
              ]]}
167
            ], "report" : ["EXPRESSION", {
168
              "args" : [["EXPRESSION", {
169
                "args" : [["EXPRESSION", {
170
                  "args" : [["EXPRESSION", {
171
                    "args" : [["CONSTANT_VALUE", {
172
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s05b01x00p01n01i01414 - Each element of the array variable there is a matching element on the right hand side.\""]}
173
                    ]]}
174
                  ]]}
175
                ]]}
176
              ]]}
177
            ], "severity" : ["EXPRESSION", {
178
              "args" : [["EXPRESSION", {
179
                "args" : [["EXPRESSION", {
180
                  "args" : [["EXPRESSION", {
181
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
182
                  ]]}
183
                ]]}
184
              ]]}
185
            ]}
186
          ], ["WAIT_STATEMENT"]]}
187
        ]]}
188
      ]}
189
    ]}
190
  }