Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.1 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", "CNE_05200_good"], "ports" : [{
6
          "names" : [["IDENTIFIER", "i_A"]], "mode" : ["in"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "i_B"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "i_S"]], "mode" : ["in"], "typ" : {
15
            "name" : ["SIMPLE_NAME", "std_logic"]}
16
          }
17
        , {
18
          "names" : [["IDENTIFIER", "o_O"]], "mode" : ["out"], "typ" : {
19
            "name" : ["SIMPLE_NAME", "std_logic"]}
20
          }
21
        ], "ENTITY_DECLARATIVE_PART" : [], "ENTITY_STATEMENT_PART" : []}
22
      ]}
23
    , {
24
      "contexts" : [], "library" : ["ARCHITECTURE_BODY", {
25
        "name" : ["IDENTIFIER", "Behavioral"], "entity" : ["IDENTIFIER", "CNE_05200_good"], "ARCHITECTURE_DECLARATIVE_PART" : [], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
26
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "o_O"], "rhs" : [{
27
            "expr" : [{
28
              "value" : ["EXPRESSION", {
29
                "args" : [["EXPRESSION", {
30
                  "args" : [["EXPRESSION", {
31
                    "args" : [["EXPRESSION", {
32
                      "args" : [["CALL", ["SIMPLE_NAME", "i_A"]]]}
33
                    ]]}
34
                  ]]}
35
                ]]}
36
              ]}
37
            ], "cond" : ["EXPRESSION", {
38
              "args" : [["EXPRESSION", {
39
                "args" : [["EXPRESSION", {
40
                  "args" : [["EXPRESSION", {
41
                    "args" : [["EXPRESSION", {
42
                      "id" : "=", "args" : [["EXPRESSION", {
43
                        "args" : [["EXPRESSION", {
44
                          "args" : [["EXPRESSION", {
45
                            "args" : [["CALL", ["SIMPLE_NAME", "i_S"]]]}
46
                          ]]}
47
                        ]]}
48
                      ], ["EXPRESSION", {
49
                        "args" : [["EXPRESSION", {
50
                          "args" : [["EXPRESSION", {
51
                            "args" : [["CONSTANT_VALUE", {
52
                              "value" : ["CST_LITERAL", "'0'"]}
53
                            ]]}
54
                          ]]}
55
                        ]]}
56
                      ]]}
57
                    ]]}
58
                  ]]}
59
                ]]}
60
              ]]}
61
            ]}
62
          , {
63
            "expr" : [{
64
              "value" : ["EXPRESSION", {
65
                "args" : [["EXPRESSION", {
66
                  "args" : [["EXPRESSION", {
67
                    "args" : [["EXPRESSION", {
68
                      "args" : [["CALL", ["SIMPLE_NAME", "i_B"]]]}
69
                    ]]}
70
                  ]]}
71
                ]]}
72
              ]}
73
            ]}
74
          ]}
75
        ]]}
76
      ]}
77
    ]}
78
  }