Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (12 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "misc_logic"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["SIMPLE_NAME", "MVL4"]]]]]], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "gate_level"], "entity" : ["IDENTIFIER", "misc_logic"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "src1"], ["IDENTIFIER", "src1_enable"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "MVL4_ulogic"]}
13
            }
14
          ]}
15
        , {
16
          "declaration" : ["SIGNAL_DECLARATION", {
17
            "names" : [["IDENTIFIER", "src2"], ["IDENTIFIER", "src2_enable"]], "typ" : {
18
              "name" : ["SIMPLE_NAME", "MVL4_ulogic"]}
19
            }
20
          ]}
21
        , {
22
          "declaration" : ["SIGNAL_DECLARATION", {
23
            "names" : [["IDENTIFIER", "selected_val"]], "typ" : {
24
              "name" : ["SIMPLE_NAME", "MVL4_logic"]}
25
            }
26
          ]}
27
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
28
          "name" : ["IDENTIFIER", "src1_buffer"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "tri_state_buffer"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
29
            "formal_name" : ["SIMPLE_NAME", "a"], "actual_designator" : ["SIMPLE_NAME", "src1"]}
30
          , {
31
            "formal_name" : ["SIMPLE_NAME", "enable"], "actual_designator" : ["SIMPLE_NAME", "src1_enable"]}
32
          , {
33
            "formal_name" : ["SIMPLE_NAME", "y"], "actual_designator" : ["SIMPLE_NAME", "selected_val"]}
34
          ]}
35
        ], ["COMPONENT_INSTANTIATION_STATEMENT", {
36
          "name" : ["IDENTIFIER", "src2_buffer"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "tri_state_buffer"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
37
            "formal_name" : ["SIMPLE_NAME", "a"], "actual_designator" : ["SIMPLE_NAME", "src2"]}
38
          , {
39
            "formal_name" : ["SIMPLE_NAME", "enable"], "actual_designator" : ["SIMPLE_NAME", "src2_enable"]}
40
          , {
41
            "formal_name" : ["SIMPLE_NAME", "y"], "actual_designator" : ["SIMPLE_NAME", "selected_val"]}
42
          ]}
43
        ], ["PROCESS_STATEMENT", {
44
          "id" : ["IDENTIFIER", "stimulus"], "PROCESS_STATEMENT_PART" : [["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
45
            "lhs" : ["SIMPLE_NAME", "src1_enable"], "rhs" : [{
46
              "value" : ["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "args" : [["CONSTANT_VALUE", {
51
                        "value" : ["CST_LITERAL", "'0'"]}
52
                      ]]}
53
                    ]]}
54
                  ]]}
55
                ]]}
56
              ]}
57
            ]}
58
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
59
            "lhs" : ["SIMPLE_NAME", "src2_enable"], "rhs" : [{
60
              "value" : ["EXPRESSION", {
61
                "args" : [["EXPRESSION", {
62
                  "args" : [["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["CONSTANT_VALUE", {
65
                        "value" : ["CST_LITERAL", "'0'"]}
66
                      ]]}
67
                    ]]}
68
                  ]]}
69
                ]]}
70
              ]}
71
            ]}
72
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
73
            "lhs" : ["SIMPLE_NAME", "src1"], "rhs" : [{
74
              "value" : ["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "args" : [["EXPRESSION", {
78
                      "args" : [["CONSTANT_VALUE", {
79
                        "value" : ["CST_LITERAL", "'0'"]}
80
                      ]]}
81
                    ]]}
82
                  ]]}
83
                ]]}
84
              ]}
85
            ]}
86
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
87
            "lhs" : ["SIMPLE_NAME", "src2"], "rhs" : [{
88
              "value" : ["EXPRESSION", {
89
                "args" : [["EXPRESSION", {
90
                  "args" : [["EXPRESSION", {
91
                    "args" : [["EXPRESSION", {
92
                      "args" : [["CONSTANT_VALUE", {
93
                        "value" : ["CST_LITERAL", "'1'"]}
94
                      ]]}
95
                    ]]}
96
                  ]]}
97
                ]]}
98
              ]}
99
            ]}
