Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (8.04 KB)

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