Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / vests / vhdl-93 / ashenden / compliant / ch_04_tb_04_01.json @ 3fd18385

History | View | Annotate | Download (7.95 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "test_bench_04_01"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ch4_pkgs"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ch4_pkgs"], ["SIMPLE_NAME", "pk_04_01"]]]]]], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test_coeff_ram_abstract"], "entity" : ["IDENTIFIER", "test_bench_04_01"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "rd"], ["IDENTIFIER", "wr"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "bit"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "'0'"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "addr"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "coeff_ram_address"]}
29
            , "init_val" : ["EXPRESSION", {
30
              "args" : [["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["CONSTANT_VALUE", {
34
                      "value" : ["CST_LITERAL", "0"]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]]}
39
            ]}
40
          ]}
41
        , {
42
          "declaration" : ["SIGNAL_DECLARATION", {
43
            "names" : [["IDENTIFIER", "d_in"], ["IDENTIFIER", "d_out"]], "typ" : {
44
              "name" : ["SIMPLE_NAME", "real"]}
45
            , "init_val" : ["EXPRESSION", {
46
              "args" : [["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["CONSTANT_VALUE", {
50
                      "value" : ["CST_LITERAL", "0.0"]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]]}
55
            ]}
56
          ]}
57
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
58
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "coeff_ram"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "abstract"], "port_map" : [{
59
            "formal_name" : ["SIMPLE_NAME", "rd"], "actual_designator" : ["SIMPLE_NAME", "rd"]}
60
          , {
61
            "formal_name" : ["SIMPLE_NAME", "wr"], "actual_designator" : ["SIMPLE_NAME", "wr"]}
62
          , {
63
            "formal_name" : ["SIMPLE_NAME", "addr"], "actual_designator" : ["SIMPLE_NAME", "addr"]}
64
          , {
65
            "formal_name" : ["SIMPLE_NAME", "d_in"], "actual_designator" : ["SIMPLE_NAME", "d_in"]}
66
          , {
67
            "formal_name" : ["SIMPLE_NAME", "d_out"], "actual_designator" : ["SIMPLE_NAME", "d_out"]}
68
          ]}
69
        ], ["PROCESS_STATEMENT", {
70
          "id" : ["IDENTIFIER", "stumulus"], "PROCESS_STATEMENT_PART" : [["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
71
            "lhs" : ["SIMPLE_NAME", "addr"], "rhs" : [{
72
              "value" : ["EXPRESSION", {
73
                "args" : [["EXPRESSION", {
74
                  "args" : [["EXPRESSION", {
75
                    "args" : [["EXPRESSION", {
76
                      "args" : [["CONSTANT_VALUE", {
77
                        "value" : ["CST_LITERAL", "10"]}
78
                      ]]}
79
                    ]]}
80
                  ]]}
81
                ]]}
82
              ]}
83
            ]}
84
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
85
            "lhs" : ["SIMPLE_NAME", "d_in"], "rhs" : [{
86
              "value" : ["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "args" : [["EXPRESSION", {
90
                      "args" : [["CONSTANT_VALUE", {
91
                        "value" : ["CST_LITERAL", "10.0"]}
92
                      ]]}
93
                    ]]}
94
                  ]]}
95
                ]]}
96
              ]}
97
            ]}
98
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
99
            "lhs" : ["SIMPLE_NAME", "wr"], "rhs" : [{
100
              "value" : ["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "args" : [["CONSTANT_VALUE", {
105
                        "value" : ["CST_LITERAL", "'1'"]}
106
                      ]]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]}
111
            ]}
112
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
113
            "lhs" : ["SIMPLE_NAME", "d_in"], "rhs" : [{
114
              "value" : ["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["EXPRESSION", {
118
                      "args" : [["CONSTANT_VALUE", {
119
                        "value" : ["CST_LITERAL", "20.0"]}
120
                      ]]}
121
                    ]]}
122
                  ]]}
123
                ]]}
124
              ]}
125
            ]}
126
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
127
            "lhs" : ["SIMPLE_NAME", "wr"], "rhs" : [{
128
              "value" : ["EXPRESSION", {
129
                "args" : [["EXPRESSION", {
130
                  "args" : [["EXPRESSION", {
131
                    "args" : [["EXPRESSION", {
132
                      "args" : [["CONSTANT_VALUE", {
133
                        "value" : ["CST_LITERAL", "'0'"]}
134
                      ]]}
135
                    ]]}
136
                  ]]}
137
                ]]}
138
              ]}
139
            ]}
140
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
141
            "lhs" : ["SIMPLE_NAME", "addr"], "rhs" : [{
142
              "value" : ["EXPRESSION", {
143
                "args" : [["EXPRESSION", {
144
                  "args" : [["EXPRESSION", {
145
                    "args" : [["EXPRESSION", {
146
                      "args" : [["CONSTANT_VALUE", {
147
                        "value" : ["CST_LITERAL", "20"]}
148
                      ]]}
149
                    ]]}
150
                  ]]}
151
                ]]}
152
              ]}
153
            ]}
154
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
155
            "lhs" : ["SIMPLE_NAME", "rd"], "rhs" : [{
156
              "value" : ["EXPRESSION", {
157
                "args" : [["EXPRESSION", {
158
                  "args" : [["EXPRESSION", {
159
                    "args" : [["EXPRESSION", {
160
                      "args" : [["CONSTANT_VALUE", {
161
                        "value" : ["CST_LITERAL", "'1'"]}
162
                      ]]}
163
                    ]]}
164
                  ]]}
165
                ]]}
166
              ]}
167
            ]}
168
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
169
            "lhs" : ["SIMPLE_NAME", "addr"], "rhs" : [{
170
              "value" : ["EXPRESSION", {
171
                "args" : [["EXPRESSION", {
172
                  "args" : [["EXPRESSION", {
173
                    "args" : [["EXPRESSION", {
174
                      "args" : [["CONSTANT_VALUE", {
175
                        "value" : ["CST_LITERAL", "10"]}
176
                      ]]}
177
                    ]]}
178
                  ]]}
179
                ]]}
180
              ]}
181
            ]}
182
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
183
            "lhs" : ["SIMPLE_NAME", "rd"], "rhs" : [{
184
              "value" : ["EXPRESSION", {
185
                "args" : [["EXPRESSION", {
186
                  "args" : [["EXPRESSION", {
187
                    "args" : [["EXPRESSION", {
188
                      "args" : [["CONSTANT_VALUE", {
189
                        "value" : ["CST_LITERAL", "'0'"]}
190
                      ]]}
191
                    ]]}
192
                  ]]}
193
                ]]}
194
              ]}
195
            ]}
196
          ], ["WAIT_STATEMENT"], ["WAIT_STATEMENT"]]}
197
        ]]}
198
      ]}
199
    ]}
200
  }