Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / vests / vhdl-93 / ashenden / compliant / ch_03_tb_03_10.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_03_10"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test_edge_triggered_register_check_timing"], "entity" : ["IDENTIFIER", "test_bench_03_10"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "clock"]], "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", "d_in"], ["IDENTIFIER", "d_out"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "real"]}
29
            , "init_val" : ["EXPRESSION", {
30
              "args" : [["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["CONSTANT_VALUE", {
34
                      "value" : ["CST_LITERAL", "0.0"]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]]}
39
            ]}
40
          ]}
41
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
42
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_register"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "check_timing"], "port_map" : [{
43
            "formal_name" : ["SIMPLE_NAME", "clock"], "actual_designator" : ["SIMPLE_NAME", "clock"]}
44
          , {
45
            "formal_name" : ["SIMPLE_NAME", "d_in"], "actual_designator" : ["SIMPLE_NAME", "d_in"]}
46
          , {
47
            "formal_name" : ["SIMPLE_NAME", "d_out"], "actual_designator" : ["SIMPLE_NAME", "d_out"]}
48
          ]}
49
        ], ["PROCESS_STATEMENT", {
50
          "id" : ["IDENTIFIER", "stumulus"], "PROCESS_STATEMENT_PART" : [["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
51
            "lhs" : ["SIMPLE_NAME", "d_in"], "rhs" : [{
52
              "value" : ["EXPRESSION", {
53
                "args" : [["EXPRESSION", {
54
                  "args" : [["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["CONSTANT_VALUE", {
57
                        "value" : ["CST_LITERAL", "1.0"]}
58
                      ]]}
59
                    ]]}
60
                  ]]}
61
                ]]}
62
              ]}
63
            ]}
64
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
65
            "lhs" : ["SIMPLE_NAME", "clock"], "rhs" : [{
66
              "value" : ["EXPRESSION", {
67
                "args" : [["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["EXPRESSION", {
70
                      "args" : [["CONSTANT_VALUE", {
71
                        "value" : ["CST_LITERAL", "'1'"]}
72
                      ]]}
73
                    ]]}
74
                  ]]}
75
                ]]}
76
              ]}
77
            , {
78
              "value" : ["EXPRESSION", {
79
                "args" : [["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["EXPRESSION", {
82
                      "args" : [["CONSTANT_VALUE", {
83
                        "value" : ["CST_LITERAL", "'0'"]}
84
                      ]]}
85
                    ]]}
86
                  ]]}
87
                ]]}
88
              ], "delay" : ["EXPRESSION", {
89
                "args" : [["EXPRESSION", {
90
                  "args" : [["EXPRESSION", {
91
                    "args" : [["EXPRESSION", {
92
                      "args" : [["CONSTANT_VALUE", {
93
                        "value" : ["CST_LITERAL", "10"], "unit_name" : ["SIMPLE_NAME", "ns"]}
94
                      ]]}
95
                    ]]}
96
                  ]]}
97
                ]]}
98
              ]}
99
            ]}
100
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
101
            "lhs" : ["SIMPLE_NAME", "d_in"], "rhs" : [{
102
              "value" : ["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["EXPRESSION", {
105
                    "args" : [["EXPRESSION", {
106
                      "args" : [["CONSTANT_VALUE", {
107
                        "value" : ["CST_LITERAL", "2.0"]}
108
                      ]]}
109
                    ]]}
110
                  ]]}
111
                ]]}
112
              ]}
113
            ]}
114
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
115
            "lhs" : ["SIMPLE_NAME", "clock"], "rhs" : [{
116
              "value" : ["EXPRESSION", {
117
                "args" : [["EXPRESSION", {
118
                  "args" : [["EXPRESSION", {
119
                    "args" : [["EXPRESSION", {
120
                      "args" : [["CONSTANT_VALUE", {
121
                        "value" : ["CST_LITERAL", "'1'"]}
122
                      ]]}
123
                    ]]}
124
                  ]]}
125
                ]]}
126
              ]}
127
            , {
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
              ], "delay" : ["EXPRESSION", {
139
                "args" : [["EXPRESSION", {
140
                  "args" : [["EXPRESSION", {
141
                    "args" : [["EXPRESSION", {
142
                      "args" : [["CONSTANT_VALUE", {
143
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
144
                      ]]}
145
                    ]]}
146
                  ]]}
147
                ]]}
148
              ]}
149
            ]}
150
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
151
            "lhs" : ["SIMPLE_NAME", "d_in"], "rhs" : [{
152
              "value" : ["EXPRESSION", {
153
                "args" : [["EXPRESSION", {
154
                  "args" : [["EXPRESSION", {
155
                    "args" : [["EXPRESSION", {
156
                      "args" : [["CONSTANT_VALUE", {
157
                        "value" : ["CST_LITERAL", "3.0"]}
158
                      ]]}
159
                    ]]}
160
                  ]]}
161
                ]]}
162
              ]}
163
            ]}
164
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
165
            "lhs" : ["SIMPLE_NAME", "clock"], "rhs" : [{
166
              "value" : ["EXPRESSION", {
167
                "args" : [["EXPRESSION", {
168
                  "args" : [["EXPRESSION", {
169
                    "args" : [["EXPRESSION", {
170
                      "args" : [["CONSTANT_VALUE", {
171
                        "value" : ["CST_LITERAL", "'1'"]}
172
                      ]]}
173
                    ]]}
174
                  ]]}
175
                ]]}
176
              ]}
177
            , {
178
              "value" : ["EXPRESSION", {
179
                "args" : [["EXPRESSION", {
180
                  "args" : [["EXPRESSION", {
181
                    "args" : [["EXPRESSION", {
182
                      "args" : [["CONSTANT_VALUE", {
183
                        "value" : ["CST_LITERAL", "'0'"]}
184
                      ]]}
185
                    ]]}
186
                  ]]}
187
                ]]}
188
              ], "delay" : ["EXPRESSION", {
189
                "args" : [["EXPRESSION", {
190
                  "args" : [["EXPRESSION", {
191
                    "args" : [["EXPRESSION", {
192
                      "args" : [["CONSTANT_VALUE", {
193
                        "value" : ["CST_LITERAL", "4"], "unit_name" : ["SIMPLE_NAME", "ns"]}
194
                      ]]}
195
                    ]]}
196
                  ]]}
197
                ]]}
198
              ]}
199
            ]}
200
          ], ["WAIT_STATEMENT"], ["WAIT_STATEMENT"]]}
201
        ]]}
202
      ]}
203
    ]}
204
  }