Project

General

Profile

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