Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.22 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s08b00x00p14n03i01505ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s08b00x00p14n03i01505arch"], "entity" : ["IDENTIFIER", "c08s08b00x00p14n03i01505ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "x"]], "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", "19"]}
20
                      ]]}
21
                    ]]}
22
                  ]]}
23
                ]]}
24
              ]}
25
            ]}
26
          , {
27
            "declaration" : ["VARIABLE_DECLARATION", {
28
              "names" : [["IDENTIFIER", "k"]], "typ" : {
29
                "name" : ["SIMPLE_NAME", "integer"]}
30
              , "init_val" : ["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["EXPRESSION", {
34
                      "args" : [["CONSTANT_VALUE", {
35
                        "value" : ["CST_LITERAL", "0"]}
36
                      ]]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]}
41
            ]}
42
          ], "PROCESS_STATEMENT_PART" : [["CASE_STATEMENT_TREE", {
43
            "guard" : ["EXPRESSION", {
44
              "args" : [["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["CALL", ["SIMPLE_NAME", "x"]]]}
48
                  ]]}
49
                ]]}
50
              ]]}
51
            ], "branches" : [{
52
              "when_cond" : [["OTHERS"]], "when_stmt" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
53
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
54
                  "args" : [["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["EXPRESSION", {
57
                        "args" : [["CONSTANT_VALUE", {
58
                          "value" : ["CST_LITERAL", "5"]}
59
                        ]]}
60
                      ]]}
61
                    ]]}
62
                  ]]}
63
                ]}
64
              ]]}
65
            ]}
66
          ], ["ASSERTION_STATEMENT", {
67
            "cond" : ["EXPRESSION", {
68
              "args" : [["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "id" : "NOT", "args" : [["EXPRESSION", {
72
                      "id" : "=", "args" : [["EXPRESSION", {
73
                        "args" : [["EXPRESSION", {
74
                          "args" : [["EXPRESSION", {
75
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
76
                          ]]}
77
                        ]]}
78
                      ], ["EXPRESSION", {
79
                        "args" : [["EXPRESSION", {
80
                          "args" : [["EXPRESSION", {
81
                            "args" : [["CONSTANT_VALUE", {
82
                              "value" : ["CST_LITERAL", "5"]}
83
                            ]]}
84
                          ]]}
85
                        ]]}
86
                      ]]}
87
                    ]]}
88
                  ]]}
89
                ]]}
90
              ]]}
91
            ], "report" : ["EXPRESSION", {
92
              "args" : [["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["CONSTANT_VALUE", {
96
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s08b00x00p14n03i01505\""]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ]]}
101
            ], "severity" : ["EXPRESSION", {
102
              "args" : [["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["EXPRESSION", {
105
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
106
                  ]]}
107
                ]]}
108
              ]]}
109
            ]}
110
          ], ["ASSERTION_STATEMENT", {
111
            "cond" : ["EXPRESSION", {
112
              "args" : [["EXPRESSION", {
113
                "args" : [["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "args" : [["EXPRESSION", {
116
                      "id" : "=", "args" : [["EXPRESSION", {
117
                        "args" : [["EXPRESSION", {
118
                          "args" : [["EXPRESSION", {
119
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
120
                          ]]}
121
                        ]]}
122
                      ], ["EXPRESSION", {
123
                        "args" : [["EXPRESSION", {
124
                          "args" : [["EXPRESSION", {
125
                            "args" : [["CONSTANT_VALUE", {
126
                              "value" : ["CST_LITERAL", "5"]}
127
                            ]]}
128
                          ]]}
129
                        ]]}
130
                      ]]}
131
                    ]]}
132
                  ]]}
133
                ]]}
134
              ]]}
135
            ], "report" : ["EXPRESSION", {
136
              "args" : [["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["CONSTANT_VALUE", {
140
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s08b00x00p14n03i01505 - OTHERS choice may stand foe the full set of values of the expression in a case statement\""]}
141
                    ]]}
142
                  ]]}
143
                ]]}
144
              ]]}
145
            ], "severity" : ["EXPRESSION", {
146
              "args" : [["EXPRESSION", {
147
                "args" : [["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
150
                  ]]}
151
                ]]}
152
              ]]}
153
            ]}
154
          ], ["WAIT_STATEMENT"]]}
155
        ]]}
156
      ]}
157
    ]}
158
  }