Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.9 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c09s05b02x00p02n01i01766ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c09s05b02x00p02n01i01766arch"], "entity" : ["IDENTIFIER", "c09s05b02x00p02n01i01766ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "i"], ["IDENTIFIER", "j"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "integer"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "1"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        ], "ARCHITECTURE_STATEMENT_PART" : [["SELECTED_SIGNAL_ASSIGNMENT", {
26
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "j"], "sel" : ["EXPRESSION", {
27
            "args" : [["EXPRESSION", {
28
              "args" : [["EXPRESSION", {
29
                "args" : [["EXPRESSION", {
30
                  "args" : [["CALL", ["SIMPLE_NAME", "i"]]]}
31
                ]]}
32
              ]]}
33
            ]]}
34
          ], "branches" : [{
35
            "expr" : [{
36
              "value" : ["EXPRESSION", {
37
                "args" : [["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["EXPRESSION", {
40
                      "args" : [["CONSTANT_VALUE", {
41
                        "value" : ["CST_LITERAL", "1"]}
42
                      ]]}
43
                    ]]}
44
                  ]]}
45
                ]]}
46
              ]}
47
            ], "when_sel" : [["EXPRESSION", {
48
              "args" : [["EXPRESSION", {
49
                "args" : [["CONSTANT_VALUE", {
50
                  "value" : ["CST_LITERAL", "1"]}
51
                ]]}
52
              ]]}
53
            ]]}
54
          , {
55
            "expr" : [{
56
              "value" : ["EXPRESSION", {
57
                "args" : [["EXPRESSION", {
58
                  "args" : [["EXPRESSION", {
59
                    "args" : [["EXPRESSION", {
60
                      "args" : [["CONSTANT_VALUE", {
61
                        "value" : ["CST_LITERAL", "2"]}
62
                      ]]}
63
                    ]]}
64
                  ]]}
65
                ]]}
66
              ]}
67
            ], "when_sel" : [["EXPRESSION", {
68
              "args" : [["EXPRESSION", {
69
                "args" : [["CONSTANT_VALUE", {
70
                  "value" : ["CST_LITERAL", "2"]}
71
                ]]}
72
              ]]}
73
            ]]}
74
          , {
75
            "expr" : [{
76
              "value" : ["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["CONSTANT_VALUE", {
81
                        "value" : ["CST_LITERAL", "3"]}
82
                      ]]}
83
                    ]]}
84
                  ]]}
85
                ]]}
86
              ]}
87
            ], "when_sel" : [["OTHERS"]]}
88
          ]}
89
        ], ["PROCESS_STATEMENT", {
90
          "id" : ["IDENTIFIER", "TESTING"], "active_sigs" : [["SIMPLE_NAME", "j"]], "PROCESS_STATEMENT_PART" : [["ASSERTION_STATEMENT", {
91
            "cond" : ["EXPRESSION", {
92
              "args" : [["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "id" : "NOT", "args" : [["EXPRESSION", {
96
                      "id" : "=", "args" : [["EXPRESSION", {
97
                        "args" : [["EXPRESSION", {
98
                          "args" : [["EXPRESSION", {
99
                            "args" : [["CALL", ["SIMPLE_NAME", "j"]]]}
100
                          ]]}
101
                        ]]}
102
                      ], ["EXPRESSION", {
103
                        "args" : [["EXPRESSION", {
104
                          "args" : [["EXPRESSION", {
105
                            "args" : [["CONSTANT_VALUE", {
106
                              "value" : ["CST_LITERAL", "1"]}
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", "\"***PASSED TEST: c09s05b02x00p02n01i01766\""]}
121
                    ]]}
122
                  ]]}
123
                ]]}
124
              ]]}
125
            ], "severity" : ["EXPRESSION", {
126
              "args" : [["EXPRESSION", {
127
                "args" : [["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
130
                  ]]}
131
                ]]}
132
              ]]}
133
            ]}
134
          ], ["ASSERTION_STATEMENT", {
135
            "cond" : ["EXPRESSION", {
136
              "args" : [["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["EXPRESSION", {
140
                      "id" : "=", "args" : [["EXPRESSION", {
141
                        "args" : [["EXPRESSION", {
142
                          "args" : [["EXPRESSION", {
143
                            "args" : [["CALL", ["SIMPLE_NAME", "j"]]]}
144
                          ]]}
145
                        ]]}
146
                      ], ["EXPRESSION", {
147
                        "args" : [["EXPRESSION", {
148
                          "args" : [["EXPRESSION", {
149
                            "args" : [["CONSTANT_VALUE", {
150
                              "value" : ["CST_LITERAL", "1"]}
151
                            ]]}
152
                          ]]}
153
                        ]]}
154
                      ]]}
155
                    ]]}
156
                  ]]}
157
                ]]}
158
              ]]}
159
            ], "report" : ["EXPRESSION", {
160
              "args" : [["EXPRESSION", {
161
                "args" : [["EXPRESSION", {
162
                  "args" : [["EXPRESSION", {
163
                    "args" : [["CONSTANT_VALUE", {
164
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c09s05b02x00p02n01i01766 - In the selected signal assignment, the reserved word with must be followed by an expression and the reserved word select.\""]}
165
                    ]]}
166
                  ]]}
167
                ]]}
168
              ]]}
169
            ], "severity" : ["EXPRESSION", {
170
              "args" : [["EXPRESSION", {
171
                "args" : [["EXPRESSION", {
172
                  "args" : [["EXPRESSION", {
173
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
174
                  ]]}
175
                ]]}
176
              ]]}
177
            ]}
178
          ]]}
179
        ]]}
180
      ]}
181
    ]}
182
  }