100
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
101
            "lhs" : ["SIMPLE_NAME", "src1_enable"], "rhs" : [{
102
              "value" : ["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["EXPRESSION", {
105
                    "args" : [["EXPRESSION", {
106
                      "args" : [["CONSTANT_VALUE", {
107
                        "value" : ["CST_LITERAL", "'1'"]}
108
                      ]]}
109
                    ]]}
110
                  ]]}
111
                ]]}
112
              ]}
113
            ]}
114
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
115
            "lhs" : ["SIMPLE_NAME", "src1"], "rhs" : [{
116
              "value" : ["EXPRESSION", {
117
                "args" : [["EXPRESSION", {
118
                  "args" : [["EXPRESSION", {
119
                    "args" : [["EXPRESSION", {
120
                      "args" : [["CONSTANT_VALUE", {
121
                        "value" : ["CST_LITERAL", "'Z'"]}
122
                      ]]}
123
                    ]]}
124
                  ]]}
125
                ]]}
126
              ]}
127
            ]}
128
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
129
            "lhs" : ["SIMPLE_NAME", "src1"], "rhs" : [{
130
              "value" : ["EXPRESSION", {
131
                "args" : [["EXPRESSION", {
132
                  "args" : [["EXPRESSION", {
133
                    "args" : [["EXPRESSION", {
134
                      "args" : [["CONSTANT_VALUE", {
135
                        "value" : ["CST_LITERAL", "'1'"]}
136
                      ]]}
137
                    ]]}
138
                  ]]}
139
                ]]}
140
              ]}
141
            ]}
142
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
143
            "lhs" : ["SIMPLE_NAME", "src1_enable"], "rhs" : [{
144
              "value" : ["EXPRESSION", {
145
                "args" : [["EXPRESSION", {
146
                  "args" : [["EXPRESSION", {
147
                    "args" : [["EXPRESSION", {
148
                      "args" : [["CONSTANT_VALUE", {
149
                        "value" : ["CST_LITERAL", "'0'"]}
150
                      ]]}
151
                    ]]}
152
                  ]]}
153
                ]]}
154
              ]}
155
            ]}
156
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
157
            "lhs" : ["SIMPLE_NAME", "src2_enable"], "rhs" : [{
158
              "value" : ["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "args" : [["EXPRESSION", {
162
                      "args" : [["CONSTANT_VALUE", {
163
                        "value" : ["CST_LITERAL", "'1'"]}
164
                      ]]}
165
                    ]]}
166
                  ]]}
167
                ]]}
168
              ]}
169
            ]}
170
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
171
            "lhs" : ["SIMPLE_NAME", "src2"], "rhs" : [{
172
              "value" : ["EXPRESSION", {
173
                "args" : [["EXPRESSION", {
174
                  "args" : [["EXPRESSION", {
175
                    "args" : [["EXPRESSION", {
176
                      "args" : [["CONSTANT_VALUE", {
177
                        "value" : ["CST_LITERAL", "'Z'"]}
178
                      ]]}
179
                    ]]}
180
                  ]]}
181
                ]]}
182
              ]}
183
            ]}
184
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
185
            "lhs" : ["SIMPLE_NAME", "src2"], "rhs" : [{
186
              "value" : ["EXPRESSION", {
187
                "args" : [["EXPRESSION", {
188
                  "args" : [["EXPRESSION", {
189
                    "args" : [["EXPRESSION", {
190
                      "args" : [["CONSTANT_VALUE", {
191
                        "value" : ["CST_LITERAL", "'0'"]}
192
                      ]]}
193
                    ]]}
194
                  ]]}
195
                ]]}
196
              ]}
197
            ]}
