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_08.json @ 3fd18385

History | View | Annotate | Download (7.25 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
5
        "name" : ["IDENTIFIER", "behav"], "entity" : ["IDENTIFIER", "reg4"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
6
          "id" : ["IDENTIFIER", "storage"], "PROCESS_DECLARATIVE_PART" : [{
7
            "declaration" : ["VARIABLE_DECLARATION", {
8
              "names" : [["IDENTIFIER", "stored_d0"], ["IDENTIFIER", "stored_d1"], ["IDENTIFIER", "stored_d2"], ["IDENTIFIER", "stored_d3"]], "typ" : {
9
                "name" : ["SIMPLE_NAME", "bit"]}
10
              }
11
            ]}
12
          ], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
13
            "if_cases" : [{
14
              "if_cond" : ["EXPRESSION", {
15
                "id" : "and", "args" : [["EXPRESSION", {
16
                  "id" : "=", "args" : [["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["EXPRESSION", {
19
                        "args" : [["CALL", ["SIMPLE_NAME", "en"]]]}
20
                      ]]}
21
                    ]]}
22
                  ], ["EXPRESSION", {
23
                    "args" : [["EXPRESSION", {
24
                      "args" : [["EXPRESSION", {
25
                        "args" : [["CONSTANT_VALUE", {
26
                          "value" : ["CST_LITERAL", "'1'"]}
27
                        ]]}
28
                      ]]}
29
                    ]]}
30
                  ]]}
31
                ], ["EXPRESSION", {
32
                  "id" : "=", "args" : [["EXPRESSION", {
33
                    "args" : [["EXPRESSION", {
34
                      "args" : [["EXPRESSION", {
35
                        "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
36
                      ]]}
37
                    ]]}
38
                  ], ["EXPRESSION", {
39
                    "args" : [["EXPRESSION", {
40
                      "args" : [["EXPRESSION", {
41
                        "args" : [["CONSTANT_VALUE", {
42
                          "value" : ["CST_LITERAL", "'1'"]}
43
                        ]]}
44
                      ]]}
45
                    ]]}
46
                  ]]}
47
                ]]}
48
              ], "if_block" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
49
                "lhs" : ["SIMPLE_NAME", "stored_d0"], "rhs" : ["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "args" : [["EXPRESSION", {
52
                      "args" : [["EXPRESSION", {
53
                        "args" : [["CALL", ["SIMPLE_NAME", "d0"]]]}
54
                      ]]}
55
                    ]]}
56
                  ]]}
57
                ]}
58
              ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
59
                "lhs" : ["SIMPLE_NAME", "stored_d1"], "rhs" : ["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "args" : [["EXPRESSION", {
62
                      "args" : [["EXPRESSION", {
63
                        "args" : [["CALL", ["SIMPLE_NAME", "d1"]]]}
64
                      ]]}
65
                    ]]}
66
                  ]]}
67
                ]}
68
              ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
69
                "lhs" : ["SIMPLE_NAME", "stored_d2"], "rhs" : ["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["EXPRESSION", {
72
                      "args" : [["EXPRESSION", {
73
                        "args" : [["CALL", ["SIMPLE_NAME", "d2"]]]}
74
                      ]]}
75
                    ]]}
76
                  ]]}
77
                ]}
78
              ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
79
                "lhs" : ["SIMPLE_NAME", "stored_d3"], "rhs" : ["EXPRESSION", {
80
                  "args" : [["EXPRESSION", {
81
                    "args" : [["EXPRESSION", {
82
                      "args" : [["EXPRESSION", {
83
                        "args" : [["CALL", ["SIMPLE_NAME", "d3"]]]}
84
                      ]]}
85
                    ]]}
86
                  ]]}
87
                ]}
88
              ]]}
89
            ]}
90
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
91
            "lhs" : ["SIMPLE_NAME", "q0"], "rhs" : [{
92
              "value" : ["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "args" : [["CALL", ["SIMPLE_NAME", "stored_d0"]]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ], "delay" : ["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "args" : [["CONSTANT_VALUE", {
105
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
106
                      ]]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]}
111
            ]}
112
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
113
            "lhs" : ["SIMPLE_NAME", "q1"], "rhs" : [{
114
              "value" : ["EXPRESSION", {
115
                "args" : [["EXPRESSION", {
116
                  "args" : [["EXPRESSION", {
117
                    "args" : [["EXPRESSION", {
118
                      "args" : [["CALL", ["SIMPLE_NAME", "stored_d1"]]]}
119
                    ]]}
120
                  ]]}
121
                ]]}
122
              ], "delay" : ["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["EXPRESSION", {
126
                      "args" : [["CONSTANT_VALUE", {
127
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
128
                      ]]}
129
                    ]]}
130
                  ]]}
131
                ]]}
132
              ]}
133
            ]}
134
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
135
            "lhs" : ["SIMPLE_NAME", "q2"], "rhs" : [{
136
              "value" : ["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["EXPRESSION", {
140
                      "args" : [["CALL", ["SIMPLE_NAME", "stored_d2"]]]}
141
                    ]]}
142
                  ]]}
143
                ]]}
144
              ], "delay" : ["EXPRESSION", {
145
                "args" : [["EXPRESSION", {
146
                  "args" : [["EXPRESSION", {
147
                    "args" : [["EXPRESSION", {
148
                      "args" : [["CONSTANT_VALUE", {
149
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
150
                      ]]}
151
                    ]]}
152
                  ]]}
153
                ]]}
154
              ]}
155
            ]}
156
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
157
            "lhs" : ["SIMPLE_NAME", "q3"], "rhs" : [{
158
              "value" : ["EXPRESSION", {
159
                "args" : [["EXPRESSION", {
160
                  "args" : [["EXPRESSION", {
161
                    "args" : [["EXPRESSION", {
162
                      "args" : [["CALL", ["SIMPLE_NAME", "stored_d3"]]]}
163
                    ]]}
164
                  ]]}
165
                ]]}
166
              ], "delay" : ["EXPRESSION", {
167
                "args" : [["EXPRESSION", {
168
                  "args" : [["EXPRESSION", {
169
                    "args" : [["EXPRESSION", {
170
                      "args" : [["CONSTANT_VALUE", {
171
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
172
                      ]]}
173
                    ]]}
174
                  ]]}
175
                ]]}
176
              ]}
177
            ]}
178
          ], ["WAIT_STATEMENT"]]}
179
        ]]}
180
      ]}
181
    ]}
182
  }