Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.46 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
5
        "name" : ["IDENTIFIER", "behavioral"], "entity" : ["IDENTIFIER", "synch_sr_ff"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
6
          "id" : ["IDENTIFIER", "behavior"], "PROCESS_DECLARATIVE_PART" : [{
7
            "declaration" : ["CONSTANT_DECLARATION", {
8
              "names" : [["IDENTIFIER", "Tpd_clk_out"]], "typ" : {
9
                "name" : ["SIMPLE_NAME", "time"]}
10
              , "init_val" : ["EXPRESSION", {
11
                "args" : [["EXPRESSION", {
12
                  "args" : [["EXPRESSION", {
13
                    "args" : [["EXPRESSION", {
14
                      "args" : [["CONSTANT_VALUE", {
15
                        "value" : ["CST_LITERAL", "3"], "unit_name" : ["SIMPLE_NAME", "ns"]}
16
                      ]]}
17
                    ]]}
18
                  ]]}
19
                ]]}
20
              ]}
21
            ]}
22
          ], "active_sigs" : [["SIMPLE_NAME", "clk"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
23
            "if_cases" : [{
24
              "if_cond" : ["EXPRESSION", {
25
                "args" : [["EXPRESSION", {
26
                  "args" : [["EXPRESSION", {
27
                    "args" : [["EXPRESSION", {
28
                      "args" : [["CALL", ["INDEXED_NAME", {
29
                        "id" : ["SIMPLE_NAME", "rising_edge"], "exprs" : [["EXPRESSION", {
30
                          "args" : [["EXPRESSION", {
31
                            "args" : [["EXPRESSION", {
32
                              "args" : [["EXPRESSION", {
33
                                "args" : [["CALL", ["SIMPLE_NAME", "clk"]]]}
34
                              ]]}
35
                            ]]}
36
                          ]]}
37
                        ]]}
38
                      ]]]}
39
                    ]]}
40
                  ]]}
41
                ]]}
42
              ], "if_block" : [["IF_STATEMENT", {
43
                "if_cases" : [{
44
                  "if_cond" : ["EXPRESSION", {
45
                    "id" : "=", "args" : [["EXPRESSION", {
46
                      "args" : [["EXPRESSION", {
47
                        "args" : [["EXPRESSION", {
48
                          "args" : [["CALL", ["INDEXED_NAME", {
49
                            "id" : ["SIMPLE_NAME", "To_X01"], "exprs" : [["EXPRESSION", {
50
                              "args" : [["EXPRESSION", {
51
                                "args" : [["EXPRESSION", {
52
                                  "args" : [["EXPRESSION", {
53
                                    "args" : [["CALL", ["SIMPLE_NAME", "clr"]]]}
54
                                  ]]}
55
                                ]]}
56
                              ]]}
57
                            ]]}
58
                          ]]]}
59
                        ]]}
60
                      ]]}
61
                    ], ["EXPRESSION", {
62
                      "args" : [["EXPRESSION", {
63
                        "args" : [["EXPRESSION", {
64
                          "args" : [["CONSTANT_VALUE", {
65
                            "value" : ["CST_LITERAL", "'1'"]}
66
                          ]]}
67
                        ]]}
68
                      ]]}
69
                    ]]}
70
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
71
                    "lhs" : ["SIMPLE_NAME", "q"], "rhs" : [{
72
                      "value" : ["EXPRESSION", {
73
                        "args" : [["EXPRESSION", {
74
                          "args" : [["EXPRESSION", {
75
                            "args" : [["EXPRESSION", {
76
                              "args" : [["CONSTANT_VALUE", {
77
                                "value" : ["CST_LITERAL", "'0'"]}
78
                              ]]}
79
                            ]]}
80
                          ]]}
81
                        ]]}
82
                      ], "delay" : ["EXPRESSION", {
83
                        "args" : [["EXPRESSION", {
84
                          "args" : [["EXPRESSION", {
85
                            "args" : [["EXPRESSION", {
86
                              "args" : [["CALL", ["SIMPLE_NAME", "Tpd_clk_out"]]]}
87
                            ]]}
88
                          ]]}
89
                        ]]}
90
                      ]}
91
                    ]}
92
                  ]]}
93
                , {
94
                  "if_cond" : ["EXPRESSION", {
95
                    "id" : "=", "args" : [["EXPRESSION", {
96
                      "args" : [["EXPRESSION", {
97
                        "args" : [["EXPRESSION", {
98
                          "args" : [["CALL", ["INDEXED_NAME", {
99
                            "id" : ["SIMPLE_NAME", "To_X01"], "exprs" : [["EXPRESSION", {
100
                              "args" : [["EXPRESSION", {
101
                                "args" : [["EXPRESSION", {
102
                                  "args" : [["EXPRESSION", {
103
                                    "args" : [["CALL", ["SIMPLE_NAME", "set"]]]}
104
                                  ]]}
105
                                ]]}
106
                              ]]}
107
                            ]]}
108
                          ]]]}
109
                        ]]}
110
                      ]]}
111
                    ], ["EXPRESSION", {
112
                      "args" : [["EXPRESSION", {
113
                        "args" : [["EXPRESSION", {
114
                          "args" : [["CONSTANT_VALUE", {
115
                            "value" : ["CST_LITERAL", "'1'"]}
116
                          ]]}
117
                        ]]}
118
                      ]]}
119
                    ]]}
120
                  ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
121
                    "lhs" : ["SIMPLE_NAME", "q"], "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
                      ], "delay" : ["EXPRESSION", {
133
                        "args" : [["EXPRESSION", {
134
                          "args" : [["EXPRESSION", {
135
                            "args" : [["EXPRESSION", {
136
                              "args" : [["CALL", ["SIMPLE_NAME", "Tpd_clk_out"]]]}
137
                            ]]}
138
                          ]]}
139
                        ]]}
140
                      ]}
141
                    ]}
142
                  ]]}
143
                ]}
144
              ]]}
145
            ]}
146
          ]]}
147
        ]]}
148
      ]}
149
    ]}
150
  }