Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.06 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c06s05b00x00p04n02i01137ent"], "ENTITY_DECLARATIVE_PART" : [{
6
          "definition" : ["TYPE_DECLARATION", {
7
            "name" : ["IDENTIFIER", "aray1"], "definition" : ["ARRAY_TYPE_DEFINITION", {
8
              "indexes" : [["SIMPLE_NAME", "integer"]], "definition" : {
9
                "name" : ["SIMPLE_NAME", "bit"]}
10
              }
11
            ]}
12
          ]}
13
        ], "ENTITY_STATEMENT_PART" : []}
14
      ]}
15
    , {
16
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
17
        "name" : ["IDENTIFIER", "c06s05b00x00p04n02i01137arch"], "entity" : ["IDENTIFIER", "c06s05b00x00p04n02i01137ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
18
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
19
            "declaration" : ["VARIABLE_DECLARATION", {
20
              "names" : [["IDENTIFIER", "nul"]], "typ" : {
21
                "name" : ["SIMPLE_NAME", "aray1"], "const" : ["INDEX_CONSTRAINT", {
22
                  "ranges" : [["RANGE_WITH_DIRECTION", {
23
                    "direction" : "to", "from" : ["EXPRESSION", {
24
                      "args" : [["EXPRESSION", {
25
                        "args" : [["CONSTANT_VALUE", {
26
                          "value" : ["CST_LITERAL", "2"]}
27
                        ]]}
28
                      ]]}
29
                    ], "_to" : ["EXPRESSION", {
30
                      "args" : [["EXPRESSION", {
31
                        "args" : [["CONSTANT_VALUE", {
32
                          "value" : ["CST_LITERAL", "1"]}
33
                        ]]}
34
                      ]]}
35
                    ]}
36
                  ]]}
37
                ]}
38
              }
39
            ]}
40
          , {
41
            "declaration" : ["VARIABLE_DECLARATION", {
42
              "names" : [["IDENTIFIER", "nu2"]], "typ" : {
43
                "name" : ["SIMPLE_NAME", "aray1"], "const" : ["INDEX_CONSTRAINT", {
44
                  "ranges" : [["RANGE_WITH_DIRECTION", {
45
                    "direction" : "to", "from" : ["EXPRESSION", {
46
                      "args" : [["EXPRESSION", {
47
                        "args" : [["CONSTANT_VALUE", {
48
                          "value" : ["CST_LITERAL", "9"]}
49
                        ]]}
50
                      ]]}
51
                    ], "_to" : ["EXPRESSION", {
52
                      "args" : [["EXPRESSION", {
53
                        "args" : [["CONSTANT_VALUE", {
54
                          "value" : ["CST_LITERAL", "1"]}
55
                        ]]}
56
                      ]]}
57
                    ]}
58
                  ]]}
59
                ]}
60
              }
61
            ]}
62
          ], "PROCESS_STATEMENT_PART" : [["ASSERTION_STATEMENT", {
63
            "cond" : ["EXPRESSION", {
64
              "args" : [["EXPRESSION", {
65
                "args" : [["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "id" : "NOT", "args" : [["EXPRESSION", {
68
                      "id" : "=", "args" : [["EXPRESSION", {
69
                        "args" : [["EXPRESSION", {
70
                          "args" : [["EXPRESSION", {
71
                            "args" : [["CALL", ["SIMPLE_NAME", "nul"]]]}
72
                          ]]}
73
                        ]]}
74
                      ], ["EXPRESSION", {
75
                        "args" : [["EXPRESSION", {
76
                          "args" : [["EXPRESSION", {
77
                            "args" : [["CALL", ["SIMPLE_NAME", "nu2"]]]}
78
                          ]]}
79
                        ]]}
80
                      ]]}
81
                    ]]}
82
                  ]]}
83
                ]]}
84
              ]]}
85
            ], "report" : ["EXPRESSION", {
86
              "args" : [["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "args" : [["CONSTANT_VALUE", {
90
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c06s05b00x00p04n02i01137\""]}
91
                    ]]}
92
                  ]]}
93
                ]]}
94
              ]]}
95
            ], "severity" : ["EXPRESSION", {
96
              "args" : [["EXPRESSION", {
97
                "args" : [["EXPRESSION", {
98
                  "args" : [["EXPRESSION", {
99
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
100
                  ]]}
101
                ]]}
102
              ]]}
103
            ]}
104
          ], ["ASSERTION_STATEMENT", {
105
            "cond" : ["EXPRESSION", {
106
              "args" : [["EXPRESSION", {
107
                "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["EXPRESSION", {
110
                      "id" : "=", "args" : [["EXPRESSION", {
111
                        "args" : [["EXPRESSION", {
112
                          "args" : [["EXPRESSION", {
113
                            "args" : [["CALL", ["SIMPLE_NAME", "nul"]]]}
114
                          ]]}
115
                        ]]}
116
                      ], ["EXPRESSION", {
117
                        "args" : [["EXPRESSION", {
118
                          "args" : [["EXPRESSION", {
119
                            "args" : [["CALL", ["SIMPLE_NAME", "nu2"]]]}
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", "\"***FAILED TEST: c06s05b00x00p04n02i01137- The slice is a null slice if the discrete range is a null range.\""]}
133
                    ]]}
134
                  ]]}
135
                ]]}
136
              ]]}
137
            ], "severity" : ["EXPRESSION", {
138
              "args" : [["EXPRESSION", {
139
                "args" : [["EXPRESSION", {
140
                  "args" : [["EXPRESSION", {
141
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
142
                  ]]}
143
                ]]}
144
              ]]}
145
            ]}
146
          ], ["WAIT_STATEMENT"]]}
147
        ]]}
148
      ]}
149
    ]}
150
  }