Project

General

Profile

Download (14.5 KB) Statistics
| Branch: | Tag: | Revision:
1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "bidir_buffer"], "ports" : [{
6
          "names" : [["IDENTIFIER", "bidir"]], "mode" : ["inout"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic_vector"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "ena"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_ulogic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "going_out"]], "mode" : ["in"], "typ" : {
15
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"]}
16
          }
17
        , {
18
          "names" : [["IDENTIFIER", "coming_in"]], "mode" : ["out"], "typ" : {
19
            "name" : ["SIMPLE_NAME", "std_ulogic_vector"]}
20
          }
21
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
22
      ]}
23
    , {
24
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
25
        "name" : ["IDENTIFIER", "behavior"], "entity" : ["IDENTIFIER", "bidir_buffer"], "ARCHITECTURE_DECLARATIVE_PART" : [{
26
          "declaration" : ["CONSTANT_DECLARATION", {
27
            "names" : [["IDENTIFIER", "hi_impedance"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
29
                "ranges" : [["NAMED_RANGE", ["ATTRIBUTE_NAME", {
30
                  "id" : ["SIMPLE_NAME", "bidir"], "designator" : ["SIMPLE_NAME", "range"]}
31
                ]]]}
32
              ]}
33
            , "init_val" : ["EXPRESSION", {
34
              "args" : [["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["AGGREGATE", {
38
                      "elems" : [{
39
                        "choices" : [["OTHERS"]], "expr" : ["EXPRESSION", {
40
                          "args" : [["EXPRESSION", {
41
                            "args" : [["EXPRESSION", {
42
                              "args" : [["EXPRESSION", {
43
                                "args" : [["CONSTANT_VALUE", {
44
                                  "value" : ["CST_LITERAL", "'Z'"]}
45
                                ]]}
46
                              ]]}
47
                            ]]}
48
                          ]]}
49
                        ]}
50
                      ]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]]}
55
            ]}
56
          ]}
57
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
58
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "bidir"], "rhs" : [{
59
            "expr" : [{
60
              "value" : ["EXPRESSION", {
61
                "args" : [["EXPRESSION", {
62
                  "args" : [["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["CALL", ["FUNCTION_CALL", {
65
                        "id" : ["SIMPLE_NAME", "To_stdlogicvector"], "assoc_list" : [{
66
                          "actual_designator" : ["SIMPLE_NAME", "going_out"]}
67
                        ]}
68
                      ]]]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]}
73
            ], "cond" : ["EXPRESSION", {
74
              "id" : "=", "args" : [["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "args" : [["CALL", ["SIMPLE_NAME", "ena"]]]}
78
                  ]]}
79
                ]]}
80
              ], ["EXPRESSION", {
81
                "args" : [["EXPRESSION", {
82
                  "args" : [["EXPRESSION", {
83
                    "args" : [["CONSTANT_VALUE", {
84
                      "value" : ["CST_LITERAL", "'1'"]}
85
                    ]]}
86
                  ]]}
87
                ]]}
88
              ]]}
89
            ]}
90
          , {
91
            "expr" : [{
92
              "value" : ["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "args" : [["CALL", ["SIMPLE_NAME", "hi_impedance"]]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ]}
101
            ]}
102
          ]}
103
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
104
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "coming_in"], "rhs" : [{
105
            "expr" : [{
106
              "value" : ["EXPRESSION", {
107
                "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["EXPRESSION", {
110
                      "args" : [["CALL", ["FUNCTION_CALL", {
111
                        "id" : ["SIMPLE_NAME", "To_stdulogicvector"], "assoc_list" : [{
112
                          "actual_designator" : ["SIMPLE_NAME", "bidir"]}
113
                        ]}
114
                      ]]]}
115
                    ]]}
116
                  ]]}
117
                ]]}
118
              ]}
119
            ]}
120
          ]}
121
        ]]}
122
      ]}
123
    , {
124
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
125
        "name" : ["IDENTIFIER", "ap_a_07"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
126
      ]}
127
    , {
128
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]]], "library" : ["ARCHITECTURE_BODY", {
129
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "ap_a_07"], "ARCHITECTURE_DECLARATIVE_PART" : [{
130
          "declaration" : ["SIGNAL_DECLARATION", {
131
            "names" : [["IDENTIFIER", "bidir"]], "typ" : {
132
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
133
                "ranges" : [["RANGE_WITH_DIRECTION", {
134
                  "direction" : "downto", "from" : ["EXPRESSION", {
135
                    "args" : [["EXPRESSION", {
136
                      "args" : [["CONSTANT_VALUE", {
137
                        "value" : ["CST_LITERAL", "3"]}
138
                      ]]}
139
                    ]]}
140
                  ], "_to" : ["EXPRESSION", {
141
                    "args" : [["EXPRESSION", {
142
                      "args" : [["CONSTANT_VALUE", {
143
                        "value" : ["CST_LITERAL", "0"]}
144
                      ]]}
145
                    ]]}
146
                  ]}
147
                ]]}
148
              ]}
149
            }
150
          ]}
