Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (5.18 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "test_bench_03_06"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test_cos_series"], "entity" : ["IDENTIFIER", "test_bench_03_06"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "theta"], ["IDENTIFIER", "result"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "real"]}
13
            , "init_val" : ["EXPRESSION", {
14
              "args" : [["EXPRESSION", {
15
                "args" : [["EXPRESSION", {
16
                  "args" : [["EXPRESSION", {
17
                    "args" : [["CONSTANT_VALUE", {
18
                      "value" : ["CST_LITERAL", "0.0"]}
19
                    ]]}
20
                  ]]}
21
                ]]}
22
              ]]}
23
            ]}
24
          ]}
25
        ], "ARCHITECTURE_STATEMENT_PART" : [["COMPONENT_INSTANTIATION_STATEMENT", {
26
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "cos"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "series"], "port_map" : [{
27
            "formal_name" : ["SIMPLE_NAME", "theta"], "actual_designator" : ["SIMPLE_NAME", "theta"]}
28
          , {
29
            "formal_name" : ["SIMPLE_NAME", "result"], "actual_designator" : ["SIMPLE_NAME", "result"]}
30
          ]}
31
        ], ["PROCESS_STATEMENT", {
32
          "id" : ["IDENTIFIER", "stimulus"], "PROCESS_DECLARATIVE_PART" : [{
33
            "declaration" : ["CONSTANT_DECLARATION", {
34
              "names" : [["IDENTIFIER", "pi"]], "typ" : {
35
                "name" : ["SIMPLE_NAME", "real"]}
36
              , "init_val" : ["EXPRESSION", {
37
                "args" : [["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["EXPRESSION", {
40
                      "args" : [["CONSTANT_VALUE", {
41
                        "value" : ["CST_LITERAL", "3.1415927"]}
42
                      ]]}
43
                    ]]}
44
                  ]]}
45
                ]]}
46
              ]}
47
            ]}
48
          ], "PROCESS_STATEMENT_PART" : [["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
49
            "lhs" : ["SIMPLE_NAME", "theta"], "rhs" : [{
50
              "value" : ["EXPRESSION", {
51
                "args" : [["EXPRESSION", {
52
                  "args" : [["EXPRESSION", {
53
                    "args" : [["EXPRESSION", {
54
                      "id" : "/", "args" : [["EXPRESSION", {
55
                        "args" : [["CALL", ["SIMPLE_NAME", "pi"]]]}
56
                      ], ["EXPRESSION", {
57
                        "args" : [["CONSTANT_VALUE", {
58
                          "value" : ["CST_LITERAL", "6.0"]}
59
                        ]]}
60
                      ]]}
61
                    ]]}
62
                  ]]}
63
                ]]}
64
              ]}
65
            ]}
66
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
67
            "lhs" : ["SIMPLE_NAME", "theta"], "rhs" : [{
68
              "value" : ["EXPRESSION", {
69
                "args" : [["EXPRESSION", {
70
                  "args" : [["EXPRESSION", {
71
                    "args" : [["EXPRESSION", {
72
                      "id" : "/", "args" : [["EXPRESSION", {
73
                        "args" : [["CALL", ["SIMPLE_NAME", "pi"]]]}
74
                      ], ["EXPRESSION", {
75
                        "args" : [["CONSTANT_VALUE", {
76
                          "value" : ["CST_LITERAL", "4.0"]}
77
                        ]]}
78
                      ]]}
79
                    ]]}
80
                  ]]}
81
                ]]}
82
              ]}
83
            ]}
84
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
85
            "lhs" : ["SIMPLE_NAME", "theta"], "rhs" : [{
86
              "value" : ["EXPRESSION", {
87
                "args" : [["EXPRESSION", {
88
                  "args" : [["EXPRESSION", {
89
                    "args" : [["EXPRESSION", {
90
                      "id" : "/", "args" : [["EXPRESSION", {
91
                        "args" : [["CALL", ["SIMPLE_NAME", "pi"]]]}
92
                      ], ["EXPRESSION", {
93
                        "args" : [["CONSTANT_VALUE", {
94
                          "value" : ["CST_LITERAL", "3.0"]}
95
                        ]]}
96
                      ]]}
97
                    ]]}
98
                  ]]}
99
                ]]}
100
              ]}
101
            ]}
102
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
103
            "lhs" : ["SIMPLE_NAME", "theta"], "rhs" : [{
104
              "value" : ["EXPRESSION", {
105
                "args" : [["EXPRESSION", {
106
                  "args" : [["EXPRESSION", {
107
                    "args" : [["EXPRESSION", {
108
                      "id" : "/", "args" : [["EXPRESSION", {
109
                        "args" : [["CALL", ["SIMPLE_NAME", "pi"]]]}
110
                      ], ["EXPRESSION", {
111
                        "args" : [["CONSTANT_VALUE", {
112
                          "value" : ["CST_LITERAL", "2.0"]}
113
                        ]]}
114
                      ]]}
115
                    ]]}
116
                  ]]}
117
                ]]}
118
              ]}
119
            ]}
120
          ], ["WAIT_STATEMENT"], ["WAIT_STATEMENT"]]}
121
        ]]}
122
      ]}
123
    ]}
124
  }