Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.62 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c06s05b00x00p02n01i01086ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c06s05b00x00p02n01i01086arch"], "entity" : ["IDENTIFIER", "c06s05b00x00p02n01i01086ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "str"]], "typ" : {
13
                "name" : ["SIMPLE_NAME", "string"], "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", "25"]}
25
                        ]]}
26
                      ]]}
27
                    ]}
28
                  ]]}
29
                ]}
30
              , "init_val" : ["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["EXPRESSION", {
34
                      "args" : [["CONSTANT_VALUE", {
35
                        "value" : ["CST_LITERAL", "\"This is array slice check\""]}
36
                      ]]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]}
41
            ]}
42
          , {
43
            "declaration" : ["VARIABLE_DECLARATION", {
44
              "names" : [["IDENTIFIER", "k"]], "typ" : {
45
                "name" : ["SIMPLE_NAME", "integer"]}
46
              }
47
            ]}
48
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
49
            "if_cases" : [{
50
              "if_cond" : ["EXPRESSION", {
51
                "id" : "=", "args" : [["EXPRESSION", {
52
                  "args" : [["EXPRESSION", {
53
                    "args" : [["EXPRESSION", {
54
                      "args" : [["CALL", ["SLICE_NAME", {
55
                        "id" : ["SIMPLE_NAME", "str"], "range" : ["RANGE_WITH_DIRECTION", {
56
                          "direction" : "to", "from" : ["EXPRESSION", {
57
                            "args" : [["EXPRESSION", {
58
                              "args" : [["CONSTANT_VALUE", {
59
                                "value" : ["CST_LITERAL", "1"]}
60
                              ]]}
61
                            ]]}
62
                          ], "_to" : ["EXPRESSION", {
63
                            "args" : [["EXPRESSION", {
64
                              "args" : [["CONSTANT_VALUE", {
65
                                "value" : ["CST_LITERAL", "3"]}
66
                              ]]}
67
                            ]]}
68
                          ]}
69
                        ]}
70
                      ]]]}
71
                    ]]}
72
                  ]]}
73
                ], ["EXPRESSION", {
74
                  "args" : [["EXPRESSION", {
75
                    "args" : [["EXPRESSION", {
76
                      "args" : [["CONSTANT_VALUE", {
77
                        "value" : ["CST_LITERAL", "\"Thi\""]}
78
                      ]]}
79
                    ]]}
80
                  ]]}
81
                ]]}
82
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
83
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["EXPRESSION", {
87
                        "args" : [["CONSTANT_VALUE", {
88
                          "value" : ["CST_LITERAL", "5"]}
89
                        ]]}
90
                      ]]}
91
                    ]]}
92
                  ]]}
93
                ]}
94
              ]]}
95
            ]}
96
          ], ["ASSERTION_STATEMENT", {
97
            "cond" : ["EXPRESSION", {
98
              "args" : [["EXPRESSION", {
99
                "args" : [["EXPRESSION", {
100
                  "args" : [["EXPRESSION", {
101
                    "id" : "NOT", "args" : [["EXPRESSION", {
102
                      "id" : "=", "args" : [["EXPRESSION", {
103
                        "args" : [["EXPRESSION", {
104
                          "args" : [["EXPRESSION", {
105
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
106
                          ]]}
107
                        ]]}
108
                      ], ["EXPRESSION", {
109
                        "args" : [["EXPRESSION", {
110
                          "args" : [["EXPRESSION", {
111
                            "args" : [["CONSTANT_VALUE", {
112
                              "value" : ["CST_LITERAL", "5"]}
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: c06s05b00x00p02n01i01086\""]}
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" : "=", "args" : [["EXPRESSION", {
147
                        "args" : [["EXPRESSION", {
148
                          "args" : [["EXPRESSION", {
149
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
150
                          ]]}
151
                        ]]}
152
                      ], ["EXPRESSION", {
153
                        "args" : [["EXPRESSION", {
154
                          "args" : [["EXPRESSION", {
155
                            "args" : [["CONSTANT_VALUE", {
156
                              "value" : ["CST_LITERAL", "5"]}
157
                            ]]}
158
                          ]]}
159
                        ]]}
160
                      ]]}
161
                    ]]}
162
                  ]]}
163
                ]]}
164
              ]]}
165
            ], "report" : ["EXPRESSION", {
166
              "args" : [["EXPRESSION", {
167
                "args" : [["EXPRESSION", {
168
                  "args" : [["EXPRESSION", {
169
                    "args" : [["CONSTANT_VALUE", {
170
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c06s05b00x00p02n01i01086 - Slice name consists of a single discrete range enclosed within parentheses.\""]}
171
                    ]]}
172
                  ]]}
173
                ]]}
174
              ]]}
175
            ], "severity" : ["EXPRESSION", {
176
              "args" : [["EXPRESSION", {
177
                "args" : [["EXPRESSION", {
178
                  "args" : [["EXPRESSION", {
179
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
180
                  ]]}
181
                ]]}
182
              ]]}
183
            ]}
184
          ], ["WAIT_STATEMENT"]]}
185
        ]]}
186
      ]}
187
    ]}
188
  }