Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue301 / packages / pkg_types.json @ 2051e520

History | View | Annotate | Download (10.2 KB)

1 2051e520 Arnaud Dieumegard
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "numeric_std"]]]]], ["LIBRARY_CLAUSE", [["IDENTIFIER", "dec_viterbi"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "dec_viterbi"], ["SIMPLE_NAME", "pkg_param"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "dec_viterbi"], ["SIMPLE_NAME", "pkg_param_derived"]]]]]], "library" : ["PACKAGE_DECLARATION", {
5
        "name" : ["IDENTIFIER", "pkg_types"], "shared_defs" : [["TYPE_DECLARATION", {
6
          "name" : ["IDENTIFIER", "t_input_block"], "definition" : ["ARRAY_TYPE_DEFINITION", {
7
            "const" : ["INDEX_CONSTRAINT", {
8
              "ranges" : [["RANGE_WITH_DIRECTION", {
9
                "direction" : "downto", "from" : ["EXPRESSION", {
10
                  "args" : [["EXPRESSION", {
11
                    "id" : "-", "args" : [["EXPRESSION", {
12
                      "args" : [["CALL", ["SIMPLE_NAME", "NUMBER_PARITY_BITS"]]]}
13
                    ], ["EXPRESSION", {
14
                      "args" : [["CONSTANT_VALUE", {
15
                        "value" : ["CST_LITERAL", "1"]}
16
                      ]]}
17
                    ]]}
18
                  ]]}
19
                ], "_to" : ["EXPRESSION", {
20
                  "args" : [["EXPRESSION", {
21
                    "args" : [["CONSTANT_VALUE", {
22
                      "value" : ["CST_LITERAL", "0"]}
23
                    ]]}
24
                  ]]}
25
                ]}
26
              ]]}
27
            ], "definition" : {
28
              "name" : ["SIMPLE_NAME", "signed"], "const" : ["INDEX_CONSTRAINT", {
29
                "ranges" : [["RANGE_WITH_DIRECTION", {
30
                  "direction" : "downto", "from" : ["EXPRESSION", {
31
                    "args" : [["EXPRESSION", {
32
                      "id" : "-", "args" : [["EXPRESSION", {
33
                        "args" : [["CALL", ["SIMPLE_NAME", "BW_LLR_INPUT"]]]}
34
                      ], ["EXPRESSION", {
35
                        "args" : [["CONSTANT_VALUE", {
36
                          "value" : ["CST_LITERAL", "1"]}
37
                        ]]}
38
                      ]]}
39
                    ]]}
40
                  ], "_to" : ["EXPRESSION", {
41
                    "args" : [["EXPRESSION", {
42
                      "args" : [["CONSTANT_VALUE", {
43
                        "value" : ["CST_LITERAL", "0"]}
44
                      ]]}
45
                    ]]}
46
                  ]}
47
                ]]}
48
              ]}
49
            }
50
          ]}
51
        ], ["TYPE_DECLARATION", {
52
          "name" : ["IDENTIFIER", "t_node_s"], "definition" : ["ARRAY_TYPE_DEFINITION", {
53
            "const" : ["INDEX_CONSTRAINT", {
54
              "ranges" : [["RANGE_WITH_DIRECTION", {
55
                "direction" : "downto", "from" : ["EXPRESSION", {
56
                  "args" : [["EXPRESSION", {
57
                    "id" : "-", "args" : [["EXPRESSION", {
58
                      "args" : [["CALL", ["SIMPLE_NAME", "NUMBER_TRELLIS_STATES"]]]}
59
                    ], ["EXPRESSION", {
60
                      "args" : [["CONSTANT_VALUE", {
61
                        "value" : ["CST_LITERAL", "1"]}
62
                      ]]}
63
                    ]]}
64
                  ]]}
65
                ], "_to" : ["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "args" : [["CONSTANT_VALUE", {
68
                      "value" : ["CST_LITERAL", "0"]}
69
                    ]]}
70
                  ]]}
71
                ]}
72
              ]]}
73
            ], "definition" : {
74
              "name" : ["SIMPLE_NAME", "signed"], "const" : ["INDEX_CONSTRAINT", {
75
                "ranges" : [["RANGE_WITH_DIRECTION", {
76
                  "direction" : "downto", "from" : ["EXPRESSION", {
77
                    "args" : [["EXPRESSION", {
78
                      "id" : "-", "args" : [["EXPRESSION", {
79
                        "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
80
                      ], ["EXPRESSION", {
81
                        "args" : [["CONSTANT_VALUE", {
82
                          "value" : ["CST_LITERAL", "1"]}
83
                        ]]}
84
                      ]]}
85
                    ]]}
86
                  ], "_to" : ["EXPRESSION", {
87
                    "args" : [["EXPRESSION", {
88
                      "args" : [["CONSTANT_VALUE", {
89
                        "value" : ["CST_LITERAL", "0"]}
90
                      ]]}
91
                    ]]}
92
                  ]}
93
                ]]}
94
              ]}
95
            }
96
          ]}
97
        ], ["TYPE_DECLARATION", {
98
          "name" : ["IDENTIFIER", "t_node"], "definition" : ["ARRAY_TYPE_DEFINITION", {
99
            "const" : ["INDEX_CONSTRAINT", {
100
              "ranges" : [["RANGE_WITH_DIRECTION", {
101
                "direction" : "downto", "from" : ["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "id" : "-", "args" : [["EXPRESSION", {
104
                      "args" : [["CALL", ["SIMPLE_NAME", "NUMBER_TRELLIS_STATES"]]]}
105
                    ], ["EXPRESSION", {
106
                      "args" : [["CONSTANT_VALUE", {
107
                        "value" : ["CST_LITERAL", "1"]}
108
                      ]]}
109
                    ]]}
110
                  ]]}
111
                ], "_to" : ["EXPRESSION", {
112
                  "args" : [["EXPRESSION", {
113
                    "args" : [["CONSTANT_VALUE", {
114
                      "value" : ["CST_LITERAL", "0"]}
115
                    ]]}
116
                  ]]}
117
                ]}
118
              ]]}
