Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.03 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c13s06b00x00p10n01i02745ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c13s06b00x00p10n01i02745arch"], "entity" : ["IDENTIFIER", "c13s06b00x00p10n01i02745ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["CONSTANT_DECLARATION", {
11
            "names" : [["IDENTIFIER", "mystring"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "string"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "id" : "&", "args" : [["EXPRESSION", {
18
                      "args" : [["CONSTANT_VALUE", {
19
                        "value" : ["CST_LITERAL", "\"This string has too \""]}
20
                      ]]}
21
                    ], ["EXPRESSION", {
22
                      "args" : [["CONSTANT_VALUE", {
23
                        "value" : ["CST_LITERAL", "\"many characters.\""]}
24
                      ]]}
25
                    ]]}
26
                  ]]}
27
                ]]}
28
              ]]}
29
            ]}
30
          ]}
31
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
32
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_STATEMENT_PART" : [["ASSERTION_STATEMENT", {
33
            "cond" : ["EXPRESSION", {
34
              "args" : [["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "id" : "NOT", "args" : [["EXPRESSION", {
38
                      "id" : "=", "args" : [["EXPRESSION", {
39
                        "args" : [["EXPRESSION", {
40
                          "args" : [["EXPRESSION", {
41
                            "args" : [["CALL", ["SIMPLE_NAME", "mystring"]]]}
42
                          ]]}
43
                        ]]}
44
                      ], ["EXPRESSION", {
45
                        "args" : [["EXPRESSION", {
46
                          "args" : [["EXPRESSION", {
47
                            "args" : [["CONSTANT_VALUE", {
48
                              "value" : ["CST_LITERAL", "\"This string has too many characters.\""]}
49
                            ]]}
50
                          ]]}
51
                        ]]}
52
                      ]]}
53
                    ]]}
54
                  ]]}
55
                ]]}
56
              ]]}
57
            ], "report" : ["EXPRESSION", {
58
              "args" : [["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "args" : [["CONSTANT_VALUE", {
62
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c13s06b00x00p10n01i02745\""]}
63
                    ]]}
64
                  ]]}
65
                ]]}
66
              ]]}
67
            ], "severity" : ["EXPRESSION", {
68
              "args" : [["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
72
                  ]]}
73
                ]]}
74
              ]]}
75
            ]}
76
          ], ["ASSERTION_STATEMENT", {
77
            "cond" : ["EXPRESSION", {
78
              "args" : [["EXPRESSION", {
79
                "args" : [["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["EXPRESSION", {
82
                      "id" : "=", "args" : [["EXPRESSION", {
83
                        "args" : [["EXPRESSION", {
84
                          "args" : [["EXPRESSION", {
85
                            "args" : [["CALL", ["SIMPLE_NAME", "mystring"]]]}
86
                          ]]}
87
                        ]]}
88
                      ], ["EXPRESSION", {
89
                        "args" : [["EXPRESSION", {
90
                          "args" : [["EXPRESSION", {
91
                            "args" : [["CONSTANT_VALUE", {
92
                              "value" : ["CST_LITERAL", "\"This string has too many characters.\""]}
93
                            ]]}
94
                          ]]}
95
                        ]]}
96
                      ]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ]]}
101
            ], "report" : ["EXPRESSION", {
102
              "args" : [["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["EXPRESSION", {
105
                    "args" : [["CONSTANT_VALUE", {
106
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c13s06b00x00p10n01i02745 - Use of & as a continuation for a string test failed.\""]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]]}
111
            ], "severity" : ["EXPRESSION", {
112
              "args" : [["EXPRESSION", {
113
                "args" : [["EXPRESSION", {
114
                  "args" : [["EXPRESSION", {
115
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
116
                  ]]}
117
                ]]}
118
              ]]}
119
            ]}
120
          ], ["WAIT_STATEMENT"]]}
121
        ]]}
122
      ]}
123
    ]}
124
  }