Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.4 KB)

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