Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.04 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s01b00x00p25n01i01211ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s01b00x00p25n01i01211arch"], "entity" : ["IDENTIFIER", "c08s01b00x00p25n01i01211ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "A"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "BIT"]}
13
            }
14
          ]}
15
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
16
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
17
            "declaration" : ["VARIABLE_DECLARATION", {
18
              "names" : [["IDENTIFIER", "ShouldBeTime"]], "typ" : {
19
                "name" : ["SIMPLE_NAME", "TIME"]}
20
              }
21
            ]}
22
          ], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
23
            "lhs" : ["SIMPLE_NAME", "A"], "rhs" : [{
24
              "value" : ["EXPRESSION", {
25
                "args" : [["EXPRESSION", {
26
                  "args" : [["EXPRESSION", {
27
                    "args" : [["EXPRESSION", {
28
                      "args" : [["CONSTANT_VALUE", {
29
                        "value" : ["CST_LITERAL", "'1'"]}
30
                      ]]}
31
                    ]]}
32
                  ]]}
33
                ]]}
34
              ], "delay" : ["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["EXPRESSION", {
38
                      "args" : [["CONSTANT_VALUE", {
39
                        "value" : ["CST_LITERAL", "1"], "unit_name" : ["SIMPLE_NAME", "ns"]}
40
                      ]]}
41
                    ]]}
42
                  ]]}
43
                ]]}
44
              ]}
45
            ]}
46
          ], ["VARIABLE_ASSIGNMENT_STATEMENT", {
47
            "lhs" : ["SIMPLE_NAME", "ShouldBeTime"], "rhs" : ["EXPRESSION", {
48
              "args" : [["EXPRESSION", {
49
                "args" : [["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "id" : "+", "args" : [["EXPRESSION", {
52
                      "args" : [["CALL", ["SIMPLE_NAME", "NOW"]]]}
53
                    ], ["EXPRESSION", {
54
                      "args" : [["CONSTANT_VALUE", {
55
                        "value" : ["CST_LITERAL", "20"], "unit_name" : ["SIMPLE_NAME", "ns"]}
56
                      ]]}
57
                    ]]}
58
                  ]]}
59
                ]]}
60
              ]]}
61
            ]}
62
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
63
            "cond" : ["EXPRESSION", {
64
              "args" : [["EXPRESSION", {
65
                "args" : [["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "id" : "NOT", "args" : [["EXPRESSION", {
68
                      "id" : "=", "args" : [["EXPRESSION", {
69
                        "args" : [["EXPRESSION", {
70
                          "args" : [["EXPRESSION", {
71
                            "args" : [["CALL", ["SIMPLE_NAME", "ShouldBeTime"]]]}
72
                          ]]}
73
                        ]]}
74
                      ], ["EXPRESSION", {
75
                        "args" : [["EXPRESSION", {
76
                          "args" : [["EXPRESSION", {
77
                            "args" : [["CALL", ["SIMPLE_NAME", "NOW"]]]}
78
                          ]]}
79
                        ]]}
80
                      ]]}
81
                    ]]}
82
                  ]]}
83
                ]]}
84
              ]]}
85
            ], "report" : ["EXPRESSION", {
86
              "args" : [["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "args" : [["CONSTANT_VALUE", {
90
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s01b00x00p25n01i01211\""]}
91
                    ]]}
92
                  ]]}
93
                ]]}
94
              ]]}
95
            ], "severity" : ["EXPRESSION", {
96
              "args" : [["EXPRESSION", {
97
                "args" : [["EXPRESSION", {
98
                  "args" : [["EXPRESSION", {
99
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
100
                  ]]}
101
                ]]}
102
              ]]}
103
            ]}
104
          ], ["ASSERTION_STATEMENT", {
105
            "cond" : ["EXPRESSION", {
106
              "args" : [["EXPRESSION", {
107
                "args" : [["EXPRESSION", {
108
                  "args" : [["EXPRESSION", {
109
                    "args" : [["EXPRESSION", {
110
                      "id" : "=", "args" : [["EXPRESSION", {
111
                        "args" : [["EXPRESSION", {
112
                          "args" : [["EXPRESSION", {
113
                            "args" : [["CALL", ["SIMPLE_NAME", "ShouldBeTime"]]]}
114
                          ]]}
115
                        ]]}
116
                      ], ["EXPRESSION", {
117
                        "args" : [["EXPRESSION", {
118
                          "args" : [["EXPRESSION", {
119
                            "args" : [["CALL", ["SIMPLE_NAME", "NOW"]]]}
120
                          ]]}
121
                        ]]}
122
                      ]]}
123
                    ]]}
124
                  ]]}
125
                ]]}
126
              ]]}
127
            ], "report" : ["EXPRESSION", {
128
              "args" : [["EXPRESSION", {
129
                "args" : [["EXPRESSION", {
130
                  "args" : [["EXPRESSION", {
131
                    "args" : [["CONSTANT_VALUE", {
132
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s01b00x00p25n01i01211 - If the condition specified by the condition clause is FALSE, the wait statement will suspend itself again.\""]}
133
                    ]]}
134
                  ]]}
135
                ]]}
136
              ]]}
137
            ], "severity" : ["EXPRESSION", {
138
              "args" : [["EXPRESSION", {
139
                "args" : [["EXPRESSION", {
140
                  "args" : [["EXPRESSION", {
141
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
142
                  ]]}
143
                ]]}
144
              ]]}
145
            ]}
146
          ], ["WAIT_STATEMENT"]]}
147
        ]]}
148
      ]}
149
    ]}
150
  }