Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue50 / idct.d / mul_566.json @ 3fd18385

History | View | Annotate | Download (7.47 KB)

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", "mul_566"], "ports" : [{
6
          "names" : [["IDENTIFIER", "result"]], "mode" : ["out"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
8
              "ranges" : [["RANGE_WITH_DIRECTION", {
9
                "direction" : "downto", "from" : ["EXPRESSION", {
10
                  "args" : [["EXPRESSION", {
11
                    "args" : [["CONSTANT_VALUE", {
12
                      "value" : ["CST_LITERAL", "31"]}
13
                    ]]}
14
                  ]]}
15
                ], "_to" : ["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "0"]}
19
                    ]]}
20
                  ]]}
21
                ]}
22
              ]]}
23
            ]}
24
          }
25
        , {
26
          "names" : [["IDENTIFIER", "in_a"]], "mode" : ["in"], "typ" : {
27
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
28
              "ranges" : [["RANGE_WITH_DIRECTION", {
29
                "direction" : "downto", "from" : ["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["CONSTANT_VALUE", {
32
                      "value" : ["CST_LITERAL", "31"]}
33
                    ]]}
34
                  ]]}
35
                ], "_to" : ["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["CONSTANT_VALUE", {
38
                      "value" : ["CST_LITERAL", "0"]}
39
                    ]]}
40
                  ]]}
41
                ]}
42
              ]]}
43
            ]}
44
          }
45
        , {
46
          "names" : [["IDENTIFIER", "in_b"]], "mode" : ["in"], "typ" : {
47
            "name" : ["SIMPLE_NAME", "std_logic_vector"], "const" : ["INDEX_CONSTRAINT", {
48
              "ranges" : [["RANGE_WITH_DIRECTION", {
49
                "direction" : "downto", "from" : ["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "args" : [["CONSTANT_VALUE", {
52
                      "value" : ["CST_LITERAL", "14"]}
53
                    ]]}
54
                  ]]}
55
                ], "_to" : ["EXPRESSION", {
56
                  "args" : [["EXPRESSION", {
57
                    "args" : [["CONSTANT_VALUE", {
58
                      "value" : ["CST_LITERAL", "0"]}
59
                    ]]}
60
                  ]]}
61
                ]}
62
              ]]}
63
            ]}
64
          }
65
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
66
      ]}
67
    , {
68
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
69
        "name" : ["IDENTIFIER", "augh"], "entity" : ["IDENTIFIER", "mul_566"], "ARCHITECTURE_DECLARATIVE_PART" : [{
70
          "declaration" : ["SIGNAL_DECLARATION", {
71
            "names" : [["IDENTIFIER", "tmp_res"]], "typ" : {
72
              "name" : ["SIMPLE_NAME", "signed"], "const" : ["INDEX_CONSTRAINT", {
73
                "ranges" : [["RANGE_WITH_DIRECTION", {
74
                  "direction" : "downto", "from" : ["EXPRESSION", {
75
                    "args" : [["EXPRESSION", {
76
                      "args" : [["CONSTANT_VALUE", {
77
                        "value" : ["CST_LITERAL", "46"]}
78
                      ]]}
79
                    ]]}
80
                  ], "_to" : ["EXPRESSION", {
81
                    "args" : [["EXPRESSION", {
82
                      "args" : [["CONSTANT_VALUE", {
83
                        "value" : ["CST_LITERAL", "0"]}
84
                      ]]}
85
                    ]]}
86
                  ]}
87
                ]]}
88
              ]}
89
            }
90
          ]}
91
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
92
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "tmp_res"], "rhs" : [{
93
            "expr" : [{
94
              "value" : ["EXPRESSION", {
95
                "args" : [["EXPRESSION", {
96
                  "args" : [["EXPRESSION", {
97
                    "args" : [["EXPRESSION", {
98
                      "id" : "*", "args" : [["EXPRESSION", {
99
                        "args" : [["CALL", ["INDEXED_NAME", {
100
                          "id" : ["SIMPLE_NAME", "signed"], "exprs" : [["EXPRESSION", {
101
                            "args" : [["EXPRESSION", {
102
                              "args" : [["EXPRESSION", {
103
                                "args" : [["EXPRESSION", {
104
                                  "args" : [["CALL", ["SIMPLE_NAME", "in_a"]]]}
105
                                ]]}
106
                              ]]}
107
                            ]]}
108
                          ]]}
109
                        ]]]}
110
                      ], ["EXPRESSION", {
111
                        "args" : [["CALL", ["INDEXED_NAME", {
112
                          "id" : ["SIMPLE_NAME", "signed"], "exprs" : [["EXPRESSION", {
113
                            "args" : [["EXPRESSION", {
114
                              "args" : [["EXPRESSION", {
115
                                "args" : [["EXPRESSION", {
116
                                  "args" : [["CALL", ["SIMPLE_NAME", "in_b"]]]}
117
                                ]]}
118
                              ]]}
119
                            ]]}
120
                          ]]}
121
                        ]]]}
122
                      ]]}
123
                    ]]}
124
                  ]]}
125
                ]]}
126
              ]}
127
            ]}
128
          ]}
129
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
130
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "result"], "rhs" : [{
131
            "expr" : [{
132
              "value" : ["EXPRESSION", {
133
                "args" : [["EXPRESSION", {
134
                  "args" : [["EXPRESSION", {
135
                    "args" : [["EXPRESSION", {
136
                      "args" : [["CALL", ["INDEXED_NAME", {
137
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "exprs" : [["EXPRESSION", {
138
                          "args" : [["EXPRESSION", {
139
                            "args" : [["EXPRESSION", {
140
                              "args" : [["EXPRESSION", {
141
                                "args" : [["CALL", ["SLICE_NAME", {
142
                                  "id" : ["SIMPLE_NAME", "tmp_res"], "range" : ["RANGE_WITH_DIRECTION", {
143
                                    "direction" : "downto", "from" : ["EXPRESSION", {
144
                                      "args" : [["EXPRESSION", {
145
                                        "args" : [["CONSTANT_VALUE", {
146
                                          "value" : ["CST_LITERAL", "31"]}
147
                                        ]]}
148
                                      ]]}
149
                                    ], "_to" : ["EXPRESSION", {
150
                                      "args" : [["EXPRESSION", {
151
                                        "args" : [["CONSTANT_VALUE", {
152
                                          "value" : ["CST_LITERAL", "0"]}
153
                                        ]]}
154
                                      ]]}
155
                                    ]}
156
                                  ]}
157
                                ]]]}
158
                              ]]}
159
                            ]]}
160
                          ]]}
161
                        ]]}
162
                      ]]]}
163
                    ]]}
164
                  ]]}
165
                ]]}
166
              ]}
167
            ]}
168
          ]}
169
        ]]}
170
      ]}
171
    ]}
172
  }