Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.57 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s07b00x00p01n01i01451ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s07b00x00p01n01i01451arch"], "entity" : ["IDENTIFIER", "c08s07b00x00p01n01i01451ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "t"], "PROCESS_DECLARATIVE_PART" : [{
11
            "definition" : ["TYPE_DECLARATION", {
12
              "name" : ["IDENTIFIER", "some2"], "definition" : ["ENUMERATION_TYPE_DEFINITION", [["IDENTIFIER", "alpha"], ["IDENTIFIER", "beta"]]]}
13
            ]}
14
          , {
15
            "declaration" : ["VARIABLE_DECLARATION", {
16
              "names" : [["IDENTIFIER", "j"]], "typ" : {
17
                "name" : ["SIMPLE_NAME", "some2"]}
18
              , "init_val" : ["EXPRESSION", {
19
                "args" : [["EXPRESSION", {
20
                  "args" : [["EXPRESSION", {
21
                    "args" : [["EXPRESSION", {
22
                      "args" : [["CALL", ["SIMPLE_NAME", "alpha"]]]}
23
                    ]]}
24
                  ]]}
25
                ]]}
26
              ]}
27
            ]}
28
          , {
29
            "declaration" : ["VARIABLE_DECLARATION", {
30
              "names" : [["IDENTIFIER", "k"]], "typ" : {
31
                "name" : ["SIMPLE_NAME", "integer"]}
32
              , "init_val" : ["EXPRESSION", {
33
                "args" : [["EXPRESSION", {
34
                  "args" : [["EXPRESSION", {
35
                    "args" : [["EXPRESSION", {
36
                      "args" : [["CONSTANT_VALUE", {
37
                        "value" : ["CST_LITERAL", "0"]}
38
                      ]]}
39
                    ]]}
40
                  ]]}
41
                ]]}
42
              ]}
43
            ]}
44
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
45
            "if_cases" : [{
46
              "if_cond" : ["EXPRESSION", {
47
                "id" : "=", "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "args" : [["CALL", ["SIMPLE_NAME", "j"]]]}
51
                    ]]}
52
                  ]]}
53
                ], ["EXPRESSION", {
54
                  "args" : [["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["CALL", ["SIMPLE_NAME", "alpha"]]]}
57
                    ]]}
58
                  ]]}
59
                ]]}
60
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
61
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
62
                  "args" : [["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["EXPRESSION", {
65
                        "args" : [["CONSTANT_VALUE", {
66
                          "value" : ["CST_LITERAL", "1"]}
67
                        ]]}
68
                      ]]}
69
                    ]]}
70
                  ]]}
71
                ]}
72
              ]]}
73
            ]}
74
          ], ["ASSERTION_STATEMENT", {
75
            "cond" : ["EXPRESSION", {
76
              "args" : [["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "id" : "=", "args" : [["EXPRESSION", {
81
                        "args" : [["EXPRESSION", {
82
                          "args" : [["EXPRESSION", {
83
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
84
                          ]]}
85
                        ]]}
86
                      ], ["EXPRESSION", {
87
                        "args" : [["EXPRESSION", {
88
                          "args" : [["EXPRESSION", {
89
                            "args" : [["CONSTANT_VALUE", {
90
                              "value" : ["CST_LITERAL", "0"]}
91
                            ]]}
92
                          ]]}
93
                        ]]}
94
                      ]]}
95
                    ]]}
96
                  ]]}
97
                ]]}
98
              ]]}
99
            ], "report" : ["EXPRESSION", {
100
              "args" : [["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "args" : [["CONSTANT_VALUE", {
104
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s07b00x00p01n01i01451\""]}
105
                    ]]}
106
                  ]]}
107
                ]]}
108
              ]]}
109
            ], "severity" : ["EXPRESSION", {
110
              "args" : [["EXPRESSION", {
111
                "args" : [["EXPRESSION", {
112
                  "args" : [["EXPRESSION", {
113
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
114
                  ]]}
115
                ]]}
116
              ]]}
117
            ]}
118
          ], ["ASSERTION_STATEMENT", {
119
            "cond" : ["EXPRESSION", {
120
              "args" : [["EXPRESSION", {
121
                "args" : [["EXPRESSION", {
122
                  "args" : [["EXPRESSION", {
123
                    "id" : "NOT", "args" : [["EXPRESSION", {
124
                      "id" : "=", "args" : [["EXPRESSION", {
125
                        "args" : [["EXPRESSION", {
126
                          "args" : [["EXPRESSION", {
127
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
128
                          ]]}
129
                        ]]}
130
                      ], ["EXPRESSION", {
131
                        "args" : [["EXPRESSION", {
132
                          "args" : [["EXPRESSION", {
133
                            "args" : [["CONSTANT_VALUE", {
134
                              "value" : ["CST_LITERAL", "0"]}
135
                            ]]}
136
                          ]]}
137
                        ]]}
138
                      ]]}
139
                    ]]}
140
                  ]]}
141
                ]]}
142
              ]]}
143
            ], "report" : ["EXPRESSION", {
144
              "args" : [["EXPRESSION", {
145
                "args" : [["EXPRESSION", {
146
                  "args" : [["EXPRESSION", {
147
                    "args" : [["CONSTANT_VALUE", {
148
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s07b00x00p01n01i01451 - BOOLEAN expression of IF statement using enumerated types\""]}
149
                    ]]}
150
                  ]]}
151
                ]]}
152
              ]]}
153
            ], "severity" : ["EXPRESSION", {
154
              "args" : [["EXPRESSION", {
155
                "args" : [["EXPRESSION", {
156
                  "args" : [["EXPRESSION", {
157
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
158
                  ]]}
159
                ]]}
160
              ]]}
161
            ]}
162
          ], ["WAIT_STATEMENT"]]}
163
        ]]}
164
      ]}
165
    ]}
166
  }