Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.8 KB)

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