Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.74 KB)

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