151
        , {
152
          "declaration" : ["SIGNAL_DECLARATION", {
153
            "names" : [["IDENTIFIER", "going_out"], ["IDENTIFIER", "coming_in"]], "typ" : {
154
              "name" : ["SIMPLE_NAME", "std_ulogic_vector"], "const" : ["INDEX_CONSTRAINT", {
155
                "ranges" : [["RANGE_WITH_DIRECTION", {
156
                  "direction" : "downto", "from" : ["EXPRESSION", {
157
                    "args" : [["EXPRESSION", {
158
                      "args" : [["CONSTANT_VALUE", {
159
                        "value" : ["CST_LITERAL", "3"]}
160
                      ]]}
161
                    ]]}
162
                  ], "_to" : ["EXPRESSION", {
163
                    "args" : [["EXPRESSION", {
164
                      "args" : [["CONSTANT_VALUE", {
165
                        "value" : ["CST_LITERAL", "0"]}
166
                      ]]}
167
                    ]]}
168
                  ]}
169
                ]]}
170
              ]}
171
            }
172
          ]}
173
        , {
174
          "declaration" : ["SIGNAL_DECLARATION", {
175
            "names" : [["IDENTIFIER", "ena"]], "typ" : {
176
              "name" : ["SIMPLE_NAME", "std_ulogic"]}
177
            }
178
          ]}
179
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
180
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "bidir_buffer"]]], "inst_unit_type" : "entity", "port_map" : [{
181
            "actual_designator" : ["SIMPLE_NAME", "bidir"]}
182
          , {
183
            "actual_designator" : ["SIMPLE_NAME", "ena"]}
184
          , {
185
            "actual_designator" : ["SIMPLE_NAME", "going_out"]}
186
          , {
187
            "actual_designator" : ["SIMPLE_NAME", "coming_in"]}
188
          ]}
189
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
190
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "ena"], "rhs" : [{
191
            "expr" : [{
192
              "value" : ["EXPRESSION", {
193
                "args" : [["EXPRESSION", {
194
                  "args" : [["EXPRESSION", {
195
                    "args" : [["EXPRESSION", {
196
                      "args" : [["CONSTANT_VALUE", {
197
                        "value" : ["CST_LITERAL", "'0'"]}
198
                      ]]}
199
                    ]]}
200
                  ]]}
201
                ]]}
202
              ]}
203
            , {
204
              "value" : ["EXPRESSION", {
205
                "args" : [["EXPRESSION", {
206
                  "args" : [["EXPRESSION", {
207
                    "args" : [["EXPRESSION", {
208
                      "args" : [["CONSTANT_VALUE", {
209
                        "value" : ["CST_LITERAL", "'1'"]}
210
                      ]]}
211
                    ]]}
212
                  ]]}
213
                ]]}
214
              ], "delay" : ["EXPRESSION", {
215
                "args" : [["EXPRESSION", {
216
                  "args" : [["EXPRESSION", {
217
                    "args" : [["EXPRESSION", {
218
                      "args" : [["CONSTANT_VALUE", {
219
                        "value" : ["CST_LITERAL", "10"], "unit_name" : ["SIMPLE_NAME", "ns"]}
220
                      ]]}
221
                    ]]}
222
                  ]]}
223
                ]]}
224
              ]}
225
            , {
226
              "value" : ["EXPRESSION", {
227
                "args" : [["EXPRESSION", {
228
                  "args" : [["EXPRESSION", {
229
                    "args" : [["EXPRESSION", {
230
                      "args" : [["CONSTANT_VALUE", {
231
                        "value" : ["CST_LITERAL", "'0'"]}
232
                      ]]}
233
                    ]]}
234
                  ]]}
235
                ]]}
236
              ], "delay" : ["EXPRESSION", {
237
                "args" : [["EXPRESSION", {
238
                  "args" : [["EXPRESSION", {
239
                    "args" : [["EXPRESSION", {
240
                      "args" : [["CONSTANT_VALUE", {
241
                        "value" : ["CST_LITERAL", "30"], "unit_name" : ["SIMPLE_NAME", "ns"]}
242
                      ]]}
243
                    ]]}
244
                  ]]}
245
                ]]}
246
              ]}
247
            ]}
248
          ]}
