Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue143 / universal_conversion_tb.json @ 3fd18385

History | View | Annotate | Download (3.74 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "std"], ["SIMPLE_NAME", "textio"]]]]], ["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "universal_conversion_tb"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "universal_conversion_tb"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["CONSTANT_DECLARATION", {
11
            "names" : [["IDENTIFIER", "TEST_VAL"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "time"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "id" : "*", "args" : [["EXPRESSION", {
18
                      "id" : "/", "args" : [["EXPRESSION", {
19
                        "args" : [["CONSTANT_VALUE", {
20
                          "value" : ["CST_LITERAL", "1000.0"]}
21
                        ]]}
22
                      ], ["EXPRESSION", {
23
                        "args" : [["CONSTANT_VALUE", {
24
                          "value" : ["CST_LITERAL", "100"]}
25
                        ]]}
26
                      ]]}
27
                    ], ["EXPRESSION", {
28
                      "args" : [["CONSTANT_VALUE", {
29
                        "value" : ["CST_LITERAL", "1"], "unit_name" : ["SIMPLE_NAME", "ns"]}
30
                      ]]}
31
                    ]]}
32
                  ]]}
33
                ]]}
34
              ]]}
35
            ]}
36
          ]}
37
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
38
          "PROCESS_DECLARATIVE_PART" : [{
39
            "declaration" : ["VARIABLE_DECLARATION", {
40
              "names" : [["IDENTIFIER", "l"]], "typ" : {
41
                "name" : ["SIMPLE_NAME", "line"]}
42
              }
43
            ]}
44
          ], "PROCESS_STATEMENT_PART" : [["PROCEDURE_CALL_STATEMENT", {
45
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
46
              "actual_designator" : ["SIMPLE_NAME", "l"]}
47
            , {
48
              "actual_expr" : ["EXPRESSION", {
49
                "args" : [["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "args" : [["EXPRESSION", {
52
                      "args" : [["QUALIFIED_EXPRESSION", {
53
                        "type_mark" : ["SIMPLE_NAME", "string"], "expression" : ["EXPRESSION", {
54
                          "args" : [["EXPRESSION", {
55
                            "args" : [["EXPRESSION", {
56
                              "args" : [["EXPRESSION", {
57
                                "args" : [["CONSTANT_VALUE", {
58
                                  "value" : ["CST_LITERAL", "\"TEST_VAL = \""]}
59
                                ]]}
60
                              ]]}
61
                            ]]}
62
                          ]]}
63
                        ]}
64
                      ]]}
65
                    ]]}
66
                  ]]}
67
                ]]}
68
              ]}
69
            ]}
70
          ], ["PROCEDURE_CALL_STATEMENT", {
71
            "name" : ["IDENTIFIER", "write"], "assocs" : [{
72
              "actual_designator" : ["SIMPLE_NAME", "l"]}
73
            , {
74
              "actual_designator" : ["SIMPLE_NAME", "TEST_VAL"]}
75
            ]}
76
          ], ["PROCEDURE_CALL_STATEMENT", {
77
            "name" : ["IDENTIFIER", "writeline"], "assocs" : [{
78
              "actual_designator" : ["SIMPLE_NAME", "output"]}
79
            , {
80
              "actual_designator" : ["SIMPLE_NAME", "l"]}
81
            ]}
82
          ], ["WAIT_STATEMENT"]]}
83
        ]]}
84
      ]}
85
    ]}
86
  }