Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.49 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s12b00x00p04n01i01630ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s12b00x00p04n01i01630arch"], "entity" : ["IDENTIFIER", "c08s12b00x00p04n01i01630ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "i"]], "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
          , {
27
            "declaration" : ["SUBPROGRAM_BODY", {
28
              "spec" : {
29
                "name" : "return_exp_check", "subprogram_type" : "procedure"}
30
              , "stmts" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
31
                "lhs" : ["SIMPLE_NAME", "i"], "rhs" : ["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["EXPRESSION", {
34
                      "args" : [["EXPRESSION", {
35
                        "args" : [["CONSTANT_VALUE", {
36
                          "value" : ["CST_LITERAL", "10"]}
37
                        ]]}
38
                      ]]}
39
                    ]]}
40
                  ]]}
41
                ]}
42
              ]]}
43
            ]}
44
          ], "PROCESS_STATEMENT_PART" : [["PROCEDURE_CALL_STATEMENT", {
45
            "name" : ["IDENTIFIER", "return_exp_check"]}
46
          ], ["ASSERTION_STATEMENT", {
47
            "cond" : ["EXPRESSION", {
48
              "args" : [["EXPRESSION", {
49
                "args" : [["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "id" : "NOT", "args" : [["EXPRESSION", {
52
                      "id" : "=", "args" : [["EXPRESSION", {
53
                        "args" : [["EXPRESSION", {
54
                          "args" : [["EXPRESSION", {
55
                            "args" : [["CALL", ["SIMPLE_NAME", "i"]]]}
56
                          ]]}
57
                        ]]}
58
                      ], ["EXPRESSION", {
59
                        "args" : [["EXPRESSION", {
60
                          "args" : [["EXPRESSION", {
61
                            "args" : [["CONSTANT_VALUE", {
62
                              "value" : ["CST_LITERAL", "10"]}
63
                            ]]}
64
                          ]]}
65
                        ]]}
66
                      ]]}
67
                    ]]}
68
                  ]]}
69
                ]]}
70
              ]]}
71
            ], "report" : ["EXPRESSION", {
72
              "args" : [["EXPRESSION", {
73
                "args" : [["EXPRESSION", {
74
                  "args" : [["EXPRESSION", {
75
                    "args" : [["CONSTANT_VALUE", {
76
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s12b00x00p04n01i01630\""]}
77
                    ]]}
78
                  ]]}
79
                ]]}
80
              ]]}
81
            ], "severity" : ["EXPRESSION", {
82
              "args" : [["EXPRESSION", {
83
                "args" : [["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
86
                  ]]}
87
                ]]}
88
              ]]}
89
            ]}
90
          ], ["ASSERTION_STATEMENT", {
91
            "cond" : ["EXPRESSION", {
92
              "args" : [["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "id" : "=", "args" : [["EXPRESSION", {
97
                        "args" : [["EXPRESSION", {
98
                          "args" : [["EXPRESSION", {
99
                            "args" : [["CALL", ["SIMPLE_NAME", "i"]]]}
100
                          ]]}
101
                        ]]}
102
                      ], ["EXPRESSION", {
103
                        "args" : [["EXPRESSION", {
104
                          "args" : [["EXPRESSION", {
105
                            "args" : [["CONSTANT_VALUE", {
106
                              "value" : ["CST_LITERAL", "10"]}
107
                            ]]}
108
                          ]]}
109
                        ]]}
110
                      ]]}
111
                    ]]}
112
                  ]]}
113
                ]]}
114
              ]]}
115
            ], "report" : ["EXPRESSION", {
116
              "args" : [["EXPRESSION", {
117
                "args" : [["EXPRESSION", {
118
                  "args" : [["EXPRESSION", {
119
                    "args" : [["CONSTANT_VALUE", {
120
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s12b00x00p04n01i01630 - A return statement is not required in a procedure body.\""]}
121
                    ]]}
122
                  ]]}
123
                ]]}
124
              ]]}
125
            ], "severity" : ["EXPRESSION", {
126
              "args" : [["EXPRESSION", {
127
                "args" : [["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
130
                  ]]}
131
                ]]}
132
              ]]}
133
            ]}
134
          ], ["WAIT_STATEMENT"]]}
135
        ]]}
136
      ]}
137
    ]}
138
  }