Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.69 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "c07s01b00x00p07n01i01808ent"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "c07s01b00x00p07n01i01808arch"], "entity" : ["IDENTIFIER", "c07s01b00x00p07n01i01808ent"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "POS"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "integer"]}
13
            }
14
          ]}
15
        , {
16
          "declaration" : ["SIGNAL_DECLARATION", {
17
            "names" : [["IDENTIFIER", "P1"]], "typ" : {
18
              "name" : ["SIMPLE_NAME", "integer"]}
19
            , "init_val" : ["EXPRESSION", {
20
              "args" : [["EXPRESSION", {
21
                "args" : [["EXPRESSION", {
22
                  "id" : "-", "args" : [["EXPRESSION", {
23
                    "args" : [["CONSTANT_VALUE", {
24
                      "value" : ["CST_LITERAL", "2"]}
25
                    ]]}
26
                  ]]}
27
                ]]}
28
              ]]}
29
            ]}
30
          ]}
31
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
32
          "id" : ["IDENTIFIER", "TESTING"], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
33
            "lhs" : ["SIMPLE_NAME", "POS"], "rhs" : [{
34
              "value" : ["EXPRESSION", {
35
                "args" : [["EXPRESSION", {
36
                  "args" : [["EXPRESSION", {
37
                    "args" : [["EXPRESSION", {
38
                      "id" : "abs", "args" : [["CALL", ["SIMPLE_NAME", "P1"]]]}
39
                    ]]}
40
                  ]]}
41
                ]]}
42
              ], "delay" : ["EXPRESSION", {
43
                "args" : [["EXPRESSION", {
44
                  "args" : [["EXPRESSION", {
45
                    "args" : [["EXPRESSION", {
46
                      "args" : [["CONSTANT_VALUE", {
47
                        "value" : ["CST_LITERAL", "20"], "unit_name" : ["SIMPLE_NAME", "ns"]}
48
                      ]]}
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", "POS"]]]}
64
                          ]]}
65
                        ]]}
66
                      ], ["EXPRESSION", {
67
                        "args" : [["EXPRESSION", {
68
                          "args" : [["EXPRESSION", {
69
                            "args" : [["CONSTANT_VALUE", {
70
                              "value" : ["CST_LITERAL", "2"]}
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: c07s01b00x00p07n01i01808\""]}
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", "POS"]]]}
108
                          ]]}
109
                        ]]}
110
                      ], ["EXPRESSION", {
111
                        "args" : [["EXPRESSION", {
112
                          "args" : [["EXPRESSION", {
113
                            "args" : [["CONSTANT_VALUE", {
114
                              "value" : ["CST_LITERAL", "2"]}
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: c07s01b00x00p07n01i01808 - abs Primary test failed.\""]}
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
  }