Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.22 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s04b01x00p02n01i01323ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s04b01x00p02n01i01323arch"], "entity" : ["IDENTIFIER", "c08s04b01x00p02n01i01323ent"], "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_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
27
            "lhs" : ["SIMPLE_NAME", "k"], "rhs" : [{
28
              "value" : ["EXPRESSION", {
29
                "args" : [["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["EXPRESSION", {
32
                      "args" : [["CONSTANT_VALUE", {
33
                        "value" : ["CST_LITERAL", "5"]}
34
                      ]]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]}
39
            ]}
40
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
41
            "cond" : ["EXPRESSION", {
42
              "args" : [["EXPRESSION", {
43
                "args" : [["EXPRESSION", {
44
                  "args" : [["EXPRESSION", {
45
                    "id" : "NOT", "args" : [["EXPRESSION", {
46
                      "id" : "=", "args" : [["EXPRESSION", {
47
                        "args" : [["EXPRESSION", {
48
                          "args" : [["EXPRESSION", {
49
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
50
                          ]]}
51
                        ]]}
52
                      ], ["EXPRESSION", {
53
                        "args" : [["EXPRESSION", {
54
                          "args" : [["EXPRESSION", {
55
                            "args" : [["CONSTANT_VALUE", {
56
                              "value" : ["CST_LITERAL", "5"]}
57
                            ]]}
58
                          ]]}
59
                        ]]}
60
                      ]]}
61
                    ]]}
62
                  ]]}
63
                ]]}
64
              ]]}
65
            ], "report" : ["EXPRESSION", {
66
              "args" : [["EXPRESSION", {
67
                "args" : [["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["CONSTANT_VALUE", {
70
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s04b01x00p02n01i01323\""]}
71
                    ]]}
72
                  ]]}
73
                ]]}
74
              ]]}
75
            ], "severity" : ["EXPRESSION", {
76
              "args" : [["EXPRESSION", {
77
                "args" : [["EXPRESSION", {
78
                  "args" : [["EXPRESSION", {
79
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
80
                  ]]}
81
                ]]}
82
              ]]}
83
            ]}
84
          ], ["ASSERTION_STATEMENT", {
85
            "cond" : ["EXPRESSION", {
86
              "args" : [["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "args" : [["EXPRESSION", {
90
                      "id" : "=", "args" : [["EXPRESSION", {
91
                        "args" : [["EXPRESSION", {
92
                          "args" : [["EXPRESSION", {
93
                            "args" : [["CALL", ["SIMPLE_NAME", "k"]]]}
94
                          ]]}
95
                        ]]}
96
                      ], ["EXPRESSION", {
97
                        "args" : [["EXPRESSION", {
98
                          "args" : [["EXPRESSION", {
99
                            "args" : [["CONSTANT_VALUE", {
100
                              "value" : ["CST_LITERAL", "5"]}
101
                            ]]}
102
                          ]]}
103
                        ]]}
104
                      ]]}
105
                    ]]}
106
                  ]]}
107
                ]]}
108
              ]]}
109
            ], "report" : ["EXPRESSION", {
110
              "args" : [["EXPRESSION", {
111
                "args" : [["EXPRESSION", {
112
                  "args" : [["EXPRESSION", {
113
                    "args" : [["CONSTANT_VALUE", {
114
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s04b01x00p02n01i01323 - waveform element in a signal assignment statement may either consist of a value expression and an after clause (optional)\""]}
115
                    ]]}
116
                  ]]}
117
                ]]}
118
              ]]}
119
            ], "severity" : ["EXPRESSION", {
120
              "args" : [["EXPRESSION", {
121
                "args" : [["EXPRESSION", {
122
                  "args" : [["EXPRESSION", {
123
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
124
                  ]]}
125
                ]]}
126
              ]]}
127
            ]}
128
          ], ["WAIT_STATEMENT"]]}
129
        ]]}
130
      ]}
131
    ]}
132
  }