Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.15 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s05b00x00p02n01i01354ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s05b00x00p02n01i01354arch"], "entity" : ["IDENTIFIER", "c08s05b00x00p02n01i01354ent"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
10
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_DECLARATIVE_PART" : [{
11
            "declaration" : ["VARIABLE_DECLARATION", {
12
              "names" : [["IDENTIFIER", "a"]], "typ" : {
13
                "name" : ["SIMPLE_NAME", "integer"]}
14
              , "init_val" : ["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["EXPRESSION", {
18
                      "args" : [["CONSTANT_VALUE", {
19
                        "value" : ["CST_LITERAL", "1"]}
20
                      ]]}
21
                    ]]}
22
                  ]]}
23
                ]]}
24
              ]}
25
            ]}
26
          ], "PROCESS_STATEMENT_PART" : [["VARIABLE_ASSIGNMENT_STATEMENT", {
27
            "lhs" : ["SIMPLE_NAME", "a"], "rhs" : ["EXPRESSION", {
28
              "args" : [["EXPRESSION", {
29
                "args" : [["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["CONSTANT_VALUE", {
32
                      "value" : ["CST_LITERAL", "10"]}
33
                    ]]}
34
                  ]]}
35
                ]]}
36
              ]]}
37
            ]}
38
          ], ["ASSERTION_STATEMENT", {
39
            "cond" : ["EXPRESSION", {
40
              "args" : [["EXPRESSION", {
41
                "args" : [["EXPRESSION", {
42
                  "args" : [["EXPRESSION", {
43
                    "id" : "NOT", "args" : [["EXPRESSION", {
44
                      "id" : "=", "args" : [["EXPRESSION", {
45
                        "args" : [["EXPRESSION", {
46
                          "args" : [["EXPRESSION", {
47
                            "args" : [["CALL", ["SIMPLE_NAME", "a"]]]}
48
                          ]]}
49
                        ]]}
50
                      ], ["EXPRESSION", {
51
                        "args" : [["EXPRESSION", {
52
                          "args" : [["EXPRESSION", {
53
                            "args" : [["CONSTANT_VALUE", {
54
                              "value" : ["CST_LITERAL", "10"]}
55
                            ]]}
56
                          ]]}
57
                        ]]}
58
                      ]]}
59
                    ]]}
60
                  ]]}
61
                ]]}
62
              ]]}
63
            ], "report" : ["EXPRESSION", {
64
              "args" : [["EXPRESSION", {
65
                "args" : [["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "args" : [["CONSTANT_VALUE", {
68
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s05b00x00p02n01i01354\""]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]]}
73
            ], "severity" : ["EXPRESSION", {
74
              "args" : [["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
78
                  ]]}
79
                ]]}
80
              ]]}
81
            ]}
82
          ], ["ASSERTION_STATEMENT", {
83
            "cond" : ["EXPRESSION", {
84
              "args" : [["EXPRESSION", {
85
                "args" : [["EXPRESSION", {
86
                  "args" : [["EXPRESSION", {
87
                    "args" : [["EXPRESSION", {
88
                      "id" : "=", "args" : [["EXPRESSION", {
89
                        "args" : [["EXPRESSION", {
90
                          "args" : [["EXPRESSION", {
91
                            "args" : [["CALL", ["SIMPLE_NAME", "a"]]]}
92
                          ]]}
93
                        ]]}
94
                      ], ["EXPRESSION", {
95
                        "args" : [["EXPRESSION", {
96
                          "args" : [["EXPRESSION", {
97
                            "args" : [["CONSTANT_VALUE", {
98
                              "value" : ["CST_LITERAL", "10"]}
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", "\"***FAILED TEST: c08s05b00x00p02n01i01354 - Target of a variable assignment can only be a name or an aggregate.\""]}
113
                    ]]}
114
                  ]]}
115
                ]]}
116
              ]]}
117
            ], "severity" : ["EXPRESSION", {
118
              "args" : [["EXPRESSION", {
119
                "args" : [["EXPRESSION", {
120
                  "args" : [["EXPRESSION", {
121
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
122
                  ]]}
123
                ]]}
124
              ]]}
125
            ]}
126
          ], ["WAIT_STATEMENT"]]}
127
        ]]}
128
      ]}
129
    ]}
130
  }