198
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
199
            "lhs" : ["SIMPLE_NAME", "src2_enable"], "rhs" : [{
200
              "value" : ["EXPRESSION", {
201
                "args" : [["EXPRESSION", {
202
                  "args" : [["EXPRESSION", {
203
                    "args" : [["EXPRESSION", {
204
                      "args" : [["CONSTANT_VALUE", {
205
                        "value" : ["CST_LITERAL", "'0'"]}
206
                      ]]}
207
                    ]]}
208
                  ]]}
209
                ]]}
210
              ]}
211
            ]}
212
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
213
            "lhs" : ["SIMPLE_NAME", "src1_enable"], "rhs" : [{
214
              "value" : ["EXPRESSION", {
215
                "args" : [["EXPRESSION", {
216
                  "args" : [["EXPRESSION", {
217
                    "args" : [["EXPRESSION", {
218
                      "args" : [["CONSTANT_VALUE", {
219
                        "value" : ["CST_LITERAL", "'1'"]}
220
                      ]]}
221
                    ]]}
222
                  ]]}
223
                ]]}
224
              ]}
225
            ]}
226
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
227
            "lhs" : ["SIMPLE_NAME", "src2_enable"], "rhs" : [{
228
              "value" : ["EXPRESSION", {
229
                "args" : [["EXPRESSION", {
230
                  "args" : [["EXPRESSION", {
231
                    "args" : [["EXPRESSION", {
232
                      "args" : [["CONSTANT_VALUE", {
233
                        "value" : ["CST_LITERAL", "'1'"]}
234
                      ]]}
235
                    ]]}
236
                  ]]}
237
                ]]}
238
              ]}
239
            ]}
240
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
241
            "lhs" : ["SIMPLE_NAME", "src1"], "rhs" : [{
242
              "value" : ["EXPRESSION", {
243
                "args" : [["EXPRESSION", {
244
                  "args" : [["EXPRESSION", {
245
                    "args" : [["EXPRESSION", {
246
                      "args" : [["CONSTANT_VALUE", {
247
                        "value" : ["CST_LITERAL", "'0'"]}
248
                      ]]}
249
                    ]]}
250
                  ]]}
251
                ]]}
252
              ]}
253
            ]}
254
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
255
            "lhs" : ["SIMPLE_NAME", "src1"], "rhs" : [{
256
              "value" : ["EXPRESSION", {
257
                "args" : [["EXPRESSION", {
258
                  "args" : [["EXPRESSION", {
259
                    "args" : [["EXPRESSION", {
260
                      "args" : [["CONSTANT_VALUE", {
261
                        "value" : ["CST_LITERAL", "'X'"]}
262
                      ]]}
263
                    ]]}
264
                  ]]}
265
                ]]}
266
              ]}
267
            ]}
268
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
269
            "lhs" : ["SIMPLE_NAME", "src1"], "rhs" : [{
270
              "value" : ["EXPRESSION", {
271
                "args" : [["EXPRESSION", {
272
                  "args" : [["EXPRESSION", {
273
                    "args" : [["EXPRESSION", {
274
                      "args" : [["CONSTANT_VALUE", {
275
                        "value" : ["CST_LITERAL", "'1'"]}
276
                      ]]}
277
                    ]]}
278
                  ]]}
279
                ]]}
280
              ]}
281
            ]}
282
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
283
            "lhs" : ["SIMPLE_NAME", "src2"], "rhs" : [{
284
              "value" : ["EXPRESSION", {
285
                "args" : [["EXPRESSION", {
286
                  "args" : [["EXPRESSION", {
287
                    "args" : [["EXPRESSION", {
288
                      "args" : [["CONSTANT_VALUE", {
289
                        "value" : ["CST_LITERAL", "'1'"]}
290
                      ]]}
291
                    ]]}
292
                  ]]}
293
                ]]}
294
              ]}
295
            ]}
296
          ], ["WAIT_STATEMENT"], ["WAIT_STATEMENT"]]}
297
        ]]}
298
      ]}
299
    ]}
300
  }