Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / ticket92 / cover_report2.json @ 3fd18385

History | View | Annotate | Download (8.27 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", "std"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "std"], ["SIMPLE_NAME", "env"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "cover_report2"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "cover_report2"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "s_a"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "std_logic"]}
13
            }
14
          ]}
15
        , {
16
          "declaration" : ["SIGNAL_DECLARATION", {
17
            "names" : [["IDENTIFIER", "s_b"]], "typ" : {
18
              "name" : ["SIMPLE_NAME", "std_logic"]}
19
            }
20
          ]}
21
        , {
22
          "declaration" : ["SIGNAL_DECLARATION", {
23
            "names" : [["IDENTIFIER", "s_c"]], "typ" : {
24
              "name" : ["SIMPLE_NAME", "std_logic"]}
25
            }
26
          ]}
27
        , {
28
          "declaration" : ["SIGNAL_DECLARATION", {
29
            "names" : [["IDENTIFIER", "s_clk"]], "typ" : {
30
              "name" : ["SIMPLE_NAME", "std_logic"]}
31
            , "init_val" : ["EXPRESSION", {
32
              "args" : [["EXPRESSION", {
33
                "args" : [["EXPRESSION", {
34
                  "args" : [["EXPRESSION", {
35
                    "args" : [["CONSTANT_VALUE", {
36
                      "value" : ["CST_LITERAL", "'0'"]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]]}
41
            ]}
42
          ]}
43
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
44
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "s_clk"], "rhs" : [{
45
            "expr" : [{
46
              "value" : ["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "id" : "not", "args" : [["EXPRESSION", {
51
                        "args" : [["EXPRESSION", {
52
                          "args" : [["EXPRESSION", {
53
                            "args" : [["EXPRESSION", {
54
                              "args" : [["CALL", ["SIMPLE_NAME", "s_clk"]]]}
55
                            ]]}
56
                          ]]}
57
                        ]]}
58
                      ]]}
59
                    ]]}
60
                  ]]}
61
                ]]}
62
              ], "delay" : ["EXPRESSION", {
63
                "args" : [["EXPRESSION", {
64
                  "args" : [["EXPRESSION", {
65
                    "args" : [["EXPRESSION", {
66
                      "args" : [["CONSTANT_VALUE", {
67
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
68
                      ]]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]}
73
            ]}
74
          ]}
75
        ], ["PROCESS_STATEMENT", {
76
          "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
77
            "lhs" : ["SIMPLE_NAME", "s_a"], "rhs" : [{
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
              ]}
89
            ]}
90
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
91
            "lhs" : ["SIMPLE_NAME", "s_b"], "rhs" : [{
92
              "value" : ["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "args" : [["CONSTANT_VALUE", {
97
                        "value" : ["CST_LITERAL", "'0'"]}
98
                      ]]}
99
                    ]]}
100
                  ]]}
101
                ]]}
102
              ]}
103
            ]}
104
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
105
            "lhs" : ["SIMPLE_NAME", "s_c"], "rhs" : [{
106
              "value" : ["EXPRESSION", {
107
                "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["EXPRESSION", {
110
                      "args" : [["CONSTANT_VALUE", {
111
                        "value" : ["CST_LITERAL", "'0'"]}
112
                      ]]}
113
                    ]]}
114
                  ]]}
115
                ]]}
116
              ]}
117
            ]}
118
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
119
            "lhs" : ["SIMPLE_NAME", "s_a"], "rhs" : [{
120
              "value" : ["EXPRESSION", {
121
                "args" : [["EXPRESSION", {
122
                  "args" : [["EXPRESSION", {
123
                    "args" : [["EXPRESSION", {
124
                      "args" : [["CONSTANT_VALUE", {
125
                        "value" : ["CST_LITERAL", "'1'"]}
126
                      ]]}
127
                    ]]}
128
                  ]]}
129
                ]]}
130
              ]}
131
            ]}
132
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
133
            "lhs" : ["SIMPLE_NAME", "s_a"], "rhs" : [{
134
              "value" : ["EXPRESSION", {
135
                "args" : [["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["EXPRESSION", {
138
                      "args" : [["CONSTANT_VALUE", {
139
                        "value" : ["CST_LITERAL", "'0'"]}
140
                      ]]}
141
                    ]]}
142
                  ]]}
143
                ]]}
144
              ]}
145
            ]}
146
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
147
            "lhs" : ["SIMPLE_NAME", "s_b"], "rhs" : [{
148
              "value" : ["EXPRESSION", {
149
                "args" : [["EXPRESSION", {
150
                  "args" : [["EXPRESSION", {
151
                    "args" : [["EXPRESSION", {
152
                      "args" : [["CONSTANT_VALUE", {
153
                        "value" : ["CST_LITERAL", "'1'"]}
154
                      ]]}
155
                    ]]}
156
                  ]]}
157
                ]]}
158
              ]}
159
            ]}
160
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
161
            "lhs" : ["SIMPLE_NAME", "s_b"], "rhs" : [{
162
              "value" : ["EXPRESSION", {
163
                "args" : [["EXPRESSION", {
164
                  "args" : [["EXPRESSION", {
165
                    "args" : [["EXPRESSION", {
166
                      "args" : [["CONSTANT_VALUE", {
167
                        "value" : ["CST_LITERAL", "'0'"]}
168
                      ]]}
169
                    ]]}
170
                  ]]}
171
                ]]}
172
              ]}
173
            ]}
174
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
175
            "lhs" : ["SIMPLE_NAME", "s_c"], "rhs" : [{
176
              "value" : ["EXPRESSION", {
177
                "args" : [["EXPRESSION", {
178
                  "args" : [["EXPRESSION", {
179
                    "args" : [["EXPRESSION", {
180
                      "args" : [["CONSTANT_VALUE", {
181
                        "value" : ["CST_LITERAL", "'1'"]}
182
                      ]]}
183
                    ]]}
184
                  ]]}
185
                ]]}
186
              ]}
187
            ]}
188
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
189
            "lhs" : ["SIMPLE_NAME", "s_c"], "rhs" : [{
190
              "value" : ["EXPRESSION", {
191
                "args" : [["EXPRESSION", {
192
                  "args" : [["EXPRESSION", {
193
                    "args" : [["EXPRESSION", {
194
                      "args" : [["CONSTANT_VALUE", {
195
                        "value" : ["CST_LITERAL", "'0'"]}
196
                      ]]}
197
                    ]]}
198
                  ]]}
199
                ]]}
200
              ]}
201
            ]}
202
          ], ["PROCEDURE_CALL_STATEMENT", {
203
            "name" : ["IDENTIFIER", "stop"], "assocs" : [{
204
              "actual_expr" : ["EXPRESSION", {
205
                "args" : [["EXPRESSION", {
206
                  "args" : [["EXPRESSION", {
207
                    "args" : [["EXPRESSION", {
208
                      "args" : [["CONSTANT_VALUE", {
209
                        "value" : ["CST_LITERAL", "0"]}
210
                      ]]}
211
                    ]]}
212
                  ]]}
213
                ]]}
214
              ]}
215
            ]}
216
          ]]}
217
        ]]}
218
      ]}
219
    ]}
220
  }