Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.08 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s04b00x00p06n01i01294ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s04b00x00p06n01i01294arch"], "entity" : ["IDENTIFIER", "c08s04b00x00p06n01i01294ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "definition" : ["TYPE_DECLARATION", {
11
            "name" : ["IDENTIFIER", "BIT_VECTOR"], "definition" : ["ARRAY_TYPE_DEFINITION", {
12
              "indexes" : [["SIMPLE_NAME", "integer"]], "definition" : {
13
                "name" : ["SIMPLE_NAME", "BIT"]}
14
              }
15
            ]}
16
          ]}
17
        , {
18
          "declaration" : ["SIGNAL_DECLARATION", {
19
            "names" : [["IDENTIFIER", "DID"]], "typ" : {
20
              "name" : ["SIMPLE_NAME", "BIT_VECTOR"], "const" : ["INDEX_CONSTRAINT", {
21
                "ranges" : [["RANGE_WITH_DIRECTION", {
22
                  "direction" : "to", "from" : ["EXPRESSION", {
23
                    "args" : [["EXPRESSION", {
24
                      "args" : [["CONSTANT_VALUE", {
25
                        "value" : ["CST_LITERAL", "0"]}
26
                      ]]}
27
                    ]]}
28
                  ], "_to" : ["EXPRESSION", {
29
                    "args" : [["EXPRESSION", {
30
                      "args" : [["CONSTANT_VALUE", {
31
                        "value" : ["CST_LITERAL", "7"]}
32
                      ]]}
33
                    ]]}
34
                  ]}
35
                ]]}
36
              ]}
37
            }
38
          ]}
39
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
40
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
41
            "declaration" : ["VARIABLE_DECLARATION", {
42
              "names" : [["IDENTIFIER", "NUM1"]], "typ" : {
43
                "name" : ["SIMPLE_NAME", "BIT_VECTOR"], "const" : ["INDEX_CONSTRAINT", {
44
                  "ranges" : [["RANGE_WITH_DIRECTION", {
45
                    "direction" : "to", "from" : ["EXPRESSION", {
46
                      "args" : [["EXPRESSION", {
47
                        "args" : [["CONSTANT_VALUE", {
48
                          "value" : ["CST_LITERAL", "0"]}
49
                        ]]}
50
                      ]]}
51
                    ], "_to" : ["EXPRESSION", {
52
                      "args" : [["EXPRESSION", {
53
                        "args" : [["CONSTANT_VALUE", {
54
                          "value" : ["CST_LITERAL", "7"]}
55
                        ]]}
56
                      ]]}
57
                    ]}
58
                  ]]}
59
                ]}
60
              , "init_val" : ["EXPRESSION", {
61
                "args" : [["EXPRESSION", {
62
                  "args" : [["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["CONSTANT_VALUE", {
65
                        "value" : ["CST_LITERAL", "B\"01010101\""]}
66
                      ]]}
67
                    ]]}
68
                  ]]}
69
                ]]}
70
              ]}
71
            ]}
72
          ], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
73
            "lhs" : ["SIMPLE_NAME", "DID"], "rhs" : [{
74
              "value" : ["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "args" : [["EXPRESSION", {
78
                      "args" : [["CALL", ["SIMPLE_NAME", "NUM1"]]]}
79
                    ]]}
80
                  ]]}
81
                ]]}
82
              ]}
83
            ]}
84
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
85
            "cond" : ["EXPRESSION", {
86
              "args" : [["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "id" : "NOT", "args" : [["EXPRESSION", {
90
                      "id" : "=", "args" : [["EXPRESSION", {
91
                        "args" : [["EXPRESSION", {
92
                          "args" : [["EXPRESSION", {
93
                            "args" : [["CALL", ["SIMPLE_NAME", "DID"]]]}
94
                          ]]}
95
                        ]]}
96
                      ], ["EXPRESSION", {
97
                        "args" : [["EXPRESSION", {
98
                          "args" : [["EXPRESSION", {
99
                            "args" : [["CONSTANT_VALUE", {
100
                              "value" : ["CST_LITERAL", "B\"01010101\""]}
101
                            ]]}
102
                          ]]}
103
                        ]]}
104
                      ]]}
105
                    ]]}
106
                  ]]}
107
                ]]}
108
              ]]}
109
            ], "report" : ["EXPRESSION", {
110
              "args" : [["EXPRESSION", {
111
                "args" : [["EXPRESSION", {
112
                  "args" : [["EXPRESSION", {
113
                    "args" : [["CONSTANT_VALUE", {
114
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s04b00x00p06n01i01294\""]}
115
                    ]]}
116
                  ]]}
117
                ]]}
118
              ]]}
119
            ], "severity" : ["EXPRESSION", {
120
              "args" : [["EXPRESSION", {
121
                "args" : [["EXPRESSION", {
122
                  "args" : [["EXPRESSION", {
123
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
124
                  ]]}
125
                ]]}
126
              ]]}
127
            ]}
128
          ], ["ASSERTION_STATEMENT", {
129
            "cond" : ["EXPRESSION", {
130
              "args" : [["EXPRESSION", {
131
                "args" : [["EXPRESSION", {
132
                  "args" : [["EXPRESSION", {
133
                    "args" : [["EXPRESSION", {
134
                      "id" : "=", "args" : [["EXPRESSION", {
135
                        "args" : [["EXPRESSION", {
136
                          "args" : [["EXPRESSION", {
137
                            "args" : [["CALL", ["SIMPLE_NAME", "DID"]]]}
138
                          ]]}
139
                        ]]}
140
                      ], ["EXPRESSION", {
141
                        "args" : [["EXPRESSION", {
142
                          "args" : [["EXPRESSION", {
143
                            "args" : [["CONSTANT_VALUE", {
144
                              "value" : ["CST_LITERAL", "B\"01010101\""]}
145
                            ]]}
146
                          ]]}
147
                        ]]}
148
                      ]]}
149
                    ]]}
150
                  ]]}
151
                ]]}
152
              ]]}
153
            ], "report" : ["EXPRESSION", {
154
              "args" : [["EXPRESSION", {
155
                "args" : [["EXPRESSION", {
156
                  "args" : [["EXPRESSION", {
157
                    "args" : [["CONSTANT_VALUE", {
158
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s04b00x00p06n01i01294 - Type of the right hand and left hand side of the signal assignment statement must be the same\""]}
159
                    ]]}
160
                  ]]}
161
                ]]}
162
              ]]}
163
            ], "severity" : ["EXPRESSION", {
164
              "args" : [["EXPRESSION", {
165
                "args" : [["EXPRESSION", {
166
                  "args" : [["EXPRESSION", {
167
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
168
                  ]]}
169
                ]]}
170
              ]]}
171
            ]}
172
          ], ["WAIT_STATEMENT"]]}
173
        ]]}
174
      ]}
175
    ]}
176
  }