Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.48 KB)

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