249
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
250
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "going_out"], "rhs" : [{
251
            "expr" : [{
252
              "value" : ["EXPRESSION", {
253
                "args" : [["EXPRESSION", {
254
                  "args" : [["EXPRESSION", {
255
                    "args" : [["EXPRESSION", {
256
                      "args" : [["CONSTANT_VALUE", {
257
                        "value" : ["CST_LITERAL", "\"0000\""]}
258
                      ]]}
259
                    ]]}
260
                  ]]}
261
                ]]}
262
              ]}
263
            , {
264
              "value" : ["EXPRESSION", {
265
                "args" : [["EXPRESSION", {
266
                  "args" : [["EXPRESSION", {
267
                    "args" : [["EXPRESSION", {
268
                      "args" : [["CONSTANT_VALUE", {
269
                        "value" : ["CST_LITERAL", "\"1111\""]}
270
                      ]]}
271
                    ]]}
272
                  ]]}
273
                ]]}
274
              ], "delay" : ["EXPRESSION", {
275
                "args" : [["EXPRESSION", {
276
                  "args" : [["EXPRESSION", {
277
                    "args" : [["EXPRESSION", {
278
                      "args" : [["CONSTANT_VALUE", {
279
                        "value" : ["CST_LITERAL", "20"], "unit_name" : ["SIMPLE_NAME", "ns"]}
280
                      ]]}
281
                    ]]}
282
                  ]]}
283
                ]]}
284
              ]}
285
            ]}
286
          ]}
287
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
288
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "bidir"], "rhs" : [{
289
            "expr" : [{
290
              "value" : ["EXPRESSION", {
291
                "args" : [["EXPRESSION", {
292
                  "args" : [["EXPRESSION", {
293
                    "args" : [["EXPRESSION", {
294
                      "args" : [["CONSTANT_VALUE", {
295
                        "value" : ["CST_LITERAL", "\"ZZZZ\""]}
296
                      ]]}
297
                    ]]}
298
                  ]]}
299
                ]]}
300
              ]}
301
            , {
302
              "value" : ["EXPRESSION", {
303
                "args" : [["EXPRESSION", {
304
                  "args" : [["EXPRESSION", {
305
                    "args" : [["EXPRESSION", {
306
                      "args" : [["CONSTANT_VALUE", {
307
                        "value" : ["CST_LITERAL", "\"0000\""]}
308
                      ]]}
309
                    ]]}
310
                  ]]}
311
                ]]}
312
              ], "delay" : ["EXPRESSION", {
313
                "args" : [["EXPRESSION", {
314
                  "args" : [["EXPRESSION", {
315
                    "args" : [["EXPRESSION", {
316
                      "args" : [["CONSTANT_VALUE", {
317
                        "value" : ["CST_LITERAL", "40"], "unit_name" : ["SIMPLE_NAME", "ns"]}
318
                      ]]}
319
                    ]]}
320
                  ]]}
321
                ]]}
322
              ]}
323
            , {
324
              "value" : ["EXPRESSION", {
325
                "args" : [["EXPRESSION", {
326
                  "args" : [["EXPRESSION", {
327
                    "args" : [["EXPRESSION", {
328
                      "args" : [["CONSTANT_VALUE", {
329
                        "value" : ["CST_LITERAL", "\"1111\""]}
330
                      ]]}
331
                    ]]}
332
                  ]]}
333
                ]]}
334
              ], "delay" : ["EXPRESSION", {
335
                "args" : [["EXPRESSION", {
336
                  "args" : [["EXPRESSION", {
337
                    "args" : [["EXPRESSION", {
338
                      "args" : [["CONSTANT_VALUE", {
339
                        "value" : ["CST_LITERAL", "50"], "unit_name" : ["SIMPLE_NAME", "ns"]}
340
                      ]]}
341
                    ]]}
342
                  ]]}
343
                ]]}
344
              ]}
345
            , {
346
              "value" : ["EXPRESSION", {
347
                "args" : [["EXPRESSION", {
348
                  "args" : [["EXPRESSION", {
349
                    "args" : [["EXPRESSION", {
350
                      "args" : [["CONSTANT_VALUE", {
351
                        "value" : ["CST_LITERAL", "\"ZZZZ\""]}
352
                      ]]}
353
                    ]]}
354
                  ]]}
355
                ]]}
356
              ], "delay" : ["EXPRESSION", {
357
                "args" : [["EXPRESSION", {
358
                  "args" : [["EXPRESSION", {
359
                    "args" : [["EXPRESSION", {
360
                      "args" : [["CONSTANT_VALUE", {
361
                        "value" : ["CST_LITERAL", "60"], "unit_name" : ["SIMPLE_NAME", "ns"]}
362
                      ]]}
363
                    ]]}
364
                  ]]}
365
                ]]}
366
              ]}
367
            ]}
368
          ]}
369
        ]]}
370
      ]}
371
    ]}
372
  }
(7-7/276)