Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / vhdl_json / vhdl_files / 2-exportOK / ghdl / ghdl / testsuite / gna / issue50 / idct.d / cmp_411.json @ 2051e520

History | View | Annotate | Download (3.23 KB)

1
{
2
  "DESIGN_FILE" : {
3
    "design_units" : [{
4
      "contexts" : [["LIBRARY_CLAUSE", [["IDENTIFIER", "ieee"]]], ["USE_CLAUSE", [["SELECTED_NAME", [["SIMPLE_NAME", "ieee"], ["SIMPLE_NAME", "std_logic_1164"]]]]]], "library" : ["ENTITY_DECLARATION", {
5
        "name" : ["IDENTIFIER", "cmp_411"], "ports" : [{
6
          "names" : [["IDENTIFIER", "eq"]], "mode" : ["out"], "typ" : {
7
            "name" : ["SIMPLE_NAME", "std_logic"]}
8
          }
9
        , {
10
          "names" : [["IDENTIFIER", "in0"]], "mode" : ["in"], "typ" : {
11
            "name" : ["SIMPLE_NAME", "std_logic"]}
12
          }
13
        , {
14
          "names" : [["IDENTIFIER", "in1"]], "mode" : ["in"], "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", "augh"], "entity" : ["IDENTIFIER", "cmp_411"], "ARCHITECTURE_DECLARATIVE_PART" : [{
22
          "declaration" : ["SIGNAL_DECLARATION", {
23
            "names" : [["IDENTIFIER", "tmp"]], "typ" : {
24
              "name" : ["SIMPLE_NAME", "std_logic"]}
25
            }
26
          ]}
27
        ], "ARCHITECTURE_STATEMENT_PART" : [["CONDITIONAL_SIGNAL_ASSIGNMENT", {
28
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "tmp"], "rhs" : [{
29
            "expr" : [{
30
              "value" : ["EXPRESSION", {
31
                "args" : [["EXPRESSION", {
32
                  "args" : [["EXPRESSION", {
33
                    "args" : [["EXPRESSION", {
34
                      "args" : [["CONSTANT_VALUE", {
35
                        "value" : ["CST_LITERAL", "'0'"]}
36
                      ]]}
37
                    ]]}
38
                  ]]}
39
                ]]}
40
              ]}
41
            ], "cond" : ["EXPRESSION", {
42
              "id" : "/=", "args" : [["EXPRESSION", {
43
                "args" : [["EXPRESSION", {
44
                  "args" : [["EXPRESSION", {
45
                    "args" : [["CALL", ["SIMPLE_NAME", "in0"]]]}
46
                  ]]}
47
                ]]}
48
              ], ["EXPRESSION", {
49
                "args" : [["EXPRESSION", {
50
                  "args" : [["EXPRESSION", {
51
                    "args" : [["CALL", ["SIMPLE_NAME", "in1"]]]}
52
                  ]]}
53
                ]]}
54
              ]]}
55
            ]}
56
          , {
57
            "expr" : [{
58
              "value" : ["EXPRESSION", {
59
                "args" : [["EXPRESSION", {
60
                  "args" : [["EXPRESSION", {
61
                    "args" : [["EXPRESSION", {
62
                      "args" : [["CONSTANT_VALUE", {
63
                        "value" : ["CST_LITERAL", "'1'"]}
64
                      ]]}
65
                    ]]}
66
                  ]]}
67
                ]]}
68
              ]}
69
            ]}
70
          ]}
71
        ], ["CONDITIONAL_SIGNAL_ASSIGNMENT", {
72
          "postponed" : false, "lhs" : ["SIMPLE_NAME", "eq"], "rhs" : [{
73
            "expr" : [{
74
              "value" : ["EXPRESSION", {
75
                "args" : [["EXPRESSION", {
76
                  "args" : [["EXPRESSION", {
77
                    "args" : [["EXPRESSION", {
78
                      "args" : [["CALL", ["SIMPLE_NAME", "tmp"]]]}
79
                    ]]}
80
                  ]]}
81
                ]]}
82
              ]}
83
            ]}
84
          ]}
85
        ]]}
86
      ]}
87
    ]}
88
  }