Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (8.51 KB)

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