Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.58 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c07s03b02x02p03n02i02463ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c07s03b02x02p03n02i02463arch"], "entity" : ["IDENTIFIER", "c07s03b02x02p03n02i02463ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "definition" : ["SUBTYPE_DECLARATION", {
11
            "name" : ["IDENTIFIER", "BV1"], "typ" : {
12
              "name" : ["SIMPLE_NAME", "BIT_VECTOR"], "const" : ["INDEX_CONSTRAINT", {
13
                "ranges" : [["RANGE_WITH_DIRECTION", {
14
                  "direction" : "downto", "from" : ["EXPRESSION", {
15
                    "args" : [["EXPRESSION", {
16
                      "args" : [["CONSTANT_VALUE", {
17
                        "value" : ["CST_LITERAL", "2"]}
18
                      ]]}
19
                    ]]}
20
                  ], "_to" : ["EXPRESSION", {
21
                    "args" : [["EXPRESSION", {
22
                      "args" : [["CONSTANT_VALUE", {
23
                        "value" : ["CST_LITERAL", "1"]}
24
                      ]]}
25
                    ]]}
26
                  ]}
27
                ]]}
28
              ]}
29
            }
30
          ]}
31
        , {
32
          "declaration" : ["CONSTANT_DECLARATION", {
33
            "names" : [["IDENTIFIER", "c"]], "typ" : {
34
              "name" : ["SIMPLE_NAME", "BV1"]}
35
            , "init_val" : ["EXPRESSION", {
36
              "args" : [["EXPRESSION", {
37
                "args" : [["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["AGGREGATE", {
40
                      "elems" : [{
41
                        "expr" : ["EXPRESSION", {
42
                          "args" : [["EXPRESSION", {
43
                            "args" : [["EXPRESSION", {
44
                              "args" : [["EXPRESSION", {
45
                                "args" : [["CONSTANT_VALUE", {
46
                                  "value" : ["CST_LITERAL", "'1'"]}
47
                                ]]}
48
                              ]]}
49
                            ]]}
50
                          ]]}
51
                        ]}
52
                      , {
53
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
54
                          "args" : [["EXPRESSION", {
55
                            "args" : [["EXPRESSION", {
56
                              "args" : [["EXPRESSION", {
57
                                "args" : [["CONSTANT_VALUE", {
58
                                  "value" : ["CST_LITERAL", "'0'"]}
59
                                ]]}
60
                              ]]}
61
                            ]]}
62
                          ]]}
63
                        ]}
64
                      ]}
65
                    ]]}
66
                  ]]}
67
                ]]}
68
              ]]}
69
            ]}
70
          ]}
71
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
72
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_STATEMENT_PART" : [["ASSERTION_STATEMENT", {
73
            "cond" : ["EXPRESSION", {
74
              "args" : [["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "id" : "NOT", "args" : [["EXPRESSION", {
78
                      "id" : "=", "args" : [["EXPRESSION", {
79
                        "args" : [["EXPRESSION", {
80
                          "args" : [["EXPRESSION", {
81
                            "args" : [["CALL", ["SIMPLE_NAME", "c"]]]}
82
                          ]]}
83
                        ]]}
84
                      ], ["EXPRESSION", {
85
                        "args" : [["EXPRESSION", {
86
                          "args" : [["EXPRESSION", {
87
                            "args" : [["CONSTANT_VALUE", {
88
                              "value" : ["CST_LITERAL", "\"10\""]}
89
                            ]]}
90
                          ]]}
91
                        ]]}
92
                      ]]}
93
                    ]]}
94
                  ]]}
95
                ]]}
96
              ]]}
97
            ], "report" : ["EXPRESSION", {
98
              "args" : [["EXPRESSION", {
99
                "args" : [["EXPRESSION", {
100
                  "args" : [["EXPRESSION", {
101
                    "args" : [["CONSTANT_VALUE", {
102
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c07s03b02x02p03n02i02463\""]}
103
                    ]]}
104
                  ]]}
105
                ]]}
106
              ]]}
107
            ], "severity" : ["EXPRESSION", {
108
              "args" : [["EXPRESSION", {
109
                "args" : [["EXPRESSION", {
110
                  "args" : [["EXPRESSION", {
111
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
112
                  ]]}
113
                ]]}
114
              ]]}
115
            ]}
116
          ], ["ASSERTION_STATEMENT", {
117
            "cond" : ["EXPRESSION", {
118
              "args" : [["EXPRESSION", {
119
                "args" : [["EXPRESSION", {
120
                  "args" : [["EXPRESSION", {
121
                    "args" : [["EXPRESSION", {
122
                      "id" : "=", "args" : [["EXPRESSION", {
123
                        "args" : [["EXPRESSION", {
124
                          "args" : [["EXPRESSION", {
125
                            "args" : [["CALL", ["SIMPLE_NAME", "c"]]]}
126
                          ]]}
127
                        ]]}
128
                      ], ["EXPRESSION", {
129
                        "args" : [["EXPRESSION", {
130
                          "args" : [["EXPRESSION", {
131
                            "args" : [["CONSTANT_VALUE", {
132
                              "value" : ["CST_LITERAL", "\"10\""]}
133
                            ]]}
134
                          ]]}
135
                        ]]}
136
                      ]]}
137
                    ]]}
138
                  ]]}
139
                ]]}
140
              ]]}
141
            ], "report" : ["EXPRESSION", {
142
              "args" : [["EXPRESSION", {
143
                "args" : [["EXPRESSION", {
144
                  "args" : [["EXPRESSION", {
145
                    "args" : [["CONSTANT_VALUE", {
146
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c07s03b02x02p03n02i02463 - An aggregate with an others choice can appear as an expression defining the initial value of a constant.\""]}
147
                    ]]}
148
                  ]]}
149
                ]]}
150
              ]]}
151
            ], "severity" : ["EXPRESSION", {
152
              "args" : [["EXPRESSION", {
153
                "args" : [["EXPRESSION", {
154
                  "args" : [["EXPRESSION", {
155
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
156
                  ]]}
157
                ]]}
158
              ]]}
159
            ]}
160
          ], ["WAIT_STATEMENT"]]}
161
        ]]}
162
      ]}
163
    ]}
164
  }