Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (8.11 KB)

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