Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.24 KB)

1 3fd18385 Arnaud Dieumegard
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c07s03b03x00p02n01i02486ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c07s03b03x00p02n01i02486arch"], "entity" : ["IDENTIFIER", "c07s03b03x00p02n01i02486ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["SUBPROGRAM_BODY", {
12
              "spec" : {
13
                "name" : "check", "subprogram_type" : "function", "typeMark" : ["SIMPLE_NAME", "boolean"], "isPure" : false}
14
              , "stmts" : [["RETURN_STATEMENT", {
15
                "expr" : ["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["EXPRESSION", {
19
                        "args" : [["CALL", ["SIMPLE_NAME", "false"]]]}
20
                      ]]}
21
                    ]]}
22
                  ]]}
23
                ]}
24
              ]]}
25
            ]}
26
          , {
27
            "declaration" : ["VARIABLE_DECLARATION", {
28
              "names" : [["IDENTIFIER", "q"]], "typ" : {
29
                "name" : ["SIMPLE_NAME", "boolean"]}
30
              }
31
            ]}
32
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
33
            "lhs" : ["SIMPLE_NAME", "q"], "rhs" : ["EXPRESSION", {
34
              "args" : [["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["CALL", ["SIMPLE_NAME", "check"]]]}
38
                  ]]}
39
                ]]}
40
              ]]}
41
            ]}
42
          ], ["ASSERTION_STATEMENT", {
43
            "cond" : ["EXPRESSION", {
44
              "args" : [["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "id" : "NOT", "args" : [["EXPRESSION", {
48
                      "id" : "=", "args" : [["EXPRESSION", {
49
                        "args" : [["EXPRESSION", {
50
                          "args" : [["EXPRESSION", {
51
                            "args" : [["CALL", ["SIMPLE_NAME", "q"]]]}
52
                          ]]}
53
                        ]]}
54
                      ], ["EXPRESSION", {
55
                        "args" : [["EXPRESSION", {
56
                          "args" : [["EXPRESSION", {
57
                            "args" : [["CALL", ["SIMPLE_NAME", "FALSE"]]]}
58
                          ]]}
59
                        ]]}
60
                      ]]}
61
                    ]]}
62
                  ]]}
63
                ]]}
64
              ]]}
65
            ], "report" : ["EXPRESSION", {
66
              "args" : [["EXPRESSION", {
67
                "args" : [["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["CONSTANT_VALUE", {
70
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c07s03b03x00p02n01i02486\""]}
71
                    ]]}
72
                  ]]}
73
                ]]}
74
              ]]}
75
            ], "severity" : ["EXPRESSION", {
76
              "args" : [["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
80
                  ]]}
81
                ]]}
82
              ]]}
83
            ]}
84
          ], ["ASSERTION_STATEMENT", {
85
            "cond" : ["EXPRESSION", {
86
              "args" : [["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "args" : [["EXPRESSION", {
90
                      "id" : "=", "args" : [["EXPRESSION", {
91
                        "args" : [["EXPRESSION", {
92
                          "args" : [["EXPRESSION", {
93
                            "args" : [["CALL", ["SIMPLE_NAME", "q"]]]}
94
                          ]]}
95
                        ]]}
96
                      ], ["EXPRESSION", {
97
                        "args" : [["EXPRESSION", {
98
                          "args" : [["EXPRESSION", {
99
                            "args" : [["CALL", ["SIMPLE_NAME", "FALSE"]]]}
100
                          ]]}
101
                        ]]}
102
                      ]]}
103
                    ]]}
104
                  ]]}
105
                ]]}
106
              ]]}
107
            ], "report" : ["EXPRESSION", {
108
              "args" : [["EXPRESSION", {
109
                "args" : [["EXPRESSION", {
110
                  "args" : [["EXPRESSION", {
111
                    "args" : [["CONSTANT_VALUE", {
112
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c07s03b03x00p02n01i02486 - The function call consists of a function name and (optionally) an actual parameter list enclosed with parentheses.\""]}
113
                    ]]}
114
                  ]]}
115
                ]]}
116
              ]]}
117
            ], "severity" : ["EXPRESSION", {
118
              "args" : [["EXPRESSION", {
119
                "args" : [["EXPRESSION", {
120
                  "args" : [["EXPRESSION", {
121
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
122
                  ]]}
123
                ]]}
124
              ]]}
125
            ]}
126
          ], ["WAIT_STATEMENT"]]}
127
        ]]}
128
      ]}
129
    ]}
130
  }