Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.79 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s04b01x00p04n02i01332ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s04b01x00p04n02i01332arch"], "entity" : ["IDENTIFIER", "c08s04b01x00p04n02i01332ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "k"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "integer"]}
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
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
26
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
27
            "declaration" : ["VARIABLE_DECLARATION", {
28
              "names" : [["IDENTIFIER", "bef"], ["IDENTIFIER", "aft"], ["IDENTIFIER", "diff"]], "typ" : {
29
                "name" : ["SIMPLE_NAME", "TIME"]}
30
              }
31
            ]}
32
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
33
            "lhs" : ["SIMPLE_NAME", "bef"], "rhs" : ["EXPRESSION", {
34
              "args" : [["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["CALL", ["SIMPLE_NAME", "NOW"]]]}
38
                  ]]}
39
                ]]}
40
              ]]}
41
            ]}
42
          ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
43
            "lhs" : ["SIMPLE_NAME", "k"], "rhs" : [{
44
              "value" : ["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["EXPRESSION", {
48
                      "args" : [["CONSTANT_VALUE", {
49
                        "value" : ["CST_LITERAL", "5"]}
50
                      ]]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]}
55
            ]}
56
          ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
57
            "lhs" : ["SIMPLE_NAME", "aft"], "rhs" : ["EXPRESSION", {
58
              "args" : [["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "args" : [["CALL", ["SIMPLE_NAME", "NOW"]]]}
62
                  ]]}
63
                ]]}
64
              ]]}
65
            ]}
66
          ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
67
            "lhs" : ["SIMPLE_NAME", "diff"], "rhs" : ["EXPRESSION", {
68
              "args" : [["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "id" : "-", "args" : [["EXPRESSION", {
72
                      "args" : [["CALL", ["SIMPLE_NAME", "aft"]]]}
73
                    ], ["EXPRESSION", {
74
                      "args" : [["CALL", ["SIMPLE_NAME", "bef"]]]}
75
                    ]]}
76
                  ]]}
77
                ]]}
78
              ]]}
79
            ]}
80
          ], ["ASSERTION_STATEMENT", {
81
            "cond" : ["EXPRESSION", {
82
              "args" : [["EXPRESSION", {
83
                "args" : [["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "id" : "NOT", "args" : [["EXPRESSION", {
86
                      "id" : "=", "args" : [["EXPRESSION", {
87
                        "args" : [["EXPRESSION", {
88
                          "args" : [["EXPRESSION", {
89
                            "args" : [["CALL", ["SIMPLE_NAME", "diff"]]]}
90
                          ]]}
91
                        ]]}
92
                      ], ["EXPRESSION", {
93
                        "args" : [["EXPRESSION", {
94
                          "args" : [["EXPRESSION", {
95
                            "args" : [["CONSTANT_VALUE", {
96
                              "value" : ["CST_LITERAL", "0"], "unit_name" : ["SIMPLE_NAME", "ns"]}
97
                            ]]}
98
                          ]]}
99
                        ]]}
100
                      ]]}
101
                    ]]}
102
                  ]]}
103
                ]]}
104
              ]]}
105
            ], "report" : ["EXPRESSION", {
106
              "args" : [["EXPRESSION", {
107
                "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["CONSTANT_VALUE", {
110
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s04b01x00p04n02i01332\""]}
111
                    ]]}
112
                  ]]}
113
                ]]}
114
              ]]}
115
            ], "severity" : ["EXPRESSION", {
116
              "args" : [["EXPRESSION", {
117
                "args" : [["EXPRESSION", {
118
                  "args" : [["EXPRESSION", {
119
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
120
                  ]]}
121
                ]]}
122
              ]]}
123
            ]}
124
          ], ["ASSERTION_STATEMENT", {
125
            "cond" : ["EXPRESSION", {
126
              "args" : [["EXPRESSION", {
127
                "args" : [["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["EXPRESSION", {
130
                      "id" : "=", "args" : [["EXPRESSION", {
131
                        "args" : [["EXPRESSION", {
132
                          "args" : [["EXPRESSION", {
133
                            "args" : [["CALL", ["SIMPLE_NAME", "diff"]]]}
134
                          ]]}
135
                        ]]}
136
                      ], ["EXPRESSION", {
137
                        "args" : [["EXPRESSION", {
138
                          "args" : [["EXPRESSION", {
139
                            "args" : [["CONSTANT_VALUE", {
140
                              "value" : ["CST_LITERAL", "0"], "unit_name" : ["SIMPLE_NAME", "ns"]}
141
                            ]]}
142
                          ]]}
143
                        ]]}
144
                      ]]}
145
                    ]]}
146
                  ]]}
147
                ]]}
148
              ]]}
149
            ], "report" : ["EXPRESSION", {
150
              "args" : [["EXPRESSION", {
151
                "args" : [["EXPRESSION", {
152
                  "args" : [["EXPRESSION", {
153
                    "args" : [["CONSTANT_VALUE", {
154
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s04b01x00p04n02i01332 - 0 ns is the default after clause\""]}
155
                    ]]}
156
                  ]]}
157
                ]]}
158
              ]]}
159
            ], "severity" : ["EXPRESSION", {
160
              "args" : [["EXPRESSION", {
161
                "args" : [["EXPRESSION", {
162
                  "args" : [["EXPRESSION", {
163
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
164
                  ]]}
165
                ]]}
166
              ]]}
167
            ]}
168
          ], ["WAIT_STATEMENT"]]}
169
        ]]}
170
      ]}
171
    ]}
172
  }