Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.88 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s04b00x00p06n01i01306ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s04b00x00p06n01i01306arch"], "entity" : ["IDENTIFIER", "c08s04b00x00p06n01i01306ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "S1"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "BIT"]}
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
          "definition" : ["TYPE_DECLARATION", {
27
            "name" : ["IDENTIFIER", "REC_1"], "definition" : ["RECORD_TYPE_DEFINITION", [{
28
              "names" : [["IDENTIFIER", "RE_1"]], "definition" : {
29
                "name" : ["SIMPLE_NAME", "BIT"]}
30
              }
31
            , {
32
              "names" : [["IDENTIFIER", "RE_2"]], "definition" : {
33
                "name" : ["SIMPLE_NAME", "INTEGER"]}
34
              }
35
            ]]}
36
          ]}
37
        , {
38
          "declaration" : ["SIGNAL_DECLARATION", {
39
            "names" : [["IDENTIFIER", "S3"]], "typ" : {
40
              "name" : ["SIMPLE_NAME", "REC_1"]}
41
            }
42
          ]}
43
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
44
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
45
            "lhs" : ["SELECTED_NAME", [["SIMPLE_NAME", "S3"], ["IDENTIFIER", "RE_1"]]], "rhs" : [{
46
              "value" : ["EXPRESSION", {
47
                "args" : [["EXPRESSION", {
48
                  "args" : [["EXPRESSION", {
49
                    "args" : [["EXPRESSION", {
50
                      "args" : [["CALL", ["SIMPLE_NAME", "S1"]]]}
51
                    ]]}
52
                  ]]}
53
                ]]}
54
              ]}
55
            ]}
56
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
57
            "cond" : ["EXPRESSION", {
58
              "args" : [["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "id" : "NOT", "args" : [["EXPRESSION", {
62
                      "id" : "=", "args" : [["EXPRESSION", {
63
                        "args" : [["EXPRESSION", {
64
                          "args" : [["EXPRESSION", {
65
                            "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "S3"], ["IDENTIFIER", "RE_1"]]]]]}
66
                          ]]}
67
                        ]]}
68
                      ], ["EXPRESSION", {
69
                        "args" : [["EXPRESSION", {
70
                          "args" : [["EXPRESSION", {
71
                            "args" : [["CONSTANT_VALUE", {
72
                              "value" : ["CST_LITERAL", "'1'"]}
73
                            ]]}
74
                          ]]}
75
                        ]]}
76
                      ]]}
77
                    ]]}
78
                  ]]}
79
                ]]}
80
              ]]}
81
            ], "report" : ["EXPRESSION", {
82
              "args" : [["EXPRESSION", {
83
                "args" : [["EXPRESSION", {
84
                  "args" : [["EXPRESSION", {
85
                    "args" : [["CONSTANT_VALUE", {
86
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s04b00x00p06n01i01306\""]}
87
                    ]]}
88
                  ]]}
89
                ]]}
90
              ]]}
91
            ], "severity" : ["EXPRESSION", {
92
              "args" : [["EXPRESSION", {
93
                "args" : [["EXPRESSION", {
94
                  "args" : [["EXPRESSION", {
95
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
96
                  ]]}
97
                ]]}
98
              ]]}
99
            ]}
100
          ], ["ASSERTION_STATEMENT", {
101
            "cond" : ["EXPRESSION", {
102
              "args" : [["EXPRESSION", {
103
                "args" : [["EXPRESSION", {
104
                  "args" : [["EXPRESSION", {
105
                    "args" : [["EXPRESSION", {
106
                      "id" : "=", "args" : [["EXPRESSION", {
107
                        "args" : [["EXPRESSION", {
108
                          "args" : [["EXPRESSION", {
109
                            "args" : [["CALL", ["SELECTED_NAME", [["SIMPLE_NAME", "S3"], ["IDENTIFIER", "RE_1"]]]]]}
110
                          ]]}
111
                        ]]}
112
                      ], ["EXPRESSION", {
113
                        "args" : [["EXPRESSION", {
114
                          "args" : [["EXPRESSION", {
115
                            "args" : [["CONSTANT_VALUE", {
116
                              "value" : ["CST_LITERAL", "'1'"]}
117
                            ]]}
118
                          ]]}
119
                        ]]}
120
                      ]]}
121
                    ]]}
122
                  ]]}
123
                ]]}
124
              ]]}
125
            ], "report" : ["EXPRESSION", {
126
              "args" : [["EXPRESSION", {
127
                "args" : [["EXPRESSION", {
128
                  "args" : [["EXPRESSION", {
129
                    "args" : [["CONSTANT_VALUE", {
130
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s04b00x00p06n01i01306 - A indexed name can be used on the left-hand side of a signal assignment.\""]}
131
                    ]]}
132
                  ]]}
133
                ]]}
134
              ]]}
135
            ], "severity" : ["EXPRESSION", {
136
              "args" : [["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
140
                  ]]}
141
                ]]}
142
              ]]}
143
            ]}
144
          ], ["WAIT_STATEMENT"]]}
145
        ]]}
146
      ]}
147
    ]}
148
  }