Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / cnes_guidelines / rule / data / STD_03700_good.json @ 2051e520

History | View | Annotate | Download (6.15 KB)

1 2051e520 Arnaud Dieumegard
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "IEEE"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "IEEE"], ["SIMPLE_NAME", "std_logic_1164"]]]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "IEEE"], ["SIMPLE_NAME", "numeric_std"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "STD_03700_good"], "ports" : [{
6
          "names" : [["IDENTIFIER", "i_Clock"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "i_Reset_Input_n"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "o_Main_Reset_n"]], "mode" : ["out"], "typ" : {
15
            "name" : ["SIMPLE_NAME", "std_logic"]}
16
          }
17
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
18
      ]}
19
    , {
20
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
21
        "name" : ["IDENTIFIER", "Behavioral"], "entity" : ["IDENTIFIER", "STD_03700_good"], "ARCHITECTURE_DECLARATIVE_PART" : [{
22
          "declaration" : ["SIGNAL_DECLARATION", {
23
            "names" : [["IDENTIFIER", "Main_Reset_n"]], "typ" : {
24
              "name" : ["SIMPLE_NAME", "std_logic"]}
25
            }
26
          ]}
27
        , {
28
          "declaration" : ["SIGNAL_DECLARATION", {
29
            "names" : [["IDENTIFIER", "Main_Reset_n_r"]], "typ" : {
30
              "name" : ["SIMPLE_NAME", "std_logic"]}
31
            }
32
          ]}
33
        ], "ARCHITECTURE_STATEMENT_PART" : [["PROCESS_STATEMENT", {
34
          "id" : ["IDENTIFIER", "P_Reset_Assert"], "active_sigs" : [["SIMPLE_NAME", "i_Reset_Input_n"], ["SIMPLE_NAME", "i_Clock"]], "PROCESS_STATEMENT_PART" : [["IF_STATEMENT", {
35
            "if_cases" : [{
36
              "if_cond" : ["EXPRESSION", {
37
                "args" : [["EXPRESSION", {
38
                  "args" : [["EXPRESSION", {
39
                    "args" : [["EXPRESSION", {
40
                      "args" : [["EXPRESSION", {
41
                        "id" : "=", "args" : [["EXPRESSION", {
42
                          "args" : [["EXPRESSION", {
43
                            "args" : [["EXPRESSION", {
44
                              "args" : [["CALL", ["SIMPLE_NAME", "i_Reset_Input_n"]]]}
45
                            ]]}
46
                          ]]}
47
                        ], ["EXPRESSION", {
48
                          "args" : [["EXPRESSION", {
49
                            "args" : [["EXPRESSION", {
50
                              "args" : [["CONSTANT_VALUE", {
51
                                "value" : ["CST_LITERAL", "'0'"]}
52
                              ]]}
53
                            ]]}
54
                          ]]}
55
                        ]]}
56
                      ]]}
57
                    ]]}
58
                  ]]}
59
                ]]}
60
              ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
61
                "lhs" : ["SIMPLE_NAME", "Main_Reset_n"], "rhs" : [{
62
                  "value" : ["EXPRESSION", {
63
                    "args" : [["EXPRESSION", {
64
                      "args" : [["EXPRESSION", {
65
                        "args" : [["EXPRESSION", {
66
                          "args" : [["CONSTANT_VALUE", {
67
                            "value" : ["CST_LITERAL", "'0'"]}
68
                          ]]}
69
                        ]]}
70
                      ]]}
71
                    ]]}
72
                  ]}
73
                ]}
74
              ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
75
                "lhs" : ["SIMPLE_NAME", "Main_Reset_n_r"], "rhs" : [{
76
                  "value" : ["EXPRESSION", {
77
                    "args" : [["EXPRESSION", {
78
                      "args" : [["EXPRESSION", {
79
                        "args" : [["EXPRESSION", {
80
                          "args" : [["CONSTANT_VALUE", {
81
                            "value" : ["CST_LITERAL", "'0'"]}
82
                          ]]}
83
                        ]]}
84
                      ]]}
85
                    ]]}
86
                  ]}
87
                ]}
88
              ]]}
89
            , {
90
              "if_cond" : ["EXPRESSION", {
91
                "args" : [["EXPRESSION", {
92
                  "args" : [["EXPRESSION", {
93
                    "args" : [["EXPRESSION", {
94
                      "args" : [["CALL", ["FUNCTION_CALL", {
95
                        "id" : ["SIMPLE_NAME", "rising_edge"], "assoc_list" : [{
96
                          "actual_designator" : ["SIMPLE_NAME", "i_Clock"]}
97
                        ]}
98
                      ]]]}
99
                    ]]}
100
                  ]]}
101
                ]]}
102
              ], "if_block" : [["SIGNAL_ASSIGNMENT_STATEMENT", {
103
                "lhs" : ["SIMPLE_NAME", "Main_Reset_n"], "rhs" : [{
104
                  "value" : ["EXPRESSION", {
105
                    "args" : [["EXPRESSION", {
106
                      "args" : [["EXPRESSION", {
107
                        "args" : [["EXPRESSION", {
108
                          "args" : [["CONSTANT_VALUE", {
109
                            "value" : ["CST_LITERAL", "'1'"]}
110
                          ]]}
111
                        ]]}
112
                      ]]}
113
                    ]]}
114
                  ]}
115
                ]}
116
              ], ["SIGNAL_ASSIGNMENT_STATEMENT", {
117
                "lhs" : ["SIMPLE_NAME", "Main_Reset_n_r"], "rhs" : [{
118
                  "value" : ["EXPRESSION", {
119
                    "args" : [["EXPRESSION", {
120
                      "args" : [["EXPRESSION", {
121
                        "args" : [["EXPRESSION", {
122
                          "args" : [["CALL", ["SIMPLE_NAME", "Main_Reset_n"]]]}
123
                        ]]}
124
                      ]]}
125
                    ]]}
126
                  ]}
127
                ]}
128
              ]]}
129
            ]}
130
          ]]}
131
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
132
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "o_Main_Reset_n"], "rhs" : [{
133
            "expr" : [{
134
              "value" : ["EXPRESSION", {
135
                "args" : [["EXPRESSION", {
136
                  "args" : [["EXPRESSION", {
137
                    "args" : [["EXPRESSION", {
138
                      "args" : [["CALL", ["SIMPLE_NAME", "Main_Reset_n_r"]]]}
139
                    ]]}
140
                  ]]}
141
                ]]}
142
              ]}
143
            ]}
144
          ]}
145
        ]]}
146
      ]}
147
    ]}
148
  }