Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.69 KB)

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