Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.57 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "tb_05_03"], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
6
      ]}
7
    , {
8
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
9
        "name" : ["IDENTIFIER", "test"], "entity" : ["IDENTIFIER", "tb_05_03"], "ARCHITECTURE_DECLARATIVE_PART" : [{
10
          "declaration" : ["SIGNAL_DECLARATION", {
11
            "names" : [["IDENTIFIER", "D"], ["IDENTIFIER", "clk"], ["IDENTIFIER", "clr"], ["IDENTIFIER", "Q"]], "typ" : {
12
              "name" : ["SIMPLE_NAME", "bit"]}
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" : [["COMPONENT_INSTANTIATION_STATEMENT", {
26
          "name" : ["IDENTIFIER", "dut"], "inst_unit" : ["SELECTED_NAME", [["SIMPLE_NAME", "work"], ["IDENTIFIER", "edge_triggered_Dff"]]], "inst_unit_type" : "entity", "archi_name" : ["IDENTIFIER", "behavioral"], "port_map" : [{
27
            "formal_name" : ["SIMPLE_NAME", "D"], "actual_designator" : ["SIMPLE_NAME", "D"]}
28
          , {
29
            "formal_name" : ["SIMPLE_NAME", "clk"], "actual_designator" : ["SIMPLE_NAME", "clk"]}
30
          , {
31
            "formal_name" : ["SIMPLE_NAME", "clr"], "actual_designator" : ["SIMPLE_NAME", "clr"]}
32
          , {
33
            "formal_name" : ["SIMPLE_NAME", "Q"], "actual_designator" : ["SIMPLE_NAME", "Q"]}
34
          ]}
35
        ], ["PROCESS_STATEMENT", {
36
          "id" : ["IDENTIFIER", "stimulus"], "PROCESS_STATEMENT_PART" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
37
            "lhs" : ["SIMPLE_NAME", "D"], "rhs" : [{
38
              "value" : ["EXPRESSION", {
39
                "args" : [["EXPRESSION", {
40
                  "args" : [["EXPRESSION", {
41
                    "args" : [["EXPRESSION", {
42
                      "args" : [["CONSTANT_VALUE", {
43
                        "value" : ["CST_LITERAL", "'1'"]}
44
                      ]]}
45
                    ]]}
46
                  ]]}
47
                ]]}
48
              ]}
49
            ]}
50
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
51
            "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
52
              "value" : ["EXPRESSION", {
53
                "args" : [["EXPRESSION", {
54
                  "args" : [["EXPRESSION", {
55
                    "args" : [["EXPRESSION", {
56
                      "args" : [["CONSTANT_VALUE", {
57
                        "value" : ["CST_LITERAL", "'1'"]}
58
                      ]]}
59
                    ]]}
60
                  ]]}
61
                ]]}
62
              ]}
63
            ]}
64
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
65
            "lhs" : ["SIMPLE_NAME", "D"], "rhs" : [{
66
              "value" : ["EXPRESSION", {
67
                "args" : [["EXPRESSION", {
68
                  "args" : [["EXPRESSION", {
69
                    "args" : [["EXPRESSION", {
70
                      "args" : [["CONSTANT_VALUE", {
71
                        "value" : ["CST_LITERAL", "'0'"]}
72
                      ]]}
73
                    ]]}
74
                  ]]}
75
                ]]}
76
              ]}
77
            ]}
78
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
79
            "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
80
              "value" : ["EXPRESSION", {
81
                "args" : [["EXPRESSION", {
82
                  "args" : [["EXPRESSION", {
83
                    "args" : [["EXPRESSION", {
84
                      "args" : [["CONSTANT_VALUE", {
85
                        "value" : ["CST_LITERAL", "'0'"]}
86
                      ]]}
87
                    ]]}
88
                  ]]}
89
                ]]}
90
              ]}
91
            ]}
92
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
93
            "lhs" : ["SIMPLE_NAME", "D"], "rhs" : [{
94
              "value" : ["EXPRESSION", {
95
                "args" : [["EXPRESSION", {
96
                  "args" : [["EXPRESSION", {
97
                    "args" : [["EXPRESSION", {
98
                      "args" : [["CONSTANT_VALUE", {
99
                        "value" : ["CST_LITERAL", "'1'"]}
100
                      ]]}
101
                    ]]}
102
                  ]]}
103
                ]]}
104
              ]}
105
            ]}
106
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
107
            "lhs" : ["SIMPLE_NAME", "clr"], "rhs" : [{
108
              "value" : ["EXPRESSION", {
109
                "args" : [["EXPRESSION", {
110
                  "args" : [["EXPRESSION", {
111
                    "args" : [["EXPRESSION", {
112
                      "args" : [["CONSTANT_VALUE", {
113
                        "value" : ["CST_LITERAL", "'1'"]}
114
                      ]]}
115
                    ]]}
116
                  ]]}
117
                ]]}
118
              ]}
119
            ]}
120
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
121
            "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
122
              "value" : ["EXPRESSION", {
123
                "args" : [["EXPRESSION", {
124
                  "args" : [["EXPRESSION", {
125
                    "args" : [["EXPRESSION", {
126
                      "args" : [["CONSTANT_VALUE", {
127
                        "value" : ["CST_LITERAL", "'1'"]}
128
                      ]]}
129
                    ]]}
130
                  ]]}
131
                ]]}
132
              ]}
133
            ]}
134
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
135
            "lhs" : ["SIMPLE_NAME", "clr"], "rhs" : [{
136
              "value" : ["EXPRESSION", {
137
                "args" : [["EXPRESSION", {
138
                  "args" : [["EXPRESSION", {
139
                    "args" : [["EXPRESSION", {
140
                      "args" : [["CONSTANT_VALUE", {
141
                        "value" : ["CST_LITERAL", "'0'"]}
142
                      ]]}
143
                    ]]}
144
                  ]]}
145
                ]]}
146
              ]}
147
            ]}
148
          ], ["WAIT_STATEMENT"], ["SIGNAL_ASSIGNMENT_STATEMENT", {
149
            "lhs" : ["SIMPLE_NAME", "clk"], "rhs" : [{
150
              "value" : ["EXPRESSION", {
151
                "args" : [["EXPRESSION", {
152
                  "args" : [["EXPRESSION", {
153
                    "args" : [["EXPRESSION", {
154
                      "args" : [["CONSTANT_VALUE", {
155
                        "value" : ["CST_LITERAL", "'0'"]}
156
                      ]]}
157
                    ]]}
158
                  ]]}
159
                ]]}
160
              ]}
161
            ]}
162
          ], ["WAIT_STATEMENT"], ["WAIT_STATEMENT"]]}
163
        ]]}
164
      ]}
165
    ]}
166
  }