Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue50 / idct.d / mul_376.json @ 2051e520

History | View | Annotate | Download (6.54 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_376"], "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_376"], "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", ["FUNCTION_CALL", {
100
                          "id" : ["SIMPLE_NAME", "signed"], "assoc_list" : [{
101
                            "actual_designator" : ["SIMPLE_NAME", "in_a"]}
102
                          ]}
103
                        ]]]}
104
                      ], ["EXPRESSION", {
105
                        "args" : [["CALL", ["FUNCTION_CALL", {
106
                          "id" : ["SIMPLE_NAME", "signed"], "assoc_list" : [{
107
                            "actual_designator" : ["SIMPLE_NAME", "in_b"]}
108
                          ]}
109
                        ]]]}
110
                      ]]}
111
                    ]]}
112
                  ]]}
113
                ]]}
114
              ]}
115
            ]}
116
          ]}
117
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
118
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "result"], "rhs" : [{
119
            "expr" : [{
120
              "value" : ["EXPRESSION", {
121
                "args" : [["EXPRESSION", {
122
                  "args" : [["EXPRESSION", {
123
                    "args" : [["EXPRESSION", {
124
                      "args" : [["CALL", ["FUNCTION_CALL", {
125
                        "id" : ["SIMPLE_NAME", "std_logic_vector"], "assoc_list" : [{
126
                          "actual_designator" : ["SLICE_NAME", {
127
                            "id" : ["SIMPLE_NAME", "tmp_res"], "range" : ["RANGE_WITH_DIRECTION", {
128
                              "direction" : "downto", "from" : ["EXPRESSION", {
129
                                "args" : [["EXPRESSION", {
130
                                  "args" : [["CONSTANT_VALUE", {
131
                                    "value" : ["CST_LITERAL", "31"]}
132
                                  ]]}
133
                                ]]}
134
                              ], "_to" : ["EXPRESSION", {
135
                                "args" : [["EXPRESSION", {
136
                                  "args" : [["CONSTANT_VALUE", {
137
                                    "value" : ["CST_LITERAL", "0"]}
138
                                  ]]}
139
                                ]]}
140
                              ]}
141
                            ]}
142
                          ]}
143
                        ]}
144
                      ]]]}
145
                    ]]}
146
                  ]]}
147
                ]]}
148
              ]}
149
            ]}
150
          ]}
151
        ]]}
152
      ]}
153
    ]}
154
  }