119
            ], "definition" : {
120
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
121
                "ranges" : [["RANGE_WITH_DIRECTION", {
122
                  "direction" : "downto", "from" : ["EXPRESSION", {
123
                    "args" : [["EXPRESSION", {
124
                      "id" : "-", "args" : [["EXPRESSION", {
125
                        "args" : [["CALL", ["SIMPLE_NAME", "BW_MAX_PROBABILITY"]]]}
126
                      ], ["EXPRESSION", {
127
                        "args" : [["CONSTANT_VALUE", {
128
                          "value" : ["CST_LITERAL", "1"]}
129
                        ]]}
130
                      ]]}
131
                    ]]}
132
                  ], "_to" : ["EXPRESSION", {
133
                    "args" : [["EXPRESSION", {
134
                      "args" : [["CONSTANT_VALUE", {
135
                        "value" : ["CST_LITERAL", "0"]}
136
                      ]]}
137
                    ]]}
138
                  ]}
139
                ]]}
140
              ]}
141
            }
142
          ]}
143
        ], ["TYPE_DECLARATION", {
144
          "name" : ["IDENTIFIER", "t_branch"], "definition" : ["ARRAY_TYPE_DEFINITION", {
145
            "const" : ["INDEX_CONSTRAINT", {
146
              "ranges" : [["RANGE_WITH_DIRECTION", {
147
                "direction" : "downto", "from" : ["EXPRESSION", {
148
                  "args" : [["EXPRESSION", {
149
                    "id" : "-", "args" : [["EXPRESSION", {
150
                      "args" : [["CALL", ["SIMPLE_NAME", "NUMBER_BRANCH_UNITS"]]]}
151
                    ], ["EXPRESSION", {
152
                      "args" : [["CONSTANT_VALUE", {
153
                        "value" : ["CST_LITERAL", "1"]}
154
                      ]]}
155
                    ]]}
156
                  ]]}
157
                ], "_to" : ["EXPRESSION", {
158
                  "args" : [["EXPRESSION", {
159
                    "args" : [["CONSTANT_VALUE", {
160
                      "value" : ["CST_LITERAL", "0"]}
161
                    ]]}
162
                  ]]}
163
                ]}
164
              ]]}
165
            ], "definition" : {
166
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
167
                "ranges" : [["RANGE_WITH_DIRECTION", {
168
                  "direction" : "downto", "from" : ["EXPRESSION", {
169
                    "args" : [["EXPRESSION", {
170
                      "id" : "-", "args" : [["EXPRESSION", {
171
                        "args" : [["CALL", ["SIMPLE_NAME", "BW_BRANCH_RESULT"]]]}
172
                      ], ["EXPRESSION", {
173
                        "args" : [["CONSTANT_VALUE", {
174
                          "value" : ["CST_LITERAL", "1"]}
175
                        ]]}
176
                      ]]}
177
                    ]]}
178
                  ], "_to" : ["EXPRESSION", {
179
                    "args" : [["EXPRESSION", {
180
                      "args" : [["CONSTANT_VALUE", {
181
                        "value" : ["CST_LITERAL", "0"]}
182
                      ]]}
183
                    ]]}
184
                  ]}
185
                ]]}
186
              ]}
187
            }
188
          ]}
189
        ], ["TYPE_DECLARATION", {
190
          "name" : ["IDENTIFIER", "t_ram_rd_data"], "definition" : ["ARRAY_TYPE_DEFINITION", {
191
            "const" : ["INDEX_CONSTRAINT", {
192
              "ranges" : [["RANGE_WITH_DIRECTION", {
193
                "direction" : "downto", "from" : ["EXPRESSION", {
194
                  "args" : [["EXPRESSION", {
195
                    "args" : [["CONSTANT_VALUE", {
196
                      "value" : ["CST_LITERAL", "1"]}
197
                    ]]}
198
                  ]]}
199
                ], "_to" : ["EXPRESSION", {
200
                  "args" : [["EXPRESSION", {
201
                    "args" : [["CONSTANT_VALUE", {
202
                      "value" : ["CST_LITERAL", "0"]}
203
                    ]]}
204
                  ]]}
205
                ]}
206
              ]]}
207
            ], "definition" : {
208
              "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
209
                "ranges" : [["RANGE_WITH_DIRECTION", {
210
                  "direction" : "downto", "from" : ["EXPRESSION", {
211
                    "args" : [["EXPRESSION", {
212
                      "id" : "-", "args" : [["EXPRESSION", {
213
                        "args" : [["CALL", ["SIMPLE_NAME", "NUMBER_TRELLIS_STATES"]]]}
214
                      ], ["EXPRESSION", {
215
                        "args" : [["CONSTANT_VALUE", {
216
                          "value" : ["CST_LITERAL", "1"]}
217
                        ]]}
218
                      ]]}
219
                    ]]}
220
                  ], "_to" : ["EXPRESSION", {
221
                    "args" : [["EXPRESSION", {
222
                      "args" : [["CONSTANT_VALUE", {
223
                        "value" : ["CST_LITERAL", "0"]}
224
                      ]]}
225
                    ]]}
226
                  ]}
227
                ]]}
228
              ]}
229
            }
230
          ]}
231
        ]], "shared_decls" : [], "shared_uses" : []}
232
      ]}
233
    ]}
234
  }