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_06.json @ 3fd18385

History | View | Annotate | Download (6.21 KB)

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