Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.84 KB)

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