Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.55 KB)

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