Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.66 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s07b00x00p04n01i01461ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s07b00x00p04n01i01461arch"], "entity" : ["IDENTIFIER", "c08s07b00x00p04n01i01461ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "transmit"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "delay"]], "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", "1"]}
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
          , {
43
            "declaration" : ["VARIABLE_DECLARATION", {
44
              "names" : [["IDENTIFIER", "m"]], "typ" : {
45
                "name" : ["SIMPLE_NAME", "integer"]}
46
              , "init_val" : ["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "args" : [["CONSTANT_VALUE", {
51
                        "value" : ["CST_LITERAL", "0"]}
52
                      ]]}
53
                    ]]}
54
                  ]]}
55
                ]]}
56
              ]}
57
            ]}
58
          , {
59
            "declaration" : ["VARIABLE_DECLARATION", {
60
              "names" : [["IDENTIFIER", "n"]], "typ" : {
61
                "name" : ["SIMPLE_NAME", "integer"]}
62
              , "init_val" : ["EXPRESSION", {
63
                "args" : [["EXPRESSION", {
64
                  "args" : [["EXPRESSION", {
65
                    "args" : [["EXPRESSION", {
66
                      "args" : [["CONSTANT_VALUE", {
67
                        "value" : ["CST_LITERAL", "0"]}
68
                      ]]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]}
73
            ]}
74
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
75
            "if_cases" : [{
76
              "if_cond" : ["EXPRESSION", {
77
                "id" : "=", "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["CALL", ["SIMPLE_NAME", "delay"]]]}
81
                    ]]}
82
                  ]]}
83
                ], ["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["EXPRESSION", {
86
                      "args" : [["CONSTANT_VALUE", {
87
                        "value" : ["CST_LITERAL", "1"]}
88
                      ]]}
89
                    ]]}
90
                  ]]}
91
                ]]}
92
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
93
                "lhs" : ["SIMPLE_NAME", "k"], "rhs" : ["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "args" : [["EXPRESSION", {
97
                        "args" : [["CONSTANT_VALUE", {
98
                          "value" : ["CST_LITERAL", "1"]}
99
                        ]]}
100
                      ]]}
101
                    ]]}
102
                  ]]}
103
                ]}
104
              ]]}
105
            ]}
106
          ], ["ASSERTION_STATEMENT", {
107
            "cond" : ["EXPRESSION", {
108
              "args" : [["EXPRESSION", {
109
                "args" : [["EXPRESSION", {
110
                  "args" : [["EXPRESSION", {
111
                    "id" : "NOT", "args" : [["EXPRESSION", {
112
                      "id" : "=", "args" : [["EXPRESSION", {
113
                        "args" : [["EXPRESSION", {
114
                          "args" : [["EXPRESSION", {
115
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
116
                          ]]}
117
                        ]]}
118
                      ], ["EXPRESSION", {
119
                        "args" : [["EXPRESSION", {
120
                          "args" : [["EXPRESSION", {
121
                            "args" : [["CONSTANT_VALUE", {
122
                              "value" : ["CST_LITERAL", "1"]}
123
                            ]]}
124
                          ]]}
125
                        ]]}
126
                      ]]}
127
                    ]]}
128
                  ]]}
129
                ]]}
130
              ]]}
131
            ], "report" : ["EXPRESSION", {
132
              "args" : [["EXPRESSION", {
133
                "args" : [["EXPRESSION", {
134
                  "args" : [["EXPRESSION", {
135
                    "args" : [["CONSTANT_VALUE", {
136
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s07b00x00p04n01i01461\""]}
137
                    ]]}
138
                  ]]}
139
                ]]}
140
              ]]}
141
            ], "severity" : ["EXPRESSION", {
142
              "args" : [["EXPRESSION", {
143
                "args" : [["EXPRESSION", {
144
                  "args" : [["EXPRESSION", {
145
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
146
                  ]]}
147
                ]]}
148
              ]]}
149
            ]}
150
          ], ["ASSERTION_STATEMENT", {
151
            "cond" : ["EXPRESSION", {
152
              "args" : [["EXPRESSION", {
153
                "args" : [["EXPRESSION", {
154
                  "args" : [["EXPRESSION", {
155
                    "args" : [["EXPRESSION", {
156
                      "id" : "=", "args" : [["EXPRESSION", {
157
                        "args" : [["EXPRESSION", {
158
                          "args" : [["EXPRESSION", {
159
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
160
                          ]]}
161
                        ]]}
162
                      ], ["EXPRESSION", {
163
                        "args" : [["EXPRESSION", {
164
                          "args" : [["EXPRESSION", {
165
                            "args" : [["CONSTANT_VALUE", {
166
                              "value" : ["CST_LITERAL", "1"]}
167
                            ]]}
168
                          ]]}
169
                        ]]}
170
                      ]]}
171
                    ]]}
172
                  ]]}
173
                ]]}
174
              ]]}
175
            ], "report" : ["EXPRESSION", {
176
              "args" : [["EXPRESSION", {
177
                "args" : [["EXPRESSION", {
178
                  "args" : [["EXPRESSION", {
179
                    "args" : [["CONSTANT_VALUE", {
180
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s07b00x00p04n01i01461 - the condition after the IF statement is TRUE in 'if-end if' format\""]}
181
                    ]]}
182
                  ]]}
183
                ]]}
184
              ]]}
185
            ], "severity" : ["EXPRESSION", {
186
              "args" : [["EXPRESSION", {
187
                "args" : [["EXPRESSION", {
188
                  "args" : [["EXPRESSION", {
189
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
190
                  ]]}
191
                ]]}
192
              ]]}
193
            ]}
194
          ], ["WAIT_STATEMENT"]]}
195
        ]]}
196
      ]}
197
    ]}
198
  }