Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.61 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c08s04b00x00p06n01i01299ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c08s04b00x00p06n01i01299arch"], "entity" : ["IDENTIFIER", "c08s04b00x00p06n01i01299ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "X"]], "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", "5"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        , {
26
          "declaration" : ["SIGNAL_DECLARATION", {
27
            "names" : [["IDENTIFIER", "Y"]], "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", "3"]}
35
                    ]]}
36
                  ]]}
37
                ]]}
38
              ]]}
39
            ]}
40
          ]}
41
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
42
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
43
            "lhs" : ["SIMPLE_NAME", "Y"], "rhs" : [{
44
              "value" : ["EXPRESSION", {
45
                "args" : [["EXPRESSION", {
46
                  "args" : [["EXPRESSION", {
47
                    "args" : [["EXPRESSION", {
48
                      "args" : [["CALL", ["SIMPLE_NAME", "X"]]]}
49
                    ]]}
50
                  ]]}
51
                ]]}
52
              ]}
53
            ]}
54
          ], ["WAIT_STATEMENT"], ["ASSERTION_STATEMENT", {
55
            "cond" : ["EXPRESSION", {
56
              "args" : [["EXPRESSION", {
57
                "args" : [["EXPRESSION", {
58
                  "args" : [["EXPRESSION", {
59
                    "id" : "NOT", "args" : [["EXPRESSION", {
60
                      "id" : "=", "args" : [["EXPRESSION", {
61
                        "args" : [["EXPRESSION", {
62
                          "args" : [["EXPRESSION", {
63
                            "args" : [["CALL", ["SIMPLE_NAME", "Y"]]]}
64
                          ]]}
65
                        ]]}
66
                      ], ["EXPRESSION", {
67
                        "args" : [["EXPRESSION", {
68
                          "args" : [["EXPRESSION", {
69
                            "args" : [["CONSTANT_VALUE", {
70
                              "value" : ["CST_LITERAL", "5"]}
71
                            ]]}
72
                          ]]}
73
                        ]]}
74
                      ]]}
75
                    ]]}
76
                  ]]}
77
                ]]}
78
              ]]}
79
            ], "report" : ["EXPRESSION", {
80
              "args" : [["EXPRESSION", {
81
                "args" : [["EXPRESSION", {
82
                  "args" : [["EXPRESSION", {
83
                    "args" : [["CONSTANT_VALUE", {
84
                      "value" : ["CST_LITERAL", "\"***PASSED TEST: c08s04b00x00p06n01i01299\""]}
85
                    ]]}
86
                  ]]}
87
                ]]}
88
              ]]}
89
            ], "severity" : ["EXPRESSION", {
90
              "args" : [["EXPRESSION", {
91
                "args" : [["EXPRESSION", {
92
                  "args" : [["EXPRESSION", {
93
                    "args" : [["CALL", ["SIMPLE_NAME", "NOTE"]]]}
94
                  ]]}
95
                ]]}
96
              ]]}
97
            ]}
98
          ], ["ASSERTION_STATEMENT", {
99
            "cond" : ["EXPRESSION", {
100
              "args" : [["EXPRESSION", {
101
                "args" : [["EXPRESSION", {
102
                  "args" : [["EXPRESSION", {
103
                    "args" : [["EXPRESSION", {
104
                      "id" : "=", "args" : [["EXPRESSION", {
105
                        "args" : [["EXPRESSION", {
106
                          "args" : [["EXPRESSION", {
107
                            "args" : [["CALL", ["SIMPLE_NAME", "Y"]]]}
108
                          ]]}
109
                        ]]}
110
                      ], ["EXPRESSION", {
111
                        "args" : [["EXPRESSION", {
112
                          "args" : [["EXPRESSION", {
113
                            "args" : [["CONSTANT_VALUE", {
114
                              "value" : ["CST_LITERAL", "5"]}
115
                            ]]}
116
                          ]]}
117
                        ]]}
118
                      ]]}
119
                    ]]}
120
                  ]]}
121
                ]]}
122
              ]]}
123
            ], "report" : ["EXPRESSION", {
124
              "args" : [["EXPRESSION", {
125
                "args" : [["EXPRESSION", {
126
                  "args" : [["EXPRESSION", {
127
                    "args" : [["CONSTANT_VALUE", {
128
                      "value" : ["CST_LITERAL", "\"***FAILED TEST: c08s04b00x00p06n01i01299 - Signal assignment in a process block.\""]}
129
                    ]]}
130
                  ]]}
131
                ]]}
132
              ]]}
133
            ], "severity" : ["EXPRESSION", {
134
              "args" : [["EXPRESSION", {
135
                "args" : [["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["CALL", ["SIMPLE_NAME", "ERROR"]]]}
138
                  ]]}
139
                ]]}
140
              ]]}
141
            ]}
142
          ], ["WAIT_STATEMENT"]]}
143
        ]]}
144
      ]}
145
    ]}
146
  }