Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (7.91 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s04b00x00p09n04i01322ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s04b00x00p09n04i01322arch"], "entity" : ["IDENTIFIER", "c08s04b00x00p09n04i01322ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "S1"]], "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", "'1'"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "S2"]], "typ" : {
28
              "name" : ["SIMPLE_NAME", "BIT"]}
29
            , "init_val" : ["EXPRESSION", {
30
              "args" : [["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["CONSTANT_VALUE", {
34
                      "value" : ["CST_LITERAL", "'1'"]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]]}
39
            ]}
40
          ]}
41
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
42
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "S1"], "rhs" : [{
43
            "expr" : [{
44
              "value" : ["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["EXPRESSION", {
48
                      "args" : [["CONSTANT_VALUE", {
49
                        "value" : ["CST_LITERAL", "'0'"]}
50
                      ]]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ], "delay" : ["EXPRESSION", {
55
                "args" : [["EXPRESSION", {
56
                  "args" : [["EXPRESSION", {
57
                    "args" : [["EXPRESSION", {
58
                      "args" : [["CONSTANT_VALUE", {
59
                        "value" : ["CST_LITERAL", "5"], "unit_name" : ["SIMPLE_NAME", "ns"]}
60
                      ]]}
61
                    ]]}
62
                  ]]}
63
                ]]}
64
              ]}
65
            , {
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
              ], "delay" : ["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["EXPRESSION", {
80
                      "args" : [["CONSTANT_VALUE", {
81
                        "value" : ["CST_LITERAL", "10"], "unit_name" : ["SIMPLE_NAME", "ns"]}
82
                      ]]}
83
                    ]]}
84
                  ]]}
85
                ]]}
86
              ]}
87
            ]}
88
          ]}
89
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
90
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "S2"], "rhs" : [{
91
            "expr" : [{
92
              "value" : ["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["EXPRESSION", {
96
                      "args" : [["CALL", ["SIMPLE_NAME", "S1"]]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ], "delay" : ["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "args" : [["CONSTANT_VALUE", {
105
                        "value" : ["CST_LITERAL", "15"], "unit_name" : ["SIMPLE_NAME", "ns"]}
106
                      ]]}
107
                    ]]}
108
                  ]]}
109
                ]]}
110
              ]}
111
            ]}
112
          ]}
113
        ], ["PROCESS_STATEMENT", {
114
          "id" : ["IDENTIFIER", "TESTING"], "active_sigs" : [["SIMPLE_NAME", "S2"]], "PROCESS_STATEMENT_PART" : [["ASSERTION_STATEMENT", {
115
            "cond" : ["EXPRESSION", {
116
              "args" : [["EXPRESSION", {
117
                "args" : [["EXPRESSION", {
118
                  "args" : [["EXPRESSION", {
119
                    "id" : "NOT", "args" : [["EXPRESSION", {
120
                      "id" : "=", "args" : [["EXPRESSION", {
121
                        "args" : [["EXPRESSION", {
122
                          "args" : [["EXPRESSION", {
123
                            "args" : [["CALL", ["SIMPLE_NAME", "S2"]]]}
124
                          ]]}
125
                        ]]}
126
                      ], ["EXPRESSION", {
127
                        "args" : [["EXPRESSION", {
128
                          "args" : [["EXPRESSION", {
129
                            "args" : [["CONSTANT_VALUE", {
130
                              "value" : ["CST_LITERAL", "'1'"]}
131
                            ]]}
132
                          ]]}
133
                        ]]}
134
                      ]]}
135
                    ]]}
136
                  ]]}
137
                ]]}
138
              ]]}
139
            ], "report" : ["EXPRESSION", {
140
              "args" : [["EXPRESSION", {
141
                "args" : [["EXPRESSION", {
142
                  "args" : [["EXPRESSION", {
143
                    "args" : [["CONSTANT_VALUE", {
144
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s04b00x00p09n04i01322\""]}
145
                    ]]}
146
                  ]]}
147
                ]]}
148
              ]]}
149
            ], "severity" : ["EXPRESSION", {
150
              "args" : [["EXPRESSION", {
151
                "args" : [["EXPRESSION", {
152
                  "args" : [["EXPRESSION", {
153
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
154
                  ]]}
155
                ]]}
156
              ]]}
157
            ]}
158
          ], ["ASSERTION_STATEMENT", {
159
            "cond" : ["EXPRESSION", {
160
              "args" : [["EXPRESSION", {
161
                "args" : [["EXPRESSION", {
162
                  "args" : [["EXPRESSION", {
163
                    "args" : [["EXPRESSION", {
164
                      "id" : "=", "args" : [["EXPRESSION", {
165
                        "args" : [["EXPRESSION", {
166
                          "args" : [["EXPRESSION", {
167
                            "args" : [["CALL", ["SIMPLE_NAME", "S2"]]]}
168
                          ]]}
169
                        ]]}
170
                      ], ["EXPRESSION", {
171
                        "args" : [["EXPRESSION", {
172
                          "args" : [["EXPRESSION", {
173
                            "args" : [["CONSTANT_VALUE", {
174
                              "value" : ["CST_LITERAL", "'1'"]}
175
                            ]]}
176
                          ]]}
177
                        ]]}
178
                      ]]}
179
                    ]]}
180
                  ]]}
181
                ]]}
182
              ]]}
183
            ], "report" : ["EXPRESSION", {
184
              "args" : [["EXPRESSION", {
185
                "args" : [["EXPRESSION", {
186
                  "args" : [["EXPRESSION", {
187
                    "args" : [["CONSTANT_VALUE", {
188
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s04b00x00p09n04i01322 - A pulse whose duration is shorter than the switching time of the circuit is not transmitted.\""]}
189
                    ]]}
190
                  ]]}
191
                ]]}
192
              ]]}
193
            ], "severity" : ["EXPRESSION", {
194
              "args" : [["EXPRESSION", {
195
                "args" : [["EXPRESSION", {
196
                  "args" : [["EXPRESSION", {
197
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
198
                  ]]}
199
                ]]}
200
              ]]}
201
            ]}
202
          ]]}
203
        ]]}
204
      ]}
205
    ]}